

Definition at line 607 of file tariffperiod.h.
| typedef Id<TpSystem> OSB_LIB::TpSystem::Oid | 
Default constructor with optional object id.
| bool OSB_LIB::TpSystem::insert | ( | const OSB_DB::Session & | session | ) |  [private] | 
Insert a tariff period system into database.
A new object is inserted. All attributes of the object has been set except object id. The object id will only be set by the function if the insertion is successful.
| session | Database session. | 
| OsbException | for the following errors: 
 | 
| const Oid& OSB_LIB::TpSystem::oid | ( | ) | const | 
Get object id.
| bool OSB_LIB::TpSystem::read | ( | const OSB_DB::Session & | session | ) | 
Read a tariff period system from database.
The object id is used to gather other info from database and then populate all the object's data members.
| session | Database session. | 
| bool OSB_LIB::TpSystem::remove | ( | const OSB_DB::Session & | session | ) |  [private] | 
Remove a tariff period system from database.
After the function call, oid of this object will be unset to indicate that there is no such entry anymore in the database.
| session | Database session. | 
| OsbException | for the following errors: 
 | 
| TpOidSet OSB_LIB::TpSystem::supportedTp | ( | ) | const | 
Get list of supported tariff periods.
| bool OSB_LIB::TpSystem::update | ( | const OSB_DB::Session & | session | ) |  [private] | 
Update a tariff period system in the database.
Old entry in the database indentify by the object id will be replaced with the new data from the passed in, upated object.
| session | Database session used. | 
| OsbException | for the following erros: 
 | 
| friend class OSB_DB::TpSystemGw  [friend] | 
| friend class TariffCatalogue  [friend] | 
Tariff Catalogue is the only object that is allow to invoke the private functions of this class.
Definition at line 614 of file tariffperiod.h.
| Oid OSB_LIB::TpSystem::oid_  [private] | 
 1.4.7
 1.4.7