public class EPPDefRegUpdateCmd extends EPPUpdateCmd
getRoid and setRoid to get and
set the element.
getChange and
setChange to get and set the element.
EPPReponse is the response associated with
EPPDefRegUpdateCmd.EPPResponse,
EPPDefRegAddRemove,
Serialized Formextensions, OP_APPROVE, OP_CANCEL, OP_QUERY, OP_REJECT, OP_REQUEST, transId, TYPE_CHECK, TYPE_CREATE, TYPE_DELETE, TYPE_INFO, TYPE_LOGIN, TYPE_LOGOUT, TYPE_POLL, TYPE_RENEW, TYPE_TRANSFER, TYPE_UPDATE| Constructor and Description |
|---|
EPPDefRegUpdateCmd()
EPPDefRegUpdateCmd default constructor. |
EPPDefRegUpdateCmd(java.lang.String aRoid)
EPPDefRegUpdateCmd default constructor. |
EPPDefRegUpdateCmd(java.lang.String aTransId,
java.lang.String aRoid,
EPPDefRegAddRemove aAdd,
EPPDefRegAddRemove aRemove,
EPPDefRegAddRemove aChange)
EPPDefRegUpdateCmd constructor that takes the required
attributes as arguments. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Clone
EPPDefRegUpdateCmd. |
protected void |
doDecode(org.w3c.dom.Element aElement)
Decode the
EPPDefRegUpdateCmd attributes from the aElement
DOM Element tree. |
protected org.w3c.dom.Element |
doEncode(org.w3c.dom.Document aDocument)
Encode a DOM Element tree from the attributes of the
EPPDefRegUpdateCmd instance. |
boolean |
equals(java.lang.Object aObject)
Compare an instance of
EPPDefRegUpdateCmd with this
instance. |
EPPDefRegAddRemove |
getAdd()
Gets the items to add to the DefReg.
|
EPPDefRegAddRemove |
getChange()
Gets the items to change to the defReg.
|
java.lang.String |
getNamespace()
Gets the EPP command Namespace associated with
EPPDefRegUpdateCmd. |
EPPDefRegAddRemove |
getRemove()
Gets the items to remove from the DefReg.
|
java.lang.String |
getRoid()
Gets the defReg roid to update.
|
void |
setAdd(EPPDefRegAddRemove aAdd)
Sets the items to add to the DefReg.
|
void |
setChange(EPPDefRegAddRemove newChange)
Sets the items to change to the defReg.
|
void |
setRemove(EPPDefRegAddRemove aRemove)
Sets the items to remove from the DefReg.
|
void |
setRoid(java.lang.String aRoid)
Sets the defReg roid to update.
|
java.lang.String |
toString()
Implementation of
Object.toString, which will result in an
indented XML String representation of the concrete
EPPCodecComponent. |
doGenDecode, doGenEncode, getTypeaddExtension, decode, encode, findDuplicateExtNamespaces, getExtension, getExtension, getExtensions, getOp, getTransId, hasExtension, hasExtensions, hasTransId, setExtension, setExtensions, setTransIdpublic EPPDefRegUpdateCmd()
EPPDefRegUpdateCmd default constructor. The roid is
initialized to null. The roid must be set before
invoking encode.public EPPDefRegUpdateCmd(java.lang.String aTransId,
java.lang.String aRoid,
EPPDefRegAddRemove aAdd,
EPPDefRegAddRemove aRemove,
EPPDefRegAddRemove aChange)
EPPDefRegUpdateCmd constructor that takes the required
attributes as arguments.aTransId - Transaction Id associated with the command.aRoid - DefReg roid to update.aAdd - DOCUMENT ME!aRemove - DOCUMENT ME!aChange - Attributes to add to the defReg. null if no
additions.public EPPDefRegUpdateCmd(java.lang.String aRoid)
EPPDefRegUpdateCmd default constructor. The roid is
initialized to null. The Roid must be set before
invoking encode.aRoid - DOCUMENT ME!public java.lang.String getNamespace()
EPPDefRegUpdateCmd.getNamespace in interface EPPCodecComponentgetNamespace in interface EPPMessagegetNamespace in class EPPCommandEPPDefRegMapFactory.NSprotected org.w3c.dom.Element doEncode(org.w3c.dom.Document aDocument)
throws EPPEncodeException
EPPDefRegUpdateCmd instance.doEncode in class EPPUpdateCmdaDocument - DOM Document that is being built. Used as an Element
factory.EPPDefRegUpdateCmd instance.EPPEncodeException - Unable to encode
EPPDefRegUpdateCmd instance.protected void doDecode(org.w3c.dom.Element aElement)
throws EPPDecodeException
EPPDefRegUpdateCmd attributes from the aElement
DOM Element tree.doDecode in class EPPUpdateCmdaElement - Root DOM Element to decode
EPPDefRegUpdateCmd from.EPPDecodeException - Unable to decode aElementpublic boolean equals(java.lang.Object aObject)
EPPDefRegUpdateCmd with this
instance.equals in class EPPUpdateCmdaObject - Object to compare with.public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
EPPDefRegUpdateCmd.clone in interface EPPCodecComponentclone in class EPPCommandEPPDefRegUpdateCmdjava.lang.CloneNotSupportedException - standard Object.clone exceptionpublic java.lang.String toString()
Object.toString, which will result in an
indented XML String representation of the concrete
EPPCodecComponent.toString in class EPPCommandString if successful;
ERROR otherwise.public java.lang.String getRoid()
null otherwise.public void setRoid(java.lang.String aRoid)
aRoid - DefReg Roidpublic EPPDefRegAddRemove getChange()
null otherwise.public void setChange(EPPDefRegAddRemove newChange)
newChange - Object that contains the list of elements to change to
the defRegdefRegdefReg.public EPPDefRegAddRemove getAdd()
null otherwise.public void setAdd(EPPDefRegAddRemove aAdd)
aAdd - Object that contains the list of elements to add to the
DefReg.public EPPDefRegAddRemove getRemove()
null otherwise.public void setRemove(EPPDefRegAddRemove aRemove)
aRemove - Object that contains the list of elements to remove from
the DefReg.