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();
}
}
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();
}
}
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();
}
}
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();
}
}
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();
}
}
Aggregations