OSB_LIB::ChargeTraits Class Reference

Inheritance diagram for OSB_LIB::ChargeTraits:

Inheritance graph
[legend]
Collaboration diagram for OSB_LIB::ChargeTraits:

Collaboration graph
[legend]
List of all members.

Detailed Description

ChargeTraits is a data classes holding relevant billing information for amounts or charges other than the actual value.

Definition at line 262 of file chargetraits.h.

Public Member Functions

Read access to data members
Modify data members.

Private Attributes


Constructor & Destructor Documentation

OSB_LIB::ChargeTraits::ChargeTraits ( Oid  oid = Oid()  )  [inline, explicit]

Constructor with object id.

Definition at line 265 of file chargetraits.h.

OSB_LIB::ChargeTraits::~ChargeTraits (  )  [inline]

d'tor.

Definition at line 268 of file chargetraits.h.


Member Function Documentation

ChargeType OSB_LIB::ChargeTraits::chargeType (  )  const [inline]

Definition at line 273 of file chargetraits.h.

References chargeType_.

bool OSB_LIB::ChargeTraits::insert ( const OSB_DB::Session session  ) 

Insert a charge traits to the database.

Parameters:
session Database session to use, transactions are not commited.
Exceptions:
OsbException As specified by the gateway class.
Returns:
True if the item was inserted into the database.

bool OSB_LIB::ChargeTraits::match ( const ChargeTraits rhs  )  const

Compare by attributes.

Parameters:
rhs Traits to compare with.
Returns:
true if CtBase::match() returns true and the following members match:

ChargeTraits& OSB_LIB::ChargeTraits::operator &= ( const ChargeTraits  ) 

Compare two traits and set check mask.

'Add' two charge traits by 'greying' all entries which:

bool OSB_LIB::ChargeTraits::remove ( const OSB_DB::Session session  ) 

Remove a charge traits from the database.

Parameters:
session Database session to use, transactions are not commited.
Exceptions:
OsbException As specified by the gateway class.
Returns:
True if the item was remove from the database.

void OSB_LIB::ChargeTraits::setChargeType ( const ChargeType  ) 

void OSB_LIB::ChargeTraits::setTaxkey ( const TaxKey::Oid  ) 

TaxKey::Oid OSB_LIB::ChargeTraits::taxkey (  )  const [inline]

Definition at line 274 of file chargetraits.h.

References taxkey_.


Member Data Documentation

ChargeType OSB_LIB::ChargeTraits::chargeType_ [private]

A charge type, which indicates if the original (precise) value of an amount is a gross or net amount.

Definition at line 327 of file chargetraits.h.

Referenced by chargeType().

TaxKey::Oid OSB_LIB::ChargeTraits::taxkey_ [private]

A tax key, which together with the associate and contract tax keys is used to determine the applicable taxes.

Definition at line 333 of file chargetraits.h.

Referenced by taxkey().


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