public class EPPRegistryCreateResp extends EPPResponse
EPPRegistryCreateCmd. When a <crate> command has been
processed successfully, the EPP <resData> element MUSt contain a child
<registry:creData> element that identifies the registry namespace and
the location of the registry schema. The <registry:creData> element
contains the following child elements:getName and
setName to get and set the element.getCreateDate and
setCreateDate to get and set the element.EPPRegistryCreateCmd,
Serialized Formextensions, TRANSFER_CLIENT_APPROVED, TRANSFER_CLIENT_CANCELLED, TRANSFER_CLIENT_REJECTED, TRANSFER_PENDING, TRANSFER_SERVER_APPROVED, TRANSFER_SERVER_CANCELLED| Constructor and Description |
|---|
EPPRegistryCreateResp()
EPPRegistryCreateResp default constructor. |
EPPRegistryCreateResp(EPPTransId aTransId,
java.lang.String name)
EPPRegistryCreateResp constructor that takes name
values as parameters. |
EPPRegistryCreateResp(EPPTransId aTransId,
java.lang.String name,
java.util.Date createDate)
EPPRegistryCreateResp constructor that takes required values
as parameters. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Clone
EPPRegistryCreateResp. |
protected void |
doDecode(org.w3c.dom.Element aElement)
Decode the
EPPRegistryCreateResp 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
EPPRegistryCreateResp instance. |
boolean |
equals(java.lang.Object aObject)
Compare an instance of
EPPRegistryCreateResp with this
instance. |
java.util.Date |
getCreateDate()
Get the zone object creation date.
|
java.lang.String |
getName()
Get the name of the zone object created.
|
java.lang.String |
getNamespace()
Gets the EPP command Namespace associated with
EPPRegistryCreateResp. |
java.lang.String |
getType()
Gets the EPP command type associated with
EPPRegistryCreateResp. |
void |
setCreateDate(java.util.Date createDate)
Set the zone object creation date.
|
void |
setName(java.lang.String name)
Set the name of the zone object created.
|
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, hasExtension, hasExtensions, hasMessageQueue, hasMsgQueue, hasResultCode, isSuccess, setExtension, setExtensions, setMsgQueue, setResult, setResult, setResult, setResult, setResults, setTransIdpublic EPPRegistryCreateResp()
EPPRegistryCreateResp default constructor. Must call
required setter methods before encode. the defaults include the
following:name is set to nullcreateDate date is set to nullname must be set before invoking encode.public EPPRegistryCreateResp(EPPTransId aTransId, java.lang.String name)
EPPRegistryCreateResp constructor that takes name
values as parameters. encode.aTransId - transaction Id associated with responsename - name of zone objectpublic EPPRegistryCreateResp(EPPTransId aTransId, java.lang.String name, java.util.Date createDate)
EPPRegistryCreateResp constructor that takes required values
as parameters. aTransId - transaction Id associated with responsename - name of zone objectcreateDate - creation date of the zone objectpublic java.lang.String getType()
EPPRegistryCreateResp.getType in class EPPResponseEPPRegistryCreateResp.ELM_NAMEpublic java.lang.String getNamespace()
EPPRegistryCreateResp.getNamespace in interface EPPCodecComponentgetNamespace in interface EPPMessagegetNamespace in class EPPResponseEPPRegistryMapFactory.NSpublic boolean equals(java.lang.Object aObject)
EPPRegistryCreateResp with this
instance.equals in class EPPResponseaObject - Object to compare with.true if this object is the same as the aObject argument;
false otherwisepublic java.lang.Object clone()
throws java.lang.CloneNotSupportedException
EPPRegistryCreateResp.clone in interface EPPCodecComponentclone in class EPPResponseEPPRegistryCreateRespjava.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.protected org.w3c.dom.Element doEncode(org.w3c.dom.Document aDocument)
throws EPPEncodeException
EPPRegistryCreateResp instance.doEncode in class EPPResponseaDocument - DOM Document that is being built. Used as an Element factory.EPPRegistryCreateResp instance.EPPEncodeException - Unable to encode EPPRegistryCreateResp
instance.protected void doDecode(org.w3c.dom.Element aElement)
throws EPPDecodeException
EPPRegistryCreateResp attributes from the
aElement DOM Element tree.doDecode in class EPPResponseaElement - Root DOM Element to decode EPPRegistryCreateResp
from.EPPDecodeException - Unable to decode aElementpublic java.lang.String getName()
String of zone objectpublic void setName(java.lang.String name)
name - Name String of zone objectpublic java.util.Date getCreateDate()
public void setCreateDate(java.util.Date createDate)
createDate - zone object creation dateCopyright © VeriSign Inc. All Rights Reserved.