class EppCommandUpdateHost

This EppCommandUpdateHost class implements EPP Command Update entity for EPP Host objects.

Inheritance:


Public Methods

[more] EppCommandUpdateHost()
Creates an EppCommandUpdateHost
[more] EppCommandUpdateHost( DOMString name )
Creates an EppCommandUpdateHost given the name of the host
[more] EppCommandUpdateHost( DOMString name, DOMString xid )
Creates an EppCommandUpdateHost given the name of the host with a client transaction id associated with operation
[more] ~EppCommandUpdateHost()
Destructor
[more]virtual int getEntityType()
Returns the run-time type of an EppEntity object
[more]DOMString getName()
Gets the name of the host to be updated
[more]void setName( DOMString name )
Sets the name of the host to be updated
[more]ValueVectorOf<EppIpAddress> * getAddressAdded()
Gets the list of new IP addresses to be added to the host
[more]void addAddress( EppIpAddress& address )
Adds a new IP address to be associated with the host
[more]ValueVectorOf<EppIpAddress> * getAddressRemoved()
Gets the list of old IP addresses to be removed from the host
[more]DOMString getNewName()
Gets the new name for the host, or null if the name of the the host is not to be changed
[more]void setNewName( DOMString name )
Sets the new name for the host if the name of the the host needs to be changed
[more]DOM_Element toXML( DOM_Document& doc, const DOMString& tag )
Converts the EppCommandUpdateHost object into an XML element
[more]static EppCommandUpdateHost* fromXML( const DOM_Node& root )
Converts an XML element into an EppCommandUpdateHost object.


Inherited from EppCommandUpdate:

Public Methods

oValueVectorOf<EppStatus> * getAddedStatus()
oValueVectorOf<EppStatus> * getRemovedStatus()

Protected Methods

ovoid statusToXML( DOM_Document& doc, DOM_Element& body, ValueVectorOf<EppStatus>* list )
ovoid statusFromXML( const DOM_Node& root, ValueVectorOf<EppStatus>* statusList )


Inherited from EppCommand:

Public Methods

oEppCreds* getCreds()
ovoid setCreds( EppCreds& creds )
oEppUnspec* getUnspec()
ovoid setUnspec( EppUnspec& unspec )
oDOMString getClientTransactionId()
ovoid setClientTransactionId( DOMString xid )
ostatic EppCommandCreate create( EppObject* object, DOMString xid )
ostatic EppCommandCheck* check( int objectType, DOMString xid )
ostatic EppCommandDelete* remove( int objectType, DOMString objectId, DOMString xid )
ostatic EppCommandInfo* info( int objectType, DOMString objectId, DOMString xid )
ostatic EppCommandUpdate* update( int objectType, DOMString objectId, DOMString xid )
ostatic EppCommandTransfer* transfer( int objectType, DOMString objectId, DOMString xid )
ostatic EppCommandRenew* renew( int objectType, DOMString objectId, DOMString xid )

Protected Fields

oEppCreds* creds
oEppUnspec* unspec
oDOMString clTRID

Protected Methods

oDOM_Element toXMLCommon( DOM_Document& doc, const DOMString command, DOM_Element& element )
oDOM_Element toXMLCommon( DOM_Document& doc, const DOMString command, DOM_Element& element, ValueVectorOf<DOM_Attr>* attrList )
oDOM_Element toXMLCommon( DOM_Document& doc, const DOMString command, EppEntity* object )
oDOM_Element toXMLCommon( DOM_Document& doc, const DOMString command, DOM_Element& element, EppEntity* object, const DOMString tag, ValueVectorOf<DOM_Attr>* attrList )


Inherited from EppEntity:

Public Methods

obool instanceOf( const int type )
ovirtual DOMString toString()

Protected Methods

oDOMString toString( const DOMString &tag )


Documentation

This EppCommandUpdateHost class implements EPP Command Update entity for EPP Host objects.

o EppCommandUpdateHost()
Creates an EppCommandUpdateHost

o EppCommandUpdateHost( DOMString name )
Creates an EppCommandUpdateHost given the name of the host

o EppCommandUpdateHost( DOMString name, DOMString xid )
Creates an EppCommandUpdateHost given the name of the host with a client transaction id associated with operation

o ~EppCommandUpdateHost()
Destructor

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

oDOMString getName()
Gets the name of the host to be updated

ovoid setName( DOMString name )
Sets the name of the host to be updated

oValueVectorOf<EppIpAddress> * getAddressAdded()
Gets the list of new IP addresses to be added to the host

ovoid addAddress( EppIpAddress& address )
Adds a new IP address to be associated with the host

oValueVectorOf<EppIpAddress> * getAddressRemoved()
Gets the list of old IP addresses to be removed from the host

oDOMString getNewName()
Gets the new name for the host, or null if the name of the the host is not to be changed

ovoid setNewName( DOMString name )
Sets the new name for the host if the name of the the host needs to be changed

oDOM_Element toXML( DOM_Document& doc, const DOMString& tag )
Converts the EppCommandUpdateHost object into an XML element

Parameters:
doc - the XML DOM_Element object
tag - the tag/element name for the EppCommandUpdateHost object
Returns:
an DOM_Element object

ostatic EppCommandUpdateHost* fromXML( const DOM_Node& root )
Converts an XML element into an EppCommandUpdateHost object. The caller of this method must make sure that the root node is of an EPP Command Update entity for an EPP Host object.

Parameters:
root - root node for an EppCommandUpdate object in XML format
Returns:
an EppCommandUpdate object, or null if the node is invalid


This class has no child classes.
Author:
Ning Zhang ning.zhang@neustar.com
Version:
$Revision$ $Date$

Alphabetic index HTML hierarchy of classes or Java


Copyright © 2001 NeuStar, Inc. All Rights Reserved.