OSB_CORBA::AddressWriter_i Class Reference

Inheritance diagram for OSB_CORBA::AddressWriter_i:

Inheritance graph
Collaboration diagram for OSB_CORBA::AddressWriter_i:

Collaboration graph
List of all members.

Detailed Description

Definition at line 61 of file address_i.h.

Public Member Functions

Public Attributes

Static Public Attributes

Private Member Functions

Private Attributes

Constructor & Destructor Documentation

OSB_CORBA::AddressWriter_i::AddressWriter_i ( ContractAdmin_i cadmin,
OSB_LIB::AnCList ancList,
OSB_LIB::Associate assoc,
const OSB_LIB::Address addr,
bool  tmpServant 


OSB_CORBA::AddressWriter_i::~AddressWriter_i (  ) 

Destructor: unregister the servant and delete addr_.

OSB_CORBA::AddressWriter_i::AddressWriter_i ( const AddressWriter_i rhs  )  [private]

Prevent copying until needed: not implemented.

Member Function Documentation

virtual Utf8String* OSB_CORBA::AddressWriter_i::addressee (  )  throw (CORBA::SystemException) [virtual]

Return addressee.

OSB_LIB::Associate& OSB_CORBA::AddressWriter_i::assoc (  )  [private]

Get the owner of the associate.

OsbCorbaException if assoc_ is 0.

virtual Utf8String* OSB_CORBA::AddressWriter_i::city (  )  throw (CORBA::SystemException) [virtual]

Return city.

virtual CORBA::Boolean OSB_CORBA::AddressWriter_i::commitChanges ( CORBA::Boolean  noWait  )  throw (CORBA::SystemException, OsbCorbaException) [virtual]

Update changes to address permanently into database.

virtual Utf8String* OSB_CORBA::AddressWriter_i::country (  )  throw (CORBA::SystemException) [virtual]

Return country.

CORBA::Boolean OSB_CORBA::AddressWriter_i::create ( CORBA::Boolean  noWait  )  throw (CORBA::SystemException, OsbCorbaException)

Add a new address to list.

Create a new address object of the desired address type in the database, add the address to the list of addresses. commitChanges() is not required after this function is called.

noWait Set to false if waiting is desired when lock is already acquired by others. If waiting is not desired, set flag to true.
True if operation is successful.
OsbCorbaException if operation at the gateway fails.

virtual Utf8String* OSB_CORBA::AddressWriter_i::email (  )  throw (CORBA::SystemException) [virtual]

Return email.

virtual Utf8String* OSB_CORBA::AddressWriter_i::faxNum (  )  throw (CORBA::SystemException) [virtual]

Return fax number.

virtual Utf8String* OSB_CORBA::AddressWriter_i::function (  )  throw (CORBA::SystemException) [virtual]

Return function.

const Locators::Key& OSB_CORBA::AddressWriter_i::key (  )  const [inline]

Return key of address.

Definition at line 90 of file address_i.h.

References key_.

AddressWriter_i& OSB_CORBA::AddressWriter_i::operator= ( const AddressWriter_i rhs  )  [private]

Prevent assignment until needed: not implemented.

virtual void OSB_CORBA::AddressWriter_i::setAddressee ( const Utf8String &  newAddressee  )  throw (CORBA::SystemException) [virtual]

Set addressee.

virtual void OSB_CORBA::AddressWriter_i::setCity ( const Utf8String &  newCity  )  throw (CORBA::SystemException) [virtual]

Set city.

virtual void OSB_CORBA::AddressWriter_i::setCountry ( const Utf8String &  newCountry  )  throw (CORBA::SystemException) [virtual]

Set country.

virtual void OSB_CORBA::AddressWriter_i::setEmail ( const Utf8String &  newEmail  )  throw (CORBA::SystemException) [virtual]

Set email.

virtual void OSB_CORBA::AddressWriter_i::setFaxNum ( const Utf8String &  newFaxNum  )  throw (CORBA::SystemException) [virtual]

Set fax number.

virtual void OSB_CORBA::AddressWriter_i::setFunction ( const Utf8String &  newFunction  )  throw (CORBA::SystemException) [virtual]

Set function.

virtual void OSB_CORBA::AddressWriter_i::setState ( const Utf8String &  newState  )  throw (CORBA::SystemException) [virtual]

Set state.

virtual void OSB_CORBA::AddressWriter_i::setStreet ( const Utf8String &  newStreet  )  throw (CORBA::SystemException) [virtual]

Set street.

virtual void OSB_CORBA::AddressWriter_i::setTelNum ( const Utf8String &  newTelNum  )  throw (CORBA::SystemException) [virtual]

Set telephone number.

virtual void OSB_CORBA::AddressWriter_i::setZipCode ( const Utf8String &  newZipCode  )  throw (CORBA::SystemException) [virtual]

Set zipcode.

virtual Utf8String* OSB_CORBA::AddressWriter_i::state (  )  throw (CORBA::SystemException) [virtual]

Return state.

virtual Utf8String* OSB_CORBA::AddressWriter_i::street (  )  throw (CORBA::SystemException) [virtual]

Return street.

virtual Utf8String* OSB_CORBA::AddressWriter_i::telNum (  )  throw (CORBA::SystemException) [virtual]

Return telephone number.

virtual AddrTypeIdSeq* OSB_CORBA::AddressWriter_i::types (  )  throw (CORBA::SystemException) [virtual]

Return address type.

virtual Utf8String* OSB_CORBA::AddressWriter_i::zipCode (  )  throw (CORBA::SystemException) [virtual]

Return zipcode.

Member Data Documentation

OSB_LIB::Address* OSB_CORBA::AddressWriter_i::addr_ [private]

Pointer to adress object in the library.

Definition at line 229 of file address_i.h.

OSB_LIB::AnCList& OSB_CORBA::AddressWriter_i::ancList_ [private]

Reference to the library A&C list.

Definition at line 223 of file address_i.h.

OSB_LIB::Associate* OSB_CORBA::AddressWriter_i::assoc_ [private]

Pointer to associate object in the library.

Definition at line 226 of file address_i.h.

ContractAdmin_i& OSB_CORBA::AddressWriter_i::cadmin_ [private]

Reference to contract administration interface.

Definition at line 221 of file address_i.h.

const std::string OSB_CORBA::AddressWriter_i::IFC [static]

Definition at line 66 of file address_i.h.

Locators::Key OSB_CORBA::AddressWriter_i::key_ [private]

Servant key.

Definition at line 235 of file address_i.h.

Referenced by key().

std::string OSB_CORBA::AddressWriter_i::tmp

Definition at line 65 of file address_i.h.

bool OSB_CORBA::AddressWriter_i::tmpServant_ [private]

Flag to indicate if servant is temporary.

Definition at line 232 of file address_i.h.

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