OSB_LIB::Usagerecord Class Reference

Collaboration diagram for OSB_LIB::Usagerecord:

Collaboration graph
[legend]
List of all members.

Detailed Description

OSB usage record type.

Usagerecord holds rated call record data. It is read from the database, processed by the OSB billing application and written to the invoice. Applications do not need to use Usagerecord: Class BalanceSheet can be parameterized to use a project specific type.

ToDo: Add in the tariff specific details (e.g)

Definition at line 91 of file usagerecord.h.

Public Member Functions

Public Attributes

Private Attributes


Constructor & Destructor Documentation

OSB_LIB::Usagerecord::Usagerecord (  )  [inline]

Empty constructor.

Without this constructor we will not be able to create a usage record object.

Definition at line 99 of file usagerecord.h.


Member Function Documentation

const std::string& OSB_LIB::Usagerecord::flatTfName (  )  const [inline]

Get flat tariff Name.

Definition at line 163 of file usagerecord.h.

References flatTfName_.

const std::string& OSB_LIB::Usagerecord::massTfName (  )  const [inline]

Get mass tariff Name.

Definition at line 165 of file usagerecord.h.

References massTfName_.

const std::string& OSB_LIB::Usagerecord::ratedDestinationName (  )  const [inline]

Get rated Destination name.

Definition at line 174 of file usagerecord.h.

References ratedDestinationName_.

const std::string& OSB_LIB::Usagerecord::ratedOriginName (  )  const [inline]

Get rated Origin name.

Definition at line 169 of file usagerecord.h.

References ratedOriginName_.

void OSB_LIB::Usagerecord::readTariffInfoName ( const TariffCatalogue tcat  ) 

Read tariff related information's name.

Parameters:
tcat Tariff catalogue to read from.

const std::string& OSB_LIB::Usagerecord::scName (  )  const [inline]

Get service class name.

Definition at line 157 of file usagerecord.h.

References scName_.

const std::string& OSB_LIB::Usagerecord::tcName (  )  const [inline]

Get tariff class name.

Definition at line 161 of file usagerecord.h.

References tcName_.

const std::string& OSB_LIB::Usagerecord::tpName (  )  const [inline]

Get tariff period name.

Definition at line 159 of file usagerecord.h.

References tpName_.

const std::string& OSB_LIB::Usagerecord::tsName (  )  const [inline]

Get tariff system name.

Definition at line 155 of file usagerecord.h.

References tsName_.

const std::string& OSB_LIB::Usagerecord::tzName (  )  const [inline]

Get tariff zone name.

Definition at line 167 of file usagerecord.h.

References tzName_.


Member Data Documentation

Decimal OSB_LIB::Usagerecord::amount

Call charge for this record.

Definition at line 113 of file usagerecord.h.

Date OSB_LIB::Usagerecord::assigned

Timestamp when the record was created.

Definition at line 125 of file usagerecord.h.

long OSB_LIB::Usagerecord::callId

Call identifier.

Definition at line 103 of file usagerecord.h.

DateTime OSB_LIB::Usagerecord::callStamp

Call start date and time.

Definition at line 123 of file usagerecord.h.

ChargeTraits::Oid OSB_LIB::Usagerecord::chargeTraitsId

Charge traits identifier associated with the charge.

Definition at line 115 of file usagerecord.h.

Contract::Oid OSB_LIB::Usagerecord::contractId

Contract identifier.

Definition at line 107 of file usagerecord.h.

Tariff::Oid OSB_LIB::Usagerecord::flatTfId

Identifier for flat tariff.

Definition at line 137 of file usagerecord.h.

std::string OSB_LIB::Usagerecord::flatTfName_ [private]

flat tariff Name.

Definition at line 188 of file usagerecord.h.

Referenced by flatTfName().

Tariff::Oid OSB_LIB::Usagerecord::massTfId

Identifier for mass tariff.

Definition at line 139 of file usagerecord.h.

std::string OSB_LIB::Usagerecord::massTfName_ [private]

mass tariff Name.

Definition at line 190 of file usagerecord.h.

Referenced by massTfName().

std::string OSB_LIB::Usagerecord::otherParty

Identifier for the other party (e.g., called number).

Definition at line 117 of file usagerecord.h.

PersProduct::Oid OSB_LIB::Usagerecord::persProductId

Identifier for the personalised product.

Definition at line 109 of file usagerecord.h.

ProductNode::Oid OSB_LIB::Usagerecord::productNodeId

Identifier for the product node.

Definition at line 111 of file usagerecord.h.

ConnectionPt::Oid OSB_LIB::Usagerecord::ratedDestinationId

Identifier for rated origin connection point.

Definition at line 145 of file usagerecord.h.

std::string OSB_LIB::Usagerecord::ratedDestinationName_ [private]

rated Destination name.

Definition at line 196 of file usagerecord.h.

Referenced by ratedDestinationName().

ConnectionPt::Oid OSB_LIB::Usagerecord::ratedOriginId

Identifier for rated origin connection point.

Definition at line 143 of file usagerecord.h.

std::string OSB_LIB::Usagerecord::ratedOriginName_ [private]

rated Origin name.

Definition at line 194 of file usagerecord.h.

Referenced by ratedOriginName().

long OSB_LIB::Usagerecord::recordId

Identifier for records within one call.

Definition at line 105 of file usagerecord.h.

std::string OSB_LIB::Usagerecord::remark

Remark.

Definition at line 127 of file usagerecord.h.

ServiceClass::Oid OSB_LIB::Usagerecord::scId

Identifier for service class.

Definition at line 131 of file usagerecord.h.

std::string OSB_LIB::Usagerecord::scName_ [private]

service class name.

Definition at line 182 of file usagerecord.h.

Referenced by scName().

TariffClass::Oid OSB_LIB::Usagerecord::tcId

Identifier for tariff class.

Definition at line 135 of file usagerecord.h.

std::string OSB_LIB::Usagerecord::tcName_ [private]

tariff class name.

Definition at line 186 of file usagerecord.h.

Referenced by tcName().

TariffPeriod::Oid OSB_LIB::Usagerecord::tpId

Identifier for tariff period.

Definition at line 133 of file usagerecord.h.

std::string OSB_LIB::Usagerecord::tpName_ [private]

tariff period name.

Definition at line 184 of file usagerecord.h.

Referenced by tpName().

TariffSystem::Oid OSB_LIB::Usagerecord::tsId

Identifier for tariff system.

Definition at line 129 of file usagerecord.h.

std::string OSB_LIB::Usagerecord::tsName_ [private]

tariff system name.

Definition at line 180 of file usagerecord.h.

Referenced by tsName().

TariffZone::Oid OSB_LIB::Usagerecord::tzId

Identifier for tariff zone.

Definition at line 141 of file usagerecord.h.

std::string OSB_LIB::Usagerecord::tzName_ [private]

tariff zone name.

Definition at line 192 of file usagerecord.h.

Referenced by tzName().

Unit::Oid OSB_LIB::Usagerecord::unitId

Unit of measurement of the volume.

Definition at line 121 of file usagerecord.h.

Decimal OSB_LIB::Usagerecord::volume

Call volume for this record.

Definition at line 119 of file usagerecord.h.


The documentation for this class was generated from the following file:
Generated on Sat Sep 2 14:10:27 2006 for OSB Library by  doxygen 1.4.7