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

alma::ACS::impl::CharacteristicModelImpl Class Reference

Inheritance diagram for alma::ACS::impl::CharacteristicModelImpl:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

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
int[] getIntegerSeq (String name) throws NoSuchCharacteristic
double[] getDoubleSeq (String name) throws NoSuchCharacteristic
String[] getStringSeq (String name) throws NoSuchCharacteristic

Protected Attributes

String modelName
DAO dao

Private Attributes

String prefix = ""

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
Version:
$id$


Constructor & Destructor Documentation

alma::ACS::impl::CharacteristicModelImpl::CharacteristicModelImpl String  modelName,
DAL  dal
[inline]
 

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


Member Function Documentation

String [] alma::ACS::impl::CharacteristicModelImpl::find_characteristic String  wildcard  )  [inline]
 

See also:
alma.ACS.CharacteristicModelOperations::find_characteristic(java.lang.String)

PropertySet alma::ACS::impl::CharacteristicModelImpl::get_all_characteristics  )  [inline]
 

See also:
alma.ACS.CharacteristicModelOperations::get_all_characteristics()

Implements alma::ACS::CharacteristicModelOperations.

Any alma::ACS::impl::CharacteristicModelImpl::get_characteristic_by_name String  name  )  throws NoSuchCharacteristic [inline]
 

See also:
alma.ACS.CharacteristicModelOperations::get_characteristic_by_name(java.lang.String)

double alma::ACS::impl::CharacteristicModelImpl::getDouble String  name  )  throws NoSuchCharacteristic [inline]
 

Read double characteristic.

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

double [] alma::ACS::impl::CharacteristicModelImpl::getDoubleSeq String  name  )  throws NoSuchCharacteristic [inline]
 

Read sequence double characteristic.

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

int alma::ACS::impl::CharacteristicModelImpl::getInteger String  name  )  throws NoSuchCharacteristic [inline]
 

Read int characteristic.

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

int [] alma::ACS::impl::CharacteristicModelImpl::getIntegerSeq String  name  )  throws NoSuchCharacteristic [inline]
 

Read sequence long characteristic.

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

long alma::ACS::impl::CharacteristicModelImpl::getLong String  name  )  throws NoSuchCharacteristic [inline]
 

Read long characteristic.

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

String alma::ACS::impl::CharacteristicModelImpl::getString String  name  )  throws NoSuchCharacteristic [inline]
 

Read string characteristic.

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

String [] alma::ACS::impl::CharacteristicModelImpl::getStringSeq String  name  )  throws NoSuchCharacteristic [inline]
 

Read sequence string characteristic.

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

void alma::ACS::impl::CharacteristicModelImpl::setFieldPrefix String  prefix  )  [inline]
 


Member Data Documentation

DAO alma::ACS::impl::CharacteristicModelImpl::dao [protected]
 

CDB DAO.

String alma::ACS::impl::CharacteristicModelImpl::modelName [protected]
 

Model name (used to determine CDB lookup).

String alma::ACS::impl::CharacteristicModelImpl::prefix = "" [private]
 


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