Definition at line 69 of file ratedpartytype.h.
typedef TypeId<RatedParty> OSB_LIB::RatedPartyType::Type [private] |
OSB_LIB::RatedPartyType::RatedPartyType | ( | Type | type | ) | [explicit] |
const std::string& OSB_LIB::RatedPartyType::des | ( | ) | const |
Get the description of the rated party.
const std::string& OSB_LIB::RatedPartyType::name | ( | ) | const |
Get the name for the rated party.
bool OSB_LIB::RatedPartyType::operator< | ( | const RatedPartyType & | rhs | ) | const [inline] |
Compare rated party types by type().
Definition at line 224 of file ratedpartytype.h.
References type().
void OSB_LIB::RatedPartyType::remove | ( | const OSB_DB::Session & | session | ) | const [private] |
Delete a rated party type from the database.
session | Database session to use. |
OsbException | the type() is used elsewhere (foreign key violation). |
void OSB_LIB::RatedPartyType::save | ( | const OSB_DB::Session & | session | ) | const [private] |
Create or update a rated party type in the database.
session | Database session to use. |
OsbException | if type() is duplicate. |
void OSB_LIB::RatedPartyType::setDes | ( | const std::string & | des | ) |
Set the description of the rated party.
void OSB_LIB::RatedPartyType::setName | ( | const std::string & | name | ) |
Set the name for the rated party.
const RatedPartyType::Type & OSB_LIB::RatedPartyType::type | ( | ) | const [inline] |
Get the type of the rated party.
Definition at line 219 of file ratedpartytype.h.
References type_.
Referenced by operator<().
friend class OSB_DB::RatedPartyTypeGw [friend] |
Give the database gateway access to type and allow set the data members.
Definition at line 76 of file ratedpartytype.h.
friend class RatedPartyTypes [friend] |
std::string OSB_LIB::RatedPartyType::des_ [private] |
std::string OSB_LIB::RatedPartyType::name_ [private] |
Type OSB_LIB::RatedPartyType::type_ [private] |