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) |
DataType[] | getInverseConvertParameterTypes (String operation, DataType[] parameterTypes) |
abstract Object | convertPropertyValue (Object value) |
abstract Object | inverseConvertPropertyValue (Object value) |
abstract DataType | getInverseConvertPropertyParameterType () |
abstract String | getConvertedPropertyValueUnits (String units) |
Static Public Attributes | |
static final String[] | BACI_PROPERTY_OPERATIONS |
static final String[] | BACI_PROPERTY_INVERSE_OPERATIONS |
static final String[] | BACI_PROPERTY_ATTRIBUTES |
static final String | BACI_UNIT_ATTRIBUTE = "units" |
Protected Member Functions | |
void | initializeTables () |
Protected Attributes | |
Map | operationMap = null |
Map | operationInverseMap = null |
Map | attributeMap = null |
Support class for BACI (property) converter.
si.ijs.acs.objectexplorer.engine.BACI.BACIConverterSupport.BACIConverterSupport | ( | ) |
Constructor.
References si.ijs.acs.objectexplorer.engine.BACI.BACIConverterSupport.initializeTables().
boolean si.ijs.acs.objectexplorer.engine.BACI.BACIConverterSupport.acceptConvert | ( | String | operation | ) |
Returns true
if operation contains property value(s) to be converted.
Implements si.ijs.acs.objectexplorer.engine.Converter.
References si.ijs.acs.objectexplorer.engine.BACI.BACIConverterSupport.attributeMap, si.ijs.acs.objectexplorer.engine.BACI.BACIConverterSupport.BACI_UNIT_ATTRIBUTE, and si.ijs.acs.objectexplorer.engine.BACI.BACIConverterSupport.operationMap.
boolean si.ijs.acs.objectexplorer.engine.BACI.BACIConverterSupport.acceptInverseConvert | ( | String | operation | ) |
Returns true
if operation contains property value(s) to be inverse converted.
Implements si.ijs.acs.objectexplorer.engine.Converter.
References si.ijs.acs.objectexplorer.engine.BACI.BACIConverterSupport.operationInverseMap.
Object si.ijs.acs.objectexplorer.engine.BACI.BACIConverterSupport.convert | ( | String | operation, | |
Object[] | params, | |||
Object | returnValue | |||
) |
Implements si.ijs.acs.objectexplorer.engine.Converter.
References si.ijs.acs.objectexplorer.engine.BACI.BACIConverterSupport.attributeMap, si.ijs.acs.objectexplorer.engine.BACI.BACIConverterSupport.BACI_UNIT_ATTRIBUTE, si.ijs.acs.objectexplorer.engine.BACI.BACIConverterSupport.convertPropertyValue(), si.ijs.acs.objectexplorer.engine.BACI.BACIConverterSupport.getConvertedPropertyValueUnits(), si.ijs.acs.objectexplorer.engine.BACI.BACIConverterSupport.getInverseConvertPropertyParameterType(), and si.ijs.acs.objectexplorer.engine.BACI.BACIConverterSupport.operationMap.
abstract Object si.ijs.acs.objectexplorer.engine.BACI.BACIConverterSupport.convertPropertyValue | ( | Object | value | ) | [pure virtual] |
Convert property value.
value | to be converted. |
Implemented in si.ijs.acs.objectexplorer.engine.BACI.converters.BACIDegreesToDDMMSSConverter, and si.ijs.acs.objectexplorer.engine.BACI.converters.BACIDoubleLinearConverter.
Referenced by si.ijs.acs.objectexplorer.engine.BACI.BACIConverterSupport.convert().
abstract String si.ijs.acs.objectexplorer.engine.BACI.BACIConverterSupport.getConvertedPropertyValueUnits | ( | String | units | ) | [pure virtual] |
Get converted property value units.
Implemented in si.ijs.acs.objectexplorer.engine.BACI.converters.BACIDegreesToDDMMSSConverter, and si.ijs.acs.objectexplorer.engine.BACI.converters.BACIDoubleLinearConverter.
Referenced by si.ijs.acs.objectexplorer.engine.BACI.BACIConverterSupport.convert().
abstract DataType 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.
Implemented in si.ijs.acs.objectexplorer.engine.BACI.converters.BACIDegreesToDDMMSSConverter, and si.ijs.acs.objectexplorer.engine.BACI.converters.BACIDoubleLinearConverter.
Referenced by si.ijs.acs.objectexplorer.engine.BACI.BACIConverterSupport.convert(), and si.ijs.acs.objectexplorer.engine.BACI.BACIConverterSupport.getInverseConvertParameterTypes().
void si.ijs.acs.objectexplorer.engine.BACI.BACIConverterSupport.initializeTables | ( | ) | [protected] |
Initialized lookup table.
References si.ijs.acs.objectexplorer.engine.BACI.BACIConverterSupport.attributeMap, si.ijs.acs.objectexplorer.engine.BACI.BACIConverterSupport.BACI_PROPERTY_ATTRIBUTES, si.ijs.acs.objectexplorer.engine.BACI.BACIConverterSupport.BACI_PROPERTY_INVERSE_OPERATIONS, si.ijs.acs.objectexplorer.engine.BACI.BACIConverterSupport.BACI_PROPERTY_OPERATIONS, si.ijs.acs.objectexplorer.engine.BACI.BACIConverterSupport.operationInverseMap, and si.ijs.acs.objectexplorer.engine.BACI.BACIConverterSupport.operationMap.
Referenced by si.ijs.acs.objectexplorer.engine.BACI.BACIConverterSupport.BACIConverterSupport().
void si.ijs.acs.objectexplorer.engine.BACI.BACIConverterSupport.inverseConvert | ( | String | operation, | |
Object[] | params | |||
) |
Implements si.ijs.acs.objectexplorer.engine.Converter.
References si.ijs.acs.objectexplorer.engine.BACI.BACIConverterSupport.inverseConvertPropertyValue().
abstract Object si.ijs.acs.objectexplorer.engine.BACI.BACIConverterSupport.inverseConvertPropertyValue | ( | Object | value | ) | [pure virtual] |
Inverse convert property value.
value | to be inverse converted. |
Implemented in si.ijs.acs.objectexplorer.engine.BACI.converters.BACIDegreesToDDMMSSConverter, and si.ijs.acs.objectexplorer.engine.BACI.converters.BACIDoubleLinearConverter.
Referenced by si.ijs.acs.objectexplorer.engine.BACI.BACIConverterSupport.inverseConvert().
Map si.ijs.acs.objectexplorer.engine.BACI.BACIConverterSupport.attributeMap = null [protected] |
final String [] si.ijs.acs.objectexplorer.engine.BACI.BACIConverterSupport.BACI_PROPERTY_ATTRIBUTES [static] |
{ "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.
Referenced by si.ijs.acs.objectexplorer.engine.BACI.BACIConverterSupport.initializeTables().
final String [] si.ijs.acs.objectexplorer.engine.BACI.BACIConverterSupport.BACI_PROPERTY_INVERSE_OPERATIONS [static] |
{ "set_nonblocking", "set_sync", "set_async", "set_value_trigger", }
List of BACI property operations related to property value (inverse conversion).
Referenced by si.ijs.acs.objectexplorer.engine.BACI.BACIConverterSupport.initializeTables().
final String [] si.ijs.acs.objectexplorer.engine.BACI.BACIConverterSupport.BACI_PROPERTY_OPERATIONS [static] |
{ "get_sync", "get_history", "get_value_trigger", "working", "done" }
List of BACI property operations related to property value.
Referenced by si.ijs.acs.objectexplorer.engine.BACI.BACIConverterSupport.initializeTables().
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.
Referenced by si.ijs.acs.objectexplorer.engine.BACI.BACIConverterSupport.acceptInverseConvert(), and si.ijs.acs.objectexplorer.engine.BACI.BACIConverterSupport.initializeTables().
Map si.ijs.acs.objectexplorer.engine.BACI.BACIConverterSupport.operationMap = null [protected] |