|
EPP 0.2.6 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.neulevel.epp.core.EppEntity
com.neulevel.epp.core.command.EppCommand
com.neulevel.epp.core.command.EppCommandUpdate
com.neulevel.epp.core.command.EppCommandUpdateHost
This EppCommandUpdateHost
class implements EPP Command Update
entity for EPP Host objects.
Field Summary |
Fields inherited from class com.neulevel.epp.core.command.EppCommandUpdate |
statusAdded, statusRemoved |
Fields inherited from class com.neulevel.epp.core.command.EppCommand |
clTRID, creds, unspec |
Constructor Summary | |
EppCommandUpdateHost(java.lang.String name)
Creates an EppCommandUpdateHost given the name of the
host |
|
EppCommandUpdateHost(java.lang.String name,
java.lang.String xid)
Creates an EppCommandUpdateHost given the name of the
host with a client transaction id associated with operation |
Method Summary | |
void |
addAddress(EppIpAddress address)
Adds a new IP address to be associated with the host |
static EppEntity |
fromXML(org.w3c.dom.Node root)
Converts an XML element into an EppCommandUpdateHost
object. |
java.util.Vector |
getAddressAdded()
Gets the list of new IP addresses to be added to the host |
java.util.Vector |
getAddressRemoved()
Gets the list of old IP addresses to be removed from the host |
java.lang.String |
getName()
Gets the name of the host to be updated |
java.lang.String |
getNewName()
Gets the new name for the host, or null if the name of the the host is not to be changed |
void |
removeAddress(EppIpAddress address)
|
void |
setName(java.lang.String name)
Sets the name of the host to be updated |
void |
setNewName(java.lang.String name)
Sets the new name for the host if the name of the the host needs to be changed |
org.w3c.dom.Element |
toXML(org.w3c.dom.Document doc,
java.lang.String tag)
Converts the EppCommandUpdateHost object into
an XML element |
Methods inherited from class com.neulevel.epp.core.command.EppCommandUpdate |
addStatus, addStatus, getAddedStatus, getRemovedStatus, removeStatus, removeStatus, statusFromXML, statusToXML, toString |
Methods inherited from class com.neulevel.epp.core.command.EppCommand |
check, create, delete, getClientTransactionId, getCreds, getUnspec, info, renew, setClientTransactionId, setCreds, setUnspec, toXMLCommon, toXMLCommon, toXMLCommon, toXMLCommon, transfer, update |
Methods inherited from class com.neulevel.epp.core.EppEntity |
toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public EppCommandUpdateHost(java.lang.String name)
EppCommandUpdateHost
given the name of the
host
public EppCommandUpdateHost(java.lang.String name, java.lang.String xid)
EppCommandUpdateHost
given the name of the
host with a client transaction id associated with operation
Method Detail |
public java.lang.String getName()
public void setName(java.lang.String name)
public java.util.Vector getAddressAdded()
public void addAddress(EppIpAddress address)
public java.util.Vector getAddressRemoved()
public void removeAddress(EppIpAddress address)
public java.lang.String getNewName()
public void setNewName(java.lang.String name)
public org.w3c.dom.Element toXML(org.w3c.dom.Document doc, java.lang.String tag)
EppCommandUpdateHost
object into
an XML element
toXML
in class EppEntity
doc
- the XML Document
objecttag
- the tag/element name for the
EppCommandUpdateHost
object
Element
objectpublic static EppEntity fromXML(org.w3c.dom.Node root)
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.
root
- root node for an EppCommandUpdate
object
in XML format
EppCommandUpdate
object, or null if the node
is invalid
|
EPP 0.2.6 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |