public class EPPEmailFwdUpdateCmd extends EPPUpdateCmd
getName
and
setName
to get and set the element.
getAdd
and
setAdd
to get and set the element.
getChange
and
setChange
to get and set the element.
getRemove
and
setRemove
to get and set the element.
EPPReponse
is the response associated with
EPPEmailFwdUpdateCmd
.EPPResponse
,
EPPEmailFwdAddRemove
,
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 |
---|
EPPEmailFwdUpdateCmd()
EPPEmailFwdUpdateCmd default constructor. |
EPPEmailFwdUpdateCmd(java.lang.String aName)
EPPEmailFwdUpdateCmd default constructor. |
EPPEmailFwdUpdateCmd(java.lang.String aTransId,
java.lang.String aName,
EPPEmailFwdAddRemove aAdd,
EPPEmailFwdAddRemove aRemove,
EPPEmailFwdAddRemove aChange)
EPPEmailFwdUpdateCmd constructor that takes the required
attributes as arguments. |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Clone
EPPEmailFwdUpdateCmd . |
protected void |
doDecode(org.w3c.dom.Element aElement)
Decode the
EPPEmailFwdUpdateCmd 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
EPPEmailFwdUpdateCmd instance. |
boolean |
equals(java.lang.Object aObject)
Compare an instance of
EPPEmailFwdUpdateCmd with this
instance. |
EPPEmailFwdAddRemove |
getAdd()
Gets the items to add to the emailFwd.
|
EPPEmailFwdAddRemove |
getChange()
Gets the items to change to the emailFwd.
|
java.lang.String |
getName()
Gets the emailFwd name to update.
|
java.lang.String |
getNamespace()
Gets the EPP command Namespace associated with
EPPEmailFwdUpdateCmd . |
EPPEmailFwdAddRemove |
getRemove()
Gets the items to remove from the emailFwd.
|
void |
setAdd(EPPEmailFwdAddRemove aAdd)
Sets the items to add to the emailFwd.
|
void |
setChange(EPPEmailFwdAddRemove newChange)
Sets the items to change to the emailFwd.
|
void |
setName(java.lang.String aName)
Sets the emailFwd name to update.
|
void |
setRemove(EPPEmailFwdAddRemove aRemove)
Sets the items to remove from the emailFwd.
|
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 EPPEmailFwdUpdateCmd()
EPPEmailFwdUpdateCmd
default constructor. The name is
initialized to null
. The name must be set before
invoking encode
.public EPPEmailFwdUpdateCmd(java.lang.String aTransId, java.lang.String aName, EPPEmailFwdAddRemove aAdd, EPPEmailFwdAddRemove aRemove, EPPEmailFwdAddRemove aChange)
EPPEmailFwdUpdateCmd
constructor that takes the required
attributes as arguments.aTransId
- Transaction Id associated with the command.aName
- EmailFwd name to update.aAdd
- Attributes to add to the emailFwd. null
if no
additions.aRemove
- Attributes to remove from the emailFwd. null
if no removals.aChange
- DOCUMENT ME!public EPPEmailFwdUpdateCmd(java.lang.String aName)
EPPEmailFwdUpdateCmd
default constructor. The name is
initialized to null
. The name must be set before
invoking encode
.aName
- DOCUMENT ME!public java.lang.String getNamespace()
EPPEmailFwdUpdateCmd
.getNamespace
in interface EPPCodecComponent
getNamespace
in interface EPPMessage
getNamespace
in class EPPCommand
EPPEmailFwdMapFactory.NS
protected org.w3c.dom.Element doEncode(org.w3c.dom.Document aDocument) throws EPPEncodeException
EPPEmailFwdUpdateCmd
instance.doEncode
in class EPPUpdateCmd
aDocument
- DOM Document that is being built. Used as an Element
factory.EPPEmailFwdUpdateCmd
instance.EPPEncodeException
- Unable to encode
EPPEmailFwdUpdateCmd
instance.protected void doDecode(org.w3c.dom.Element aElement) throws EPPDecodeException
EPPEmailFwdUpdateCmd
attributes from the
aElement DOM Element tree.doDecode
in class EPPUpdateCmd
aElement
- Root DOM Element to decode
EPPEmailFwdUpdateCmd
from.EPPDecodeException
- Unable to decode aElementpublic boolean equals(java.lang.Object aObject)
EPPEmailFwdUpdateCmd
with this
instance.equals
in class EPPUpdateCmd
aObject
- Object to compare with.public java.lang.Object clone() throws java.lang.CloneNotSupportedException
EPPEmailFwdUpdateCmd
.clone
in interface EPPCodecComponent
clone
in class EPPCommand
EPPEmailFwdUpdateCmd
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 getName()
null
otherwise.public void setName(java.lang.String aName)
aName
- EmailFwd Namepublic EPPEmailFwdAddRemove getAdd()
null
otherwise.public void setAdd(EPPEmailFwdAddRemove aAdd)
aAdd
- Object that contains the list of elements to add to the
emailFwd.public EPPEmailFwdAddRemove getRemove()
null
otherwise.public void setRemove(EPPEmailFwdAddRemove aRemove)
aRemove
- Object that contains the list of elements to remove from
the emailFwd.public EPPEmailFwdAddRemove getChange()
null
otherwise.public void setChange(EPPEmailFwdAddRemove newChange)
newChange
- Object that contains the list of elements to change to
the emailFwdemailFwdemailFwd.Copyright © VeriSign Inc. All Rights Reserved.