This is user created, non-prepaid, network specific, re-usable resource.
Definition at line 70 of file accessnumber.h.
Constructor with resource number and network id.
rn | The resource number. | |
nw | The id of the network that owns the access number resource. |
const std::string& OSB_LIB::AccessNumber::des | ( | ) | const |
Description.
bool OSB_LIB::AccessNumber::insert | ( | const OSB_DB::Session & | session | ) | [virtual] |
bool OSB_LIB::AccessNumber::read | ( | const OSB_DB::Session & | session | ) | [virtual] |
bool OSB_LIB::AccessNumber::remove | ( | const OSB_DB::Session & | session | ) | [virtual] |
void OSB_LIB::AccessNumber::setDes | ( | const std::string & | des | ) |
Set the description.
Type OSB_LIB::AccessNumber::typeId | ( | ) | const [virtual] |
void OSB_LIB::AccessNumber::updData | ( | const OSB_DB::Session & | session | ) | [virtual] |
void OSB_LIB::AccessNumber::validateNumber | ( | ) | const [private] |
Verify whether the access number is valid.
OsbException | if the format is not valid. |
friend class OSB_DB::AccessNumberGw [friend] |
std::string OSB_LIB::AccessNumber::des_ [private] |
const Type OSB_LIB::AccessNumber::typeId_ = rtAccessNumber [static, private] |