alma::ACS::impl::CommonComparablePropertyImpl Class Reference

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

List of all members.

Public Member Functions

 CommonComparablePropertyImpl (Class propertyType, String name, CharacteristicComponentImpl parentComponent) throws PropertyInitializationFailed
 CommonComparablePropertyImpl (Class propertyType, String name, CharacteristicComponentImpl parentComponent, DataAccess dataAccess) throws PropertyInitializationFailed
void readCharacteristics () throws PropertyInitializationFailed
abstract boolean lessThanDelta (Object value1, Object value2, Object delta)
abstract boolean noDelta (Object value)
abstract Object sum (Object value1, Object value2, boolean substract)

Protected Attributes

Object graphMin
Object graphMax
Object minStep
Object minDeltaTrigger

Detailed Description

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

Author:
Matej Sekoranja
Version:
$id$

Constructor & Destructor Documentation

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

Constructor.

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::CommonComparablePropertyImpl::CommonComparablePropertyImpl ( 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 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

abstract boolean alma::ACS::impl::CommonComparablePropertyImpl::lessThanDelta ( Object  value1,
Object  value2,
Object  delta 
) [pure virtual]
abstract boolean alma::ACS::impl::CommonComparablePropertyImpl::noDelta ( Object  value  )  [pure virtual]
void alma::ACS::impl::CommonComparablePropertyImpl::readCharacteristics (  )  throws PropertyInitializationFailed [inline]

Read property characteristics.

Exceptions:
PropertyInitializationFailed exception is thrown on failure

Reimplemented from alma::ACS::impl::CommonPropertyImpl.

Reimplemented in alma::ACS::impl::ROCommonComparablePropertyImpl, and alma::ACS::impl::RWCommonComparablePropertyImpl.

References graphMax, graphMin, minDeltaTrigger, minStep, and alma::ACS::impl::CommonPropertyImpl::readPropertyTypeCharacteristic().

abstract Object alma::ACS::impl::CommonComparablePropertyImpl::sum ( Object  value1,
Object  value2,
boolean  substract 
) [pure virtual]

Member Data Documentation


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

Generated by  doxygen 1.6.2