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 Form| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ELM_LOCALNAME
XML local name for
EPPRegistryCreateResp. |
static java.lang.String |
ELM_NAME
XML root tag for
EPPRegistryCreateResp. |
extensions, 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,
EPPRegistryZoneName aName)
EPPRegistryCreateResp constructor that takes the name
value as a parameter. |
EPPRegistryCreateResp(EPPTransId aTransId,
EPPRegistryZoneName aName,
java.util.Date aCreateDate)
EPPRegistryCreateResp constructor that takes required values as
parameters. |
EPPRegistryCreateResp(EPPTransId aTransId,
java.lang.String aName)
EPPRegistryCreateResp constructor that takes the aLabel
name value as a parameter. |
EPPRegistryCreateResp(EPPTransId aTransId,
java.lang.String aName,
java.util.Date aCreateDate)
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.
|
EPPRegistryZoneName |
getName()
Gets the zone name.
|
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(EPPRegistryZoneName aName)
Sets the zone name
|
void |
setName(java.lang.String aName)
Sets the aLabel zone name
|
java.lang.String |
toString()
Implementation of
Object.toString, which will result in an
indented XML String representation of the concrete
EPPCodecComponent. |
addExtension, decode, encode, findDuplicateExtNamespaces, 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 static final java.lang.String ELM_LOCALNAME
EPPRegistryCreateResp.public static final java.lang.String ELM_NAME
EPPRegistryCreateResp.public 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 aName)
EPPRegistryCreateResp constructor that takes the aLabel
name value as a parameter. The creation date must be set before
invoking #encode(Document).aTransId - transaction Id associated with responseaName - aLabel name of zone objectpublic EPPRegistryCreateResp(EPPTransId aTransId, EPPRegistryZoneName aName)
EPPRegistryCreateResp constructor that takes the name
value as a parameter. The creation date must be set before invoking
#encode(Document).aTransId - transaction Id associated with responseaName - name of zone objectpublic EPPRegistryCreateResp(EPPTransId aTransId, java.lang.String aName, java.util.Date aCreateDate)
EPPRegistryCreateResp constructor that takes required values as
parameters.aTransId - transaction Id associated with responseaName - aLabel name of zone objectaCreateDate - creation date of the zone objectpublic EPPRegistryCreateResp(EPPTransId aTransId, EPPRegistryZoneName aName, java.util.Date aCreateDate)
EPPRegistryCreateResp constructor that takes required values as
parameters.aTransId - transaction Id associated with responseaName - name of zone objectaCreateDate - 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 EPPRegistryZoneName getName()
null otherwise.public void setName(EPPRegistryZoneName aName)
aName - Zone namepublic void setName(java.lang.String aName)
aName - aLabel zone namepublic java.util.Date getCreateDate()
public void setCreateDate(java.util.Date createDate)
createDate - zone object creation date