OSB_CORBA::PersTariffSystemWriter_i Class Reference

Inheritance diagram for OSB_CORBA::PersTariffSystemWriter_i:

Inheritance graph
[legend]
Collaboration diagram for OSB_CORBA::PersTariffSystemWriter_i:

Collaboration graph
[legend]
List of all members.

Detailed Description

Definition at line 256 of file persproditem_i.h.

Public Member Functions

Static Public Attributes


Constructor & Destructor Documentation

OSB_CORBA::PersTariffSystemWriter_i::PersTariffSystemWriter_i ( ContractAdmin_i cadmin,
PersProductWriter_i ppServant,
const OSB_LIB::ProductNode pn,
std::auto_ptr< OSB_LIB::PersProductItem ppi 
) [inline]

Definition at line 264 of file persproditem_i.h.


Member Function Documentation

void OSB_CORBA::PersTariffSystemWriter_i::checkConfig (  )  throw (OsbCorbaException) [virtual]

Check if pers item is configured properly before it is being saved or created in the database.

A configured pers item is considered valid if the tariff system id is set and the tariff system id is from the tsList().

Exceptions:
OsbCorbaException if configuration is not valid.

Implements OSB_CORBA::PersProdItemWriter_i.

OSB_LIB::PersTariffSystem* OSB_CORBA::PersTariffSystemWriter_i::persTs (  )  throw (OsbCorbaException)

Cast and return a PPI to a PersTariffSystem.

virtual void OSB_CORBA::PersTariffSystemWriter_i::setTsId ( const TariffSystemId &  id  )  throw (OsbCorbaException) [virtual]

Set the tariff system id of the personalised tariff system.

Parameters:
id Unique id of a tariff system.
Exceptions:
OsbCorbaException if downcast from a PersProductItem to PersTariffSystem fails.

virtual TariffSystem* OSB_CORBA::PersTariffSystemWriter_i::ts (  )  throw (OsbCorbaException) [virtual]

Return unique tariff system id.

Returns:
Unique tariff system id.
Exceptions:
OsbCorbaException if downcast from a PersProductItem to PersTariffSystem fails.

virtual TariffSystemSeq* OSB_CORBA::PersTariffSystemWriter_i::tsList (  )  throw (OsbCorbaException) [virtual]

Retrieve the list of tariff system supported.


Member Data Documentation

const std::string OSB_CORBA::PersTariffSystemWriter_i::IFC [static]

Reimplemented from OSB_CORBA::PersProdItemWriter_i.

Definition at line 262 of file persproditem_i.h.


The documentation for this class was generated from the following file:
Generated on Sat Sep 2 14:27:34 2006 for OSB Library by  doxygen 1.4.7