Classes | |
class | DecrementAction |
class | IncrementAction |
Public Member Functions | |
RWCommonComparablePropertyImpl (Class propertyType, String name, CharacteristicComponentImpl parentComponent) throws PropertyInitializationFailed | |
RWCommonComparablePropertyImpl (Class propertyType, String name, CharacteristicComponentImpl parentComponent, DataAccess dataAccess) throws PropertyInitializationFailed | |
void | readCharacteristics () throws PropertyInitializationFailed |
void | increment (CBvoid callback, CBDescIn desc) |
void | decrement (CBvoid callback, CBDescIn desc) |
Protected Member Functions | |
Completion | incrementImpl () throws AcsJException |
Completion | decrementImpl () throws AcsJException |
Protected Attributes | |
Object | minValue |
Object | maxValue |
Implementation of read-write common comparable property, i.e. type of java.lang.Object
.
alma.ACS.impl.RWCommonComparablePropertyImpl.RWCommonComparablePropertyImpl | ( | Class | propertyType, | |
String | name, | |||
CharacteristicComponentImpl | parentComponent | |||
) | throws PropertyInitializationFailed |
Constructor with memory data access.
propertyType | property Class type, non-null . | |
name | property name, non-null . | |
parentComponent | parent component, non-null . |
PropertyInitializationFailed | exception is thrown on failure |
References alma.ACS.impl.PropertyImpl.parentComponent, and alma.ACS.impl.CommonPropertyImpl.propertyType.
alma.ACS.impl.RWCommonComparablePropertyImpl.RWCommonComparablePropertyImpl | ( | Class | propertyType, | |
String | name, | |||
CharacteristicComponentImpl | parentComponent, | |||
DataAccess | dataAccess | |||
) | throws PropertyInitializationFailed |
Constructor.
propertyType | property Class type, non-null . | |
name | property name, non-null . | |
parentComponent | parent component, non-null . | |
dataAccess | read-write data access to be use, non-null . |
PropertyInitializationFailed | exception is thrown on failure |
References alma.ACS.impl.CommonPropertyImpl.dataAccess, alma.ACS.impl.PropertyImpl.name(), alma.ACS.impl.PropertyImpl.parentComponent, and alma.ACS.impl.CommonPropertyImpl.propertyType.
void alma.ACS.impl.RWCommonComparablePropertyImpl.decrement | ( | CBvoid | callback, | |
CBDescIn | desc | |||
) |
Completion alma.ACS.impl.RWCommonComparablePropertyImpl.decrementImpl | ( | ) | throws AcsJException [protected] |
Decrement action implementation.
AcsJException | thown on any failure. |
References alma.ACS.impl.CommonPropertyImpl.getSync(), alma.ACS.impl.CommonComparablePropertyImpl.minStep, alma.ACS.impl.CommonPropertyImpl.setSync(), and alma.ACS.impl.CommonComparablePropertyImpl.sum().
Referenced by alma.ACS.impl.RWCommonComparablePropertyImpl.DecrementAction.execute().
void alma.ACS.impl.RWCommonComparablePropertyImpl.increment | ( | CBvoid | callback, | |
CBDescIn | desc | |||
) |
Completion alma.ACS.impl.RWCommonComparablePropertyImpl.incrementImpl | ( | ) | throws AcsJException [protected] |
Increment action implementation.
AcsJException | thown on any failure. |
References alma.ACS.impl.CommonPropertyImpl.getSync(), alma.ACS.impl.CommonComparablePropertyImpl.minStep, alma.ACS.impl.CommonPropertyImpl.setSync(), and alma.ACS.impl.CommonComparablePropertyImpl.sum().
Referenced by alma.ACS.impl.RWCommonComparablePropertyImpl.IncrementAction.execute().
void alma.ACS.impl.RWCommonComparablePropertyImpl.readCharacteristics | ( | ) | throws PropertyInitializationFailed |
Read property characteristics.
PropertyInitializationFailed | exception is thrown on failure |
Reimplemented from alma.ACS.impl.CommonComparablePropertyImpl.
References alma.ACS.impl.RWCommonComparablePropertyImpl.maxValue, alma.ACS.impl.RWCommonComparablePropertyImpl.minValue, and alma.ACS.impl.CommonPropertyImpl.readPropertyTypeCharacteristic().
Object alma.ACS.impl.RWCommonComparablePropertyImpl.maxValue [protected] |
Max value.
Referenced by alma.ACS.impl.RWuLongLongImpl.max_value(), alma.ACS.impl.RWlongSeqImpl.max_value(), alma.ACS.impl.RWlongLongImpl.max_value(), alma.ACS.impl.RWlongImpl.max_value(), alma.ACS.impl.RWfloatSeqImpl.max_value(), alma.ACS.impl.RWfloatImpl.max_value(), alma.ACS.impl.RWdoubleSeqImpl.max_value(), alma.ACS.impl.RWdoubleImpl.max_value(), and alma.ACS.impl.RWCommonComparablePropertyImpl.readCharacteristics().
Object alma.ACS.impl.RWCommonComparablePropertyImpl.minValue [protected] |
Min value.
Referenced by alma.ACS.impl.RWuLongLongImpl.min_value(), alma.ACS.impl.RWlongSeqImpl.min_value(), alma.ACS.impl.RWlongLongImpl.min_value(), alma.ACS.impl.RWlongImpl.min_value(), alma.ACS.impl.RWfloatSeqImpl.min_value(), alma.ACS.impl.RWfloatImpl.min_value(), alma.ACS.impl.RWdoubleSeqImpl.min_value(), alma.ACS.impl.RWdoubleImpl.min_value(), and alma.ACS.impl.RWCommonComparablePropertyImpl.readCharacteristics().