Public Member Functions | Protected Attributes

alma.ACS.impl.CharacteristicModelImpl Class Reference

Inherits alma::ACS::CharacteristicModelOperations.

List of all members.

Public Member Functions

void lendContainerServices (ContainerServices c)
void setFieldPrefix (String prefix)
 CharacteristicModelImpl (String modelName, DAL dal)
Any get_characteristic_by_name (String name) throws NoSuchCharacteristic
String[] find_characteristic (String wildcard)
PropertySet get_all_characteristics ()
String getString (String name) throws NoSuchCharacteristic
long getLong (String name) throws NoSuchCharacteristic
int getInteger (String name) throws NoSuchCharacteristic
double getDouble (String name) throws NoSuchCharacteristic
float getFloat (String name) throws NoSuchCharacteristic
int[] getIntegerSeq (String name) throws NoSuchCharacteristic
double[] getDoubleSeq (String name) throws NoSuchCharacteristic
float[] getFloatSeq (String name) throws NoSuchCharacteristic
int[] getLongSeq (String name) throws NoSuchCharacteristic
String[] getStringSeq (String name) throws NoSuchCharacteristic

Protected Attributes

String modelName
DAO dao

Detailed Description

Implementation of alma.ACS.CharacteristicModel. TODO temporary implementation - real caching (DAL wide, not per CharacteristicModelImpl instance) has to be implemented TODO what about reconnection then... is persistent DAL server enough?

Author:
Matej Sekoranja
Camilo Menay
Cristian Maureira
Version:
$id$

Constructor & Destructor Documentation

alma.ACS.impl.CharacteristicModelImpl.CharacteristicModelImpl ( String  modelName,
DAL  dal 
)
Parameters:
modelName name of the model (used to determine CDB lookup), non-null.
dal CDB DAL object, non-null.

References alma.ACS.impl.CharacteristicModelImpl.dao.


Member Function Documentation

String [] alma.ACS.impl.CharacteristicModelImpl.find_characteristic ( String  wildcard  ) 
See also:
alma.ACS.CharacteristicModelOperations.find_characteristic(java.lang.String)

References alma.ACS.impl.CharacteristicModelImpl.dao.

Referenced by alma.ACS.impl.PropertyImpl.find_characteristic(), and alma.ACS.impl.CharacteristicComponentImpl.find_characteristic().

PropertySet alma.ACS.impl.CharacteristicModelImpl.get_all_characteristics (  ) 
Any alma.ACS.impl.CharacteristicModelImpl.get_characteristic_by_name ( String  name  )  throws NoSuchCharacteristic
double alma.ACS.impl.CharacteristicModelImpl.getDouble ( String  name  )  throws NoSuchCharacteristic
double [] alma.ACS.impl.CharacteristicModelImpl.getDoubleSeq ( String  name  )  throws NoSuchCharacteristic

Read sequence double characteristic.

Parameters:
name characteristic name.
Exceptions:
NoSuchCharacteristic is thrown if characterstic does not exist.

References alma.ACS.impl.CharacteristicModelImpl.dao, and alma.ACS.impl.CharacteristicModelImpl.modelName.

Referenced by alma.ACS.impl.RWdoubleSeqImpl.readPropertyTypeCharacteristic(), and alma.ACS.impl.ROdoubleSeqImpl.readPropertyTypeCharacteristic().

float alma.ACS.impl.CharacteristicModelImpl.getFloat ( String  name  )  throws NoSuchCharacteristic

Read double characteristic.

Parameters:
name characteristic name.
Exceptions:
NoSuchCharacteristic is thrown if characterstic does not exist.

References alma.ACS.impl.CharacteristicModelImpl.dao, and alma.ACS.impl.CharacteristicModelImpl.modelName.

float [] alma.ACS.impl.CharacteristicModelImpl.getFloatSeq ( String  name  )  throws NoSuchCharacteristic

Read sequence double characteristic.

Parameters:
name characteristic name.
Exceptions:
NoSuchCharacteristic is thrown if characterstic does not exist.

References alma.ACS.impl.CharacteristicModelImpl.dao, and alma.ACS.impl.CharacteristicModelImpl.modelName.

Referenced by alma.ACS.impl.RWfloatSeqImpl.readPropertyTypeCharacteristic(), and alma.ACS.impl.ROfloatSeqImpl.readPropertyTypeCharacteristic().

int alma.ACS.impl.CharacteristicModelImpl.getInteger ( String  name  )  throws NoSuchCharacteristic
int [] alma.ACS.impl.CharacteristicModelImpl.getIntegerSeq ( String  name  )  throws NoSuchCharacteristic
long alma.ACS.impl.CharacteristicModelImpl.getLong ( String  name  )  throws NoSuchCharacteristic
int [] alma.ACS.impl.CharacteristicModelImpl.getLongSeq ( String  name  )  throws NoSuchCharacteristic

Read sequence double characteristic.

Parameters:
name characteristic name.
Exceptions:
NoSuchCharacteristic is thrown if characterstic does not exist.

References alma.ACS.impl.CharacteristicModelImpl.dao, and alma.ACS.impl.CharacteristicModelImpl.modelName.

Referenced by alma.ACS.impl.RWOnOffSwitchImpl.condition(), alma.ACS.impl.RWBoolImpl.condition(), alma.ACS.impl.ROOnOffSwitchImpl.condition(), and alma.ACS.impl.ROBoolImpl.condition().

String alma.ACS.impl.CharacteristicModelImpl.getString ( String  name  )  throws NoSuchCharacteristic

Read string characteristic.

Parameters:
name characteristic name.
Exceptions:
NoSuchCharacteristic is thrown if characterstic does not exist.

References alma.ACS.impl.CharacteristicModelImpl.dao, and alma.ACS.impl.CharacteristicModelImpl.modelName.

Referenced by alma.ACS.impl.TypelessPropertyImpl.readCharacteristics(), alma.ACS.impl.RWstringImpl.readPropertyTypeCharacteristic(), and alma.ACS.impl.ROstringImpl.readPropertyTypeCharacteristic().

String [] alma.ACS.impl.CharacteristicModelImpl.getStringSeq ( String  name  )  throws NoSuchCharacteristic
void alma.ACS.impl.CharacteristicModelImpl.lendContainerServices ( ContainerServices  c  ) 
void alma.ACS.impl.CharacteristicModelImpl.setFieldPrefix ( String  prefix  ) 

Member Data Documentation


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties