Search in sources :

Example 1 with Condition

use of alma.ACS.Condition in project ACS by ACS-Community.

the class CommonROEnumPropertyImpl method condition.

/* (non-Javadoc)
	 */
public Condition[] condition() {
    try {
        int[] temp = characteristicModelImpl.getIntegerSeq("condition");
        Condition[] ret = new Condition[temp.length];
        for (int i = 0; i < temp.length; i++) ret[i] = Condition.from_int(temp[i]);
        return ret;
    } catch (NoSuchCharacteristic e) {
        throw new NO_RESOURCES();
    }
}
Also used : Condition(alma.ACS.Condition) NoSuchCharacteristic(alma.ACS.NoSuchCharacteristic) NO_RESOURCES(org.omg.CORBA.NO_RESOURCES)

Example 2 with Condition

use of alma.ACS.Condition in project ACS by ACS-Community.

the class ROpatternImpl method whenSet.

/**
	 * @see alma.ACS.PpatternOperations#whenSet()
	 */
public Condition[] whenSet() {
    try {
        int[] values = characteristicModelImpl.getIntegerSeq("whenSet");
        Condition[] conditions = new Condition[values.length];
        for (int i = 0; i < conditions.length; i++) conditions[i] = Condition.from_int(values[i]);
        return conditions;
    } catch (NoSuchCharacteristic ncs) {
        throw new NO_RESOURCES();
    }
}
Also used : Condition(alma.ACS.Condition) NoSuchCharacteristic(alma.ACS.NoSuchCharacteristic) NO_RESOURCES(org.omg.CORBA.NO_RESOURCES)

Example 3 with Condition

use of alma.ACS.Condition in project ACS by ACS-Community.

the class RWpatternImpl method whenCleared.

/**
	 * @see alma.ACS.PpatternOperations#whenCleared()
	 */
public Condition[] whenCleared() {
    try {
        int[] values = characteristicModelImpl.getIntegerSeq("whenCleared");
        Condition[] conditions = new Condition[values.length];
        for (int i = 0; i < conditions.length; i++) conditions[i] = Condition.from_int(values[i]);
        return conditions;
    } catch (NoSuchCharacteristic ncs) {
        throw new NO_RESOURCES();
    }
}
Also used : Condition(alma.ACS.Condition) NoSuchCharacteristic(alma.ACS.NoSuchCharacteristic) NO_RESOURCES(org.omg.CORBA.NO_RESOURCES)

Example 4 with Condition

use of alma.ACS.Condition in project ACS by ACS-Community.

the class ROpatternImpl method whenCleared.

/**
	 * @see alma.ACS.PpatternOperations#whenCleared()
	 */
public Condition[] whenCleared() {
    try {
        int[] values = characteristicModelImpl.getIntegerSeq("whenCleared");
        Condition[] conditions = new Condition[values.length];
        for (int i = 0; i < conditions.length; i++) conditions[i] = Condition.from_int(values[i]);
        return conditions;
    } catch (NoSuchCharacteristic ncs) {
        throw new NO_RESOURCES();
    }
}
Also used : Condition(alma.ACS.Condition) NoSuchCharacteristic(alma.ACS.NoSuchCharacteristic) NO_RESOURCES(org.omg.CORBA.NO_RESOURCES)

Example 5 with Condition

use of alma.ACS.Condition in project ACS by ACS-Community.

the class RWpatternImpl method whenSet.

/**
	 * @see alma.ACS.PpatternOperations#whenSet()
	 */
public Condition[] whenSet() {
    try {
        int[] values = characteristicModelImpl.getIntegerSeq("whenSet");
        Condition[] conditions = new Condition[values.length];
        for (int i = 0; i < conditions.length; i++) conditions[i] = Condition.from_int(values[i]);
        return conditions;
    } catch (NoSuchCharacteristic ncs) {
        throw new NO_RESOURCES();
    }
}
Also used : Condition(alma.ACS.Condition) NoSuchCharacteristic(alma.ACS.NoSuchCharacteristic) NO_RESOURCES(org.omg.CORBA.NO_RESOURCES)

Aggregations

Condition (alma.ACS.Condition)5 NoSuchCharacteristic (alma.ACS.NoSuchCharacteristic)5 NO_RESOURCES (org.omg.CORBA.NO_RESOURCES)5