Definition at line 63 of file backdatedobject.h.
Type of tariff objects to be back-dated.
toTfVersion | Tariff version object. |
Definition at line 75 of file backdatedobject.h.
OSB_LIB::BackDatedObject::BackDatedObject | ( | const Oid & | oid, | |
const ToId & | patched, | |||
const ToId & | substitute, | |||
TariffObject | tariffObject, | |||
const Date & | releasedDate, | |||
bool | resubmitted = false | |||
) |
Constructor with all data members.
bool OSB_LIB::BackDatedObject::insert | ( | const OSB_DB::Session & | session | ) |
Tariff object insert itself into the datbase.
const Oid& OSB_LIB::BackDatedObject::oid | ( | ) | const [inline] |
const ToId& OSB_LIB::BackDatedObject::patched | ( | ) | const [inline] |
Return type-safe id of tariff object that has been patched.
Definition at line 114 of file backdatedobject.h.
References patched_.
const Date& OSB_LIB::BackDatedObject::patchReleasedDate | ( | ) | const [inline] |
Return released date of substitute tariff object.
Definition at line 120 of file backdatedobject.h.
References patchReleasedDate_.
bool OSB_LIB::BackDatedObject::resubmitted | ( | ) | const [inline] |
Indicate if tariff object has been resubmitted for re-rating.
Definition at line 129 of file backdatedobject.h.
References resubmitted_.
const ToId& OSB_LIB::BackDatedObject::substitute | ( | ) | const [inline] |
Return id of tariff object that replaces the patched version.
Definition at line 117 of file backdatedobject.h.
References substitute_.
TariffObject OSB_LIB::BackDatedObject::tariffObject | ( | ) | const [inline] |
Return type of tariff object.
Definition at line 126 of file backdatedobject.h.
References tariffObject_.
static char OSB_LIB::BackDatedObject::toChar | ( | TariffObject | to | ) | [static] |
Convert TariffObject to one character database code.
to | TariffObject value. |
OsbException | if to is not defined. |
static TariffObject OSB_LIB::BackDatedObject::toTariffObject | ( | char | to | ) | [static] |
Convert character database code to TariffObject.
to | One char database code. |
OsbException | if to is not defined. |
Oid OSB_LIB::BackDatedObject::oid_ [private] |
Unique id of BackDatedObject.
Definition at line 136 of file backdatedobject.h.
Referenced by oid().
ToId OSB_LIB::BackDatedObject::patched_ [private] |
Object id of replaced object.
Definition at line 138 of file backdatedobject.h.
Referenced by patched().
Released date of substitute object.
Definition at line 144 of file backdatedobject.h.
Referenced by patchReleasedDate().
bool OSB_LIB::BackDatedObject::resubmitted_ [private] |
Indicate if object has been re-submitted for re-rating.
Definition at line 147 of file backdatedobject.h.
Referenced by resubmitted().
ToId OSB_LIB::BackDatedObject::substitute_ [private] |
Object id of substitute object.
Definition at line 140 of file backdatedobject.h.
Referenced by substitute().
Type of tariff object.
Definition at line 142 of file backdatedobject.h.
Referenced by tariffObject().