public class EPPContactTransferCmd extends EPPTransferCmd
getId
and
setId
to get and set the element.
getAuthInfo
and setAuthInfo
to get and set
the element.
EPPContactTransferResp
is the concrete EPPReponse
associated with EPPContactTransferCmd
. EPPContactTransferResp
,
Serialized Formop
extensions, 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 |
---|
EPPContactTransferCmd()
Allocates a new
EPPContactTransferCmd with default
attribute values. |
EPPContactTransferCmd(java.lang.String aTransId,
java.lang.String aOp,
java.lang.String aId)
EPPContactTransferCmd constructor that takes the required
attributes as arguments. |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Clone
EPPContactTransferCmd . |
protected void |
doDecode(org.w3c.dom.Element aElement)
Decode the
EPPContactTransferCmd 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
EPPContactTransferCmd instance. |
boolean |
equals(java.lang.Object aObject)
Compare an instance of
EPPContactTransferCmd with this
instance. |
EPPAuthInfo |
getAuthInfo()
Get authorization information.
|
java.lang.String |
getId()
Gets the contact id to query.
|
java.lang.String |
getNamespace()
Gets the EPP command Namespace associated with
EPPContactTransferCmd . |
void |
setAuthInfo(EPPAuthInfo newAuthInfo)
Set authorization information.
|
void |
setId(java.lang.String aId)
Sets the contact id to query.
|
java.lang.String |
toString()
Implementation of
Object.toString , which will result in an
indented XML String representation of the concrete
EPPCodecComponent . |
doGenDecode, doGenEncode, getOp, getType, setOp
addExtension, decode, encode, getExtension, getExtension, getExtensions, getTransId, hasExtension, hasExtensions, hasTransId, setExtension, setExtensions, setTransId
public EPPContactTransferCmd()
EPPContactTransferCmd
with default
attribute values. the defaults include the following: null
null
null
encode
.public EPPContactTransferCmd(java.lang.String aTransId, java.lang.String aOp, java.lang.String aId)
EPPContactTransferCmd
constructor that takes the required
attributes as arguments.aTransId
- Transaction Id associated with the command.aOp
- One of the EPPCommand.OP_
constants associated
with the transfer command.aId
- Contact id to create.public java.lang.String getNamespace()
EPPContactTransferCmd
.getNamespace
in interface EPPCodecComponent
getNamespace
in interface EPPMessage
getNamespace
in class EPPCommand
EPPContactMapFactory.NS
protected org.w3c.dom.Element doEncode(org.w3c.dom.Document aDocument) throws EPPEncodeException
EPPContactTransferCmd
instance.doEncode
in class EPPTransferCmd
aDocument
- DOM Document that is being built. Used as an Element
factory.EPPContactTransferCmd
instance.EPPEncodeException
- Unable to encode
EPPContactTransferCmd
instance.protected void doDecode(org.w3c.dom.Element aElement) throws EPPDecodeException
EPPContactTransferCmd
attributes from the
aElement DOM Element tree.doDecode
in class EPPTransferCmd
aElement
- Root DOM Element to decode
EPPContactTransferCmd
from.EPPDecodeException
- Unable to decode aElementpublic java.lang.String getId()
null
otherwise.public void setId(java.lang.String aId)
aId
- Contact Idpublic boolean equals(java.lang.Object aObject)
EPPContactTransferCmd
with this
instance.equals
in class EPPTransferCmd
aObject
- Object to compare with.public java.lang.Object clone() throws java.lang.CloneNotSupportedException
EPPContactTransferCmd
.clone
in interface EPPCodecComponent
clone
in class EPPTransferCmd
EPPContactTransferCmd
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 EPPAuthInfo getAuthInfo()
public void setAuthInfo(EPPAuthInfo newAuthInfo)
newAuthInfo
- EPPAuthInfoCopyright © VeriSign Inc. All Rights Reserved.