public class EPPNameWatchUpdateCmd 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
EPPNameWatchUpdateCmd
. EPPResponse
,
EPPNameWatchAddRemove
,
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 |
---|
EPPNameWatchUpdateCmd()
EPPNameWatchUpdateCmd default constructor. |
EPPNameWatchUpdateCmd(java.lang.String aTransId,
java.lang.String aRoid)
Creates a new EPPNameWatchUpdateCmd object.
|
EPPNameWatchUpdateCmd(java.lang.String aTransId,
java.lang.String aRoid,
EPPNameWatchAddRemove aAdd,
EPPNameWatchAddRemove aRemove,
EPPNameWatchAddRemove aChange)
EPPNameWatchUpdateCmd constructor that takes the required
attributes as arguments. |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Clone
EPPNameWatchUpdateCmd . |
protected void |
doDecode(org.w3c.dom.Element aElement)
Decode the
EPPNameWatchUpdateCmd 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
EPPNameWatchUpdateCmd instance. |
boolean |
equals(java.lang.Object aObject)
Compare an instance of
EPPNameWatchUpdateCmd with this
instance. |
EPPNameWatchAddRemove |
getAdd()
Gets the items to add to the nameWatch.
|
EPPNameWatchAddRemove |
getChange()
Gets the items to change to the nameWatch.
|
java.lang.String |
getNamespace()
Gets the EPP command Namespace associated with
EPPNameWatchUpdateCmd . |
EPPNameWatchAddRemove |
getRemove()
Gets the items to remove from the nameWatch.
|
java.lang.String |
getRoid()
Gets the nameWatch name to update.
|
void |
setAdd(EPPNameWatchAddRemove aAdd)
Sets the items to add to the nameWatch.
|
void |
setChange(EPPNameWatchAddRemove newChange)
Sets the items to change to the nameWatch.
|
void |
setRemove(EPPNameWatchAddRemove aRemove)
Sets the items to remove from the nameWatch.
|
void |
setRoid(java.lang.String aRoid)
Sets the nameWatch 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, getType
addExtension, decode, encode, getExtension, getExtension, getExtensions, getOp, getTransId, hasExtension, hasExtensions, hasTransId, setExtension, setExtensions, setTransId
public EPPNameWatchUpdateCmd()
EPPNameWatchUpdateCmd
default constructor. The roid is
initialized to null
. The roid and change attributes
must be set before invoking encode
.public EPPNameWatchUpdateCmd(java.lang.String aTransId, java.lang.String aRoid)
aTransId
- DOCUMENT ME!aRoid
- DOCUMENT ME!public EPPNameWatchUpdateCmd(java.lang.String aTransId, java.lang.String aRoid, EPPNameWatchAddRemove aAdd, EPPNameWatchAddRemove aRemove, EPPNameWatchAddRemove aChange)
EPPNameWatchUpdateCmd
constructor that takes the required
attributes as arguments.aTransId
- Transaction Id associated with the command.aRoid
- NameWatch name to update.aAdd
- Attributes to add to the nameWatch. null
if no
additions.aRemove
- Attributes to remove to the nameWatch.null
if no additions.aChange
- Attributes to change to the nameWatch. null
if no additions.public java.lang.String getNamespace()
EPPNameWatchUpdateCmd
.getNamespace
in interface EPPCodecComponent
getNamespace
in interface EPPMessage
getNamespace
in class EPPCommand
EPPNameWatchMapFactory.NS
protected org.w3c.dom.Element doEncode(org.w3c.dom.Document aDocument) throws EPPEncodeException
EPPNameWatchUpdateCmd
instance.doEncode
in class EPPUpdateCmd
aDocument
- DOM Document that is being built. Used as an Element
factory.EPPNameWatchUpdateCmd
instance.EPPEncodeException
- Unable to encode
EPPNameWatchUpdateCmd
instance.protected void doDecode(org.w3c.dom.Element aElement) throws EPPDecodeException
EPPNameWatchUpdateCmd
attributes from the
aElement DOM Element tree.doDecode
in class EPPUpdateCmd
aElement
- Root DOM Element to decode
EPPNameWatchUpdateCmd
from.EPPDecodeException
- Unable to decode aElementpublic boolean equals(java.lang.Object aObject)
EPPNameWatchUpdateCmd
with this
instance.equals
in class EPPUpdateCmd
aObject
- Object to compare with.public java.lang.Object clone() throws java.lang.CloneNotSupportedException
EPPNameWatchUpdateCmd
.clone
in interface EPPCodecComponent
clone
in class EPPCommand
EPPNameWatchUpdateCmd
java.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 EPPCommand
String
if successful;
ERROR
otherwise.public java.lang.String getRoid()
null
otherwise.public void setRoid(java.lang.String aRoid)
aRoid
- NameWatch Roidpublic EPPNameWatchAddRemove getChange()
null
otherwise.public void setChange(EPPNameWatchAddRemove newChange)
newChange
- Object that contains the list of elements to change to
the nameWatch.public EPPNameWatchAddRemove getAdd()
null
otherwise.public void setAdd(EPPNameWatchAddRemove aAdd)
aAdd
- Object that contains the list of elements to add to the
nameWatch.public EPPNameWatchAddRemove getRemove()
null
otherwise.public void setRemove(EPPNameWatchAddRemove aRemove)
aRemove
- Object that contains the list of elements to remove from
the nameWatch.Copyright © VeriSign Inc. All Rights Reserved.