Definition at line 62 of file resource_i.h.
typedef OSB_LIB::ResourceList<OSB_LIB::Resource>::Rg OSB_CORBA::Resource_i::ReadGuard [protected] |
OSB_CORBA::Resource_i::Resource_i | ( | NetworkManager_i & | nmgri, | |
const OSB_LIB::Resource::Oid & | oid | |||
) |
Constructor with managing class and OSB library object id.
OSB_CORBA::Resource_i::~Resource_i | ( | ) |
Empty virtual destructor.
Date OSB_CORBA::Resource_i::assigned | ( | ) | throw (CORBA::SystemException, OsbCorbaException) |
First assignment date of the resource.
It needn't be set.
Boolean OSB_CORBA::Resource_i::canDel | ( | ) | throw (CORBA::SystemException, OsbCorbaException) |
Check if the resource can be deleted.
Boolean OSB_CORBA::Resource_i::canUpd | ( | ) | throw (CORBA::SystemException, OsbCorbaException) |
Check if the resource can be updated.
ResourceId OSB_CORBA::Resource_i::id | ( | ) | throw (CORBA::SystemException, OsbCorbaException) |
The resource object id.
Boolean OSB_CORBA::Resource_i::isAvailable | ( | ) | throw (CORBA::SystemException, OsbCorbaException) |
Check if the resource is available.
Boolean OSB_CORBA::Resource_i::isPrepaid | ( | ) | throw (CORBA::SystemException, OsbCorbaException) |
Prepaid resource?
virtual ReadGuard OSB_CORBA::Resource_i::lock | ( | ) | const [protected, pure virtual] |
Read lock the resource.
Implemented in OSB_CORBA::AccessNumber_i, OSB_CORBA::E164Resource_i, OSB_CORBA::Ip4Address_i, OSB_CORBA::IpGroup_i, and OSB_CORBA::TrunkResource_i.
NetworkElementId OSB_CORBA::Resource_i::networkElementId | ( | ) | throw (CORBA::SystemException, OsbCorbaException) |
The id of the resource's network element.
It needn't be set.
NetworkId OSB_CORBA::Resource_i::networkId | ( | ) | throw (CORBA::SystemException, OsbCorbaException) |
The id of the resource's network.
It needn't be set.
corba::imgmt::PoolId OSB_CORBA::Resource_i::poolId | ( | ) | throw (CORBA::SystemException, OsbCorbaException) |
The inventory pool of the resource.
It is not set (0) if the resource is not assigned to a pool.
Date OSB_CORBA::Resource_i::quarantineEnd | ( | ) | throw (CORBA::SystemException, OsbCorbaException) |
End date of the quarantine period.
It needn't be set.
Utf8String* OSB_CORBA::Resource_i::resNumber | ( | ) | throw (CORBA::SystemException, OsbCorbaException) |
The resource number.
ResourceStatus OSB_CORBA::Resource_i::status | ( | ) | throw (CORBA::SystemException, OsbCorbaException) |
The status of the resource.
ResourceTypeId OSB_CORBA::Resource_i::type | ( | ) | throw (CORBA::SystemException, OsbCorbaException) |
The resource type.
const std::string OSB_CORBA::Resource_i::IFC [static] |
String representation of Resource_i.
Reimplemented in OSB_CORBA::AccessNumber_i, OSB_CORBA::AccessNumberWriter_i, OSB_CORBA::E164Resource_i, OSB_CORBA::E164ResourceWriter_i, OSB_CORBA::Ip4Address_i, OSB_CORBA::Ip4AddressWriter_i, OSB_CORBA::IpGroup_i, OSB_CORBA::IpGroupWriter_i, OSB_CORBA::ResourceWriter_i, OSB_CORBA::TrunkResource_i, and OSB_CORBA::TrunkResourceWriter_i.
Definition at line 67 of file resource_i.h.
NetworkManager_i& OSB_CORBA::Resource_i::nmgri_ [protected] |
const OSB_LIB::Resource::Oid OSB_CORBA::Resource_i::resId_ [protected] |