Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

si::ijs::acs::objectexplorer::engine::BACI::BACIConverterSupport Class Reference

Inheritance diagram for si::ijs::acs::objectexplorer::engine::BACI::BACIConverterSupport:

Inheritance graph
[legend]
Collaboration diagram for si::ijs::acs::objectexplorer::engine::BACI::BACIConverterSupport:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 BACIConverterSupport ()
boolean acceptConvert (String operation)
boolean acceptInverseConvert (String operation)
Object convert (String operation, Object[] params, Object returnValue)
void inverseConvert (String operation, Object[] params)
Class[] getInverseConvertParameterTypes (String operation, Class[] parameterTypes)
abstract Object convertPropertyValue (Object value)
abstract Object inverseConvertPropertyValue (Object value)
abstract Class getInverseConvertPropertyParameterType ()
abstract String getConvertedPropertyValueUnits (String units)

Static Public Attributes

final String[] BACI_PROPERTY_OPERATIONS
final String[] BACI_PROPERTY_INVERSE_OPERATIONS
final String[] BACI_PROPERTY_ATTRIBUTES
final String BACI_UNIT_ATTRIBUTE = "units"

Protected Member Functions

void initializeTables ()

Protected Attributes

Map operationMap = null
Map operationInverseMap = null
Map attributeMap = null

Detailed Description

Support class for BACI (property) converter.


Constructor & Destructor Documentation

si::ijs::acs::objectexplorer::engine::BACI::BACIConverterSupport::BACIConverterSupport  )  [inline]
 

Constructor.


Member Function Documentation

boolean si::ijs::acs::objectexplorer::engine::BACI::BACIConverterSupport::acceptConvert String  operation  )  [inline]
 

Returns true if operation contains property value(s) to be converted.

See also:
si.ijs.acs.objectexplorer.engine.Converter#accept(java.lang.String)

Implements si::ijs::acs::objectexplorer::engine::Converter.

boolean si::ijs::acs::objectexplorer::engine::BACI::BACIConverterSupport::acceptInverseConvert String  operation  )  [inline]
 

Returns true if operation contains property value(s) to be inverse converted.

See also:
si.ijs.acs.objectexplorer.engine.Converter::acceptInverseConvert(java.lang.String)

Implements si::ijs::acs::objectexplorer::engine::Converter.

Object si::ijs::acs::objectexplorer::engine::BACI::BACIConverterSupport::convert String  operation,
Object[]  params,
Object  returnValue
[inline]
 

See also:
si.ijs.acs.objectexplorer.engine.Converter::convert(java.lang.String, java.lang.Object[], java.lang.Object)

Implements si::ijs::acs::objectexplorer::engine::Converter.

abstract Object si::ijs::acs::objectexplorer::engine::BACI::BACIConverterSupport::convertPropertyValue Object  value  )  [pure virtual]
 

Convert property value.

Parameters:
value to be converted.
Returns:
converted value.

Implemented in si::ijs::acs::objectexplorer::engine::BACI::converters::BACIDegreesToDDMMSSConverter, and si::ijs::acs::objectexplorer::engine::BACI::converters::BACIDoubleLinearConverter.

abstract String si::ijs::acs::objectexplorer::engine::BACI::BACIConverterSupport::getConvertedPropertyValueUnits String  units  )  [pure virtual]
 

Get converted property value units.

Returns:
converted property value units.

Implemented in si::ijs::acs::objectexplorer::engine::BACI::converters::BACIDegreesToDDMMSSConverter, and si::ijs::acs::objectexplorer::engine::BACI::converters::BACIDoubleLinearConverter.

Class [] si::ijs::acs::objectexplorer::engine::BACI::BACIConverterSupport::getInverseConvertParameterTypes String  operation,
Class[]  parameterTypes
[inline]
 

See also:
si.ijs.acs.objectexplorer.engine.Converter::getInverseConvertParameterTypes(java.lang.String)

Implements si::ijs::acs::objectexplorer::engine::Converter.

abstract Class si::ijs::acs::objectexplorer::engine::BACI::BACIConverterSupport::getInverseConvertPropertyParameterType  )  [pure virtual]
 

Class type of converted property value. This is returned class by convertPropertyValue method and expected class type of inverseConvertPropertyValue.

Returns:
class type of converted property value

Implemented in si::ijs::acs::objectexplorer::engine::BACI::converters::BACIDegreesToDDMMSSConverter, and si::ijs::acs::objectexplorer::engine::BACI::converters::BACIDoubleLinearConverter.

void si::ijs::acs::objectexplorer::engine::BACI::BACIConverterSupport::initializeTables  )  [inline, protected]
 

Initialized lookup table.

void si::ijs::acs::objectexplorer::engine::BACI::BACIConverterSupport::inverseConvert String  operation,
Object[]  params
[inline]
 

See also:
si.ijs.acs.objectexplorer.engine.Converter::inverseConvert(java.lang.String, java.lang.Object[])

Implements si::ijs::acs::objectexplorer::engine::Converter.

abstract Object si::ijs::acs::objectexplorer::engine::BACI::BACIConverterSupport::inverseConvertPropertyValue Object  value  )  [pure virtual]
 

Inverse convert property value.

Parameters:
value to be inverse converted.
Returns:
inverse converted value.

Implemented in si::ijs::acs::objectexplorer::engine::BACI::converters::BACIDegreesToDDMMSSConverter, and si::ijs::acs::objectexplorer::engine::BACI::converters::BACIDoubleLinearConverter.


Member Data Documentation

Map si::ijs::acs::objectexplorer::engine::BACI::BACIConverterSupport::attributeMap = null [protected]
 

Attributes lookup table.

final String [] si::ijs::acs::objectexplorer::engine::BACI::BACIConverterSupport::BACI_PROPERTY_ATTRIBUTES [static]
 

Initial value:

{ "min_delta_trigger", "default_value", "graph_min", "graph_max", "min_step", "min_value", "max_value", "alarm_low_off", "alarm_low_on", "alarm_high_off", "alarm_high_on", }
List of BACI property attributes related to property value.

final String [] si::ijs::acs::objectexplorer::engine::BACI::BACIConverterSupport::BACI_PROPERTY_INVERSE_OPERATIONS [static]
 

Initial value:

{ "set_nonblocking", "set_sync", "set_async", "set_value_trigger", }
List of BACI property operations related to property value (inverse conversion).

final String [] si::ijs::acs::objectexplorer::engine::BACI::BACIConverterSupport::BACI_PROPERTY_OPERATIONS [static]
 

Initial value:

{ "get_sync", "get_history", "get_value_trigger", "working", "done" }
List of BACI property operations related to property value.

final String si::ijs::acs::objectexplorer::engine::BACI::BACIConverterSupport::BACI_UNIT_ATTRIBUTE = "units" [static]
 

Map si::ijs::acs::objectexplorer::engine::BACI::BACIConverterSupport::operationInverseMap = null [protected]
 

Operations (inverse) lookup table.

Map si::ijs::acs::objectexplorer::engine::BACI::BACIConverterSupport::operationMap = null [protected]
 

Operations lookup table.


The documentation for this class was generated from the following file:
Generated on Thu Apr 30 03:14:46 2009 for ACS Java API by doxygen 1.3.8