class EppObject

This EppObject class is the base class for all objects registered in the registry via the EPP Protocol.

Inheritance:


Public Fields

[more]static const int CONTACT
Type for EPP Contact objcet
[more]static const int DOMAIN
Type for EPP Domain object
[more]static const int HOST
Type for EPP Host object
[more]static const int SVCSUB
Type for EPP Svcsub object

Public Methods

[more] EppObject()
Constructor
[more]virtual ~EppObject()
Destructor
[more]virtual int getEntityType()
Returns the run-time type of an EppEntity object
[more]DOMString getRoid()
Gets ROID of the EppObject
[more]void setRoid( DOMString roid )
Sets ROID of the EppObject
[more]DOMString getClientId()
Gets the id of the registrar client sponsering the EppObject
[more]void setClientId( DOMString clientId )
Sets the id of the registrar client sponsering the EppObject
[more]DOMString getClientIdCreated()
Gets the id of the registrar client creating the EppObject initially
[more]void setClientIdCreated( DOMString clientId )
Sets the id of the registrar client creating the EppObject initially
[more]time_t getDateCreated()
Gets the date of the EppObject created
[more]void setDateCreated( time_t cal )
Sets the date of the EppObject created
[more]DOMString getClientIdUpdated()
Gets the id of the registrar client updating the EppObject most recently
[more]void setClientIdUpdated( DOMString clientId )
Sets the id of the registrar client updating the EppObject most recently
[more]time_t getDateUpdated()
Gets the date of the EppObject updated
[more]void setDateUpdated( time_t cal )
Sets the date of the EppObject updated
[more]time_t getDateExpired()
Gets the date of the EppObject expiration date
[more]void setDateExpired( time_t cal )
Sets the expiration date of the EppObject
[more]time_t getDateTransferred()
Gets the date of the EppObject transferred
[more]void setDateTransferred( time_t cal )
Sets the date of the EppObject transferred
[more]EppAuthInfo* getAuthInfo()
Gets the authorization info of the EppObject
[more]void setAuthInfo( EppAuthInfo authInfo )
Sets the authorization info of the EppObject
[more]ValueVectorOf<EppStatus> * getStatus()
Gets the status of the EppObject
[more]void addStatus( EppStatus status )
Adds a status to the EppObject
[more]static EppObject* fromXML( const DOM_Node& root )
Converts an XML element into an EppObject object
[more]static EppCommandCreate create( EppObject* object, DOMString xid )
Creates an EppCommandCreate object for creating an EPP Object in the registry.

Protected Fields

[more]DOMString roid
The ROID of the EPP Object in the registry
[more]ValueVectorOf<EppStatus> * status
The status list associated with the EPP Object in the registry
[more]DOMString clID
The id of the client that is sponsering the EPP Object
[more]DOMString crID
The id of the client that created the EPP Object initially
[more]time_t crDate
The timestamp when the EPP Object was created initially
[more]DOMString upID
The id of the client that updated the EPP Object most recently
[more]time_t upDate
The timestamp when the EPP Object was updated most recently
[more]time_t exDate
The timestamp when the EPP Object is set to be expired
[more]time_t trDate
The timestamp when the EPP Object was transferred most recently
[more]EppAuthInfo* authInfo
The authorization information associated with the EPP object

Protected Methods

[more]void fromXMLCommon( const DOM_Node& node, const DOMString name )
Converts shared EppObject components from XML
[more]void toXMLCommon( DOM_Document& doc, DOM_Element& body )
Converts shared EppObject components into XML
[more]void freeCommon()
Frees shared EppObject components


Inherited from EppEntity:

Public Methods

obool instanceOf( const int type )
ovirtual DOM_Element toXML( DOM_Document &doc, const DOMString &tag )
ovirtual DOMString toString()

Protected Methods

oDOMString toString( const DOMString &tag )


Documentation

This EppObject class is the base class for all objects registered in the registry via the EPP Protocol.

oDOMString roid
The ROID of the EPP Object in the registry

oValueVectorOf<EppStatus> * status
The status list associated with the EPP Object in the registry

oDOMString clID
The id of the client that is sponsering the EPP Object

oDOMString crID
The id of the client that created the EPP Object initially

otime_t crDate
The timestamp when the EPP Object was created initially

oDOMString upID
The id of the client that updated the EPP Object most recently

otime_t upDate
The timestamp when the EPP Object was updated most recently

otime_t exDate
The timestamp when the EPP Object is set to be expired


Note: this field only applies to EPP Domain objects

otime_t trDate
The timestamp when the EPP Object was transferred most recently


Note: this field does not apply to EPP Host objects

oEppAuthInfo* authInfo
The authorization information associated with the EPP object


Note: this field does not apply to EPP Host objects

ovoid fromXMLCommon( const DOM_Node& node, const DOMString name )
Converts shared EppObject components from XML

Parameters:
node - the node for a shared EppObject component
name - the name of the node for the shared EppObject component

ovoid toXMLCommon( DOM_Document& doc, DOM_Element& body )
Converts shared EppObject components into XML

Parameters:
doc - the XML DOM_Element object
body - the XML DOM_Element to be attached

ovoid freeCommon()
Frees shared EppObject components

ostatic const int CONTACT
Type for EPP Contact objcet

ostatic const int DOMAIN
Type for EPP Domain object

ostatic const int HOST
Type for EPP Host object

ostatic const int SVCSUB
Type for EPP Svcsub object

o EppObject()
Constructor

ovirtual ~EppObject()
Destructor

ovirtual int getEntityType()
Returns the run-time type of an EppEntity object

oDOMString getRoid()
Gets ROID of the EppObject

ovoid setRoid( DOMString roid )
Sets ROID of the EppObject

oDOMString getClientId()
Gets the id of the registrar client sponsering the EppObject

ovoid setClientId( DOMString clientId )
Sets the id of the registrar client sponsering the EppObject

oDOMString getClientIdCreated()
Gets the id of the registrar client creating the EppObject initially

ovoid setClientIdCreated( DOMString clientId )
Sets the id of the registrar client creating the EppObject initially

otime_t getDateCreated()
Gets the date of the EppObject created

ovoid setDateCreated( time_t cal )
Sets the date of the EppObject created

oDOMString getClientIdUpdated()
Gets the id of the registrar client updating the EppObject most recently

ovoid setClientIdUpdated( DOMString clientId )
Sets the id of the registrar client updating the EppObject most recently

otime_t getDateUpdated()
Gets the date of the EppObject updated

ovoid setDateUpdated( time_t cal )
Sets the date of the EppObject updated

otime_t getDateExpired()
Gets the date of the EppObject expiration date


Note: Currently, only an EPP domain object has an expiration date

ovoid setDateExpired( time_t cal )
Sets the expiration date of the EppObject


Note: Currently, only an EPP domain object has an expiration date

otime_t getDateTransferred()
Gets the date of the EppObject transferred

ovoid setDateTransferred( time_t cal )
Sets the date of the EppObject transferred

oEppAuthInfo* getAuthInfo()
Gets the authorization info of the EppObject

ovoid setAuthInfo( EppAuthInfo authInfo )
Sets the authorization info of the EppObject

oValueVectorOf<EppStatus> * getStatus()
Gets the status of the EppObject

ovoid addStatus( EppStatus status )
Adds a status to the EppObject

ostatic EppObject* fromXML( const DOM_Node& root )
Converts an XML element into an EppObject object

Parameters:
root - root node for an EppObject object in XML format

ostatic EppCommandCreate create( EppObject* object, DOMString xid )
Creates an EppCommandCreate object for creating an EPP Object in the registry.

Parameters:
object - the EPP Object to be created in the registry
xid - the client transaction id associated with the operation


Direct child classes:
EppSvcsub
EppHost
EppDomain
EppContact
Author:
Ning Zhang ning.zhang@neustar.com
Version:
$Revision: 1.2 $ $Date: 2006/05/20 14:45:13 $

Alphabetic index HTML hierarchy of classes or Java


Copyright © 2001-2002 NeuLevel, Inc. All Rights Reserved.