alma::ACS::impl::RWCommonComparablePropertyImpl Class Reference

Inheritance diagram for alma::ACS::impl::RWCommonComparablePropertyImpl:
Inheritance graph
[legend]
Collaboration diagram for alma::ACS::impl::RWCommonComparablePropertyImpl:
Collaboration graph
[legend]

List of all members.

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

Detailed Description

Implementation of read-write common comparable property, i.e. type of java.lang.Object.

Author:
Matej Sekoranja
Version:
$id$

Constructor & Destructor Documentation

alma::ACS::impl::RWCommonComparablePropertyImpl::RWCommonComparablePropertyImpl ( Class  propertyType,
String  name,
CharacteristicComponentImpl  parentComponent 
) throws PropertyInitializationFailed [inline]

Constructor with memory data access.

Parameters:
propertyType property Class type, non-null.
name property name, non-null.
parentComponent parent component, non-null.
Exceptions:
PropertyInitializationFailed exception is thrown on failure

References alma::ACS::impl::PropertyImpl::name(), 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 [inline]

Constructor.

Parameters:
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.
Exceptions:
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.


Member Function Documentation

void alma::ACS::impl::RWCommonComparablePropertyImpl::decrement ( CBvoid  callback,
CBDescIn  desc 
) [inline]
See also:
alma.ACS.RW<type>Operations::decrement(alma.ACS.CBvoid, alma.ACS.CBDescIn)
Completion alma::ACS::impl::RWCommonComparablePropertyImpl::decrementImpl (  )  throws AcsJException [inline, protected]
void alma::ACS::impl::RWCommonComparablePropertyImpl::increment ( CBvoid  callback,
CBDescIn  desc 
) [inline]
See also:
alma.ACS.RW<type>Operations::increment(alma.ACS.CBvoid, alma.ACS.CBDescIn)
Completion alma::ACS::impl::RWCommonComparablePropertyImpl::incrementImpl (  )  throws AcsJException [inline, protected]
void alma::ACS::impl::RWCommonComparablePropertyImpl::readCharacteristics (  )  throws PropertyInitializationFailed [inline]

Read property characteristics.

Exceptions:
PropertyInitializationFailed exception is thrown on failure

Reimplemented from alma::ACS::impl::CommonComparablePropertyImpl.

References maxValue, minValue, and alma::ACS::impl::CommonPropertyImpl::readPropertyTypeCharacteristic().


Member Data Documentation


The documentation for this class was generated from the following file:

Generated by  doxygen 1.6.2