public class EPPContactCreateResp extends EPPResponse
EPPContactCreateCmd. When a <create> command has been
processed successfully, the EPP <resData> element MUST contain a
child <contact:creData> element that identifies the contact namespace
and the location of the contact schema. The <contact:creData> element
contains the following child elements: getId and setId
to get and set the element.
getCreationDate and
setCreationDate to get and set the element.
EPPResponse,
Serialized Formextensions, TRANSFER_CLIENT_APPROVED, TRANSFER_CLIENT_CANCELLED, TRANSFER_CLIENT_REJECTED, TRANSFER_PENDING, TRANSFER_SERVER_APPROVED, TRANSFER_SERVER_CANCELLED| Constructor and Description |
|---|
EPPContactCreateResp()
EPPContactCreateResp default constructor. |
EPPContactCreateResp(EPPTransId aTransId,
java.lang.String aId,
java.util.Date aCreationDate)
EPPContactCreateResp constructor that takes the contact id
as an argument. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Clone
EPPContactCreateResp. |
protected void |
doDecode(org.w3c.dom.Element aElement)
Decode the
EPPContactCreateResp 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
EPPContactCreateResp instance. |
boolean |
equals(java.lang.Object aObject)
Compare an instance of
EPPContactCreateResp with this
instance. |
java.util.Date |
getCreationDate()
Get creation date.
|
java.lang.String |
getId()
Gets the contact id to delete.
|
java.lang.String |
getNamespace()
Gets the EPP command Namespace associated with
EPPContactCreateResp. |
void |
setCreationDate(java.util.Date newCrDate)
Set creation date.
|
void |
setId(java.lang.String aId)
Sets the contact id to delete.
|
java.lang.String |
toString()
Implementation of
Object.toString, which will result in an
indented XML String representation of the concrete
EPPCodecComponent. |
addExtension, decode, encode, getExtension, getExtension, getExtensions, getMessageQueue, getMsgQueue, getMsgQueueCount, getMsgQueueDate, getMsgQueueMsg, getQDate, getResult, getResults, getTransId, getType, hasExtension, hasExtensions, hasMessageQueue, hasMsgQueue, hasResultCode, isSuccess, setExtension, setExtensions, setMsgQueue, setResult, setResult, setResult, setResult, setResults, setTransIdpublic EPPContactCreateResp()
EPPContactCreateResp default constructor. The id is
initialized to null. The id and creation date must be
set before invoking encode.public EPPContactCreateResp(EPPTransId aTransId, java.lang.String aId, java.util.Date aCreationDate)
EPPContactCreateResp constructor that takes the contact id
as an argument.aTransId - Transaction Id associated with command.aId - Contact id to delete.aCreationDate - Creation datepublic java.lang.String getNamespace()
EPPContactCreateResp.getNamespace in interface EPPCodecComponentgetNamespace in interface EPPMessagegetNamespace in class EPPResponseEPPContactMapFactory.NSpublic java.util.Date getCreationDate()
public void setCreationDate(java.util.Date newCrDate)
newCrDate - java.util.Dateprotected org.w3c.dom.Element doEncode(org.w3c.dom.Document aDocument)
throws EPPEncodeException
EPPContactCreateResp instance.doEncode in class EPPResponseaDocument - DOM Document that is being built. Used as an Element
factory.EPPContactCreateResp instance.EPPEncodeException - Unable to encode
EPPContactCreateResp instance.protected void doDecode(org.w3c.dom.Element aElement)
throws EPPDecodeException
EPPContactCreateResp attributes from the
aElement DOM Element tree.doDecode in class EPPResponseaElement - Root DOM Element to decode
EPPContactCreateResp from.EPPDecodeException - Unable to decode aElementpublic java.lang.String getId()
String instance if defined;
null otherwise.public void setId(java.lang.String aId)
aId - Contact Idpublic boolean equals(java.lang.Object aObject)
EPPContactCreateResp with this
instance.equals in class EPPResponseaObject - Object to compare with.public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
EPPContactCreateResp.clone in interface EPPCodecComponentclone in class EPPResponseEPPContactCreateRespjava.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 EPPResponseString if successful;
ERROR otherwise.Copyright © VeriSign Inc. All Rights Reserved.