|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.verisign.epp.codec.gen.EPPResponse
com.verisign.epp.codec.registry.EPPRegistryCreateResp
public class EPPRegistryCreateResp
Represents an EPP Registry <registry:creData> response to a
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 FormField Summary |
---|
Fields inherited from class com.verisign.epp.codec.gen.EPPResponse |
---|
extensions, TRANSFER_CLIENT_APPROVED, TRANSFER_CLIENT_CANCELLED, TRANSFER_CLIENT_REJECTED, TRANSFER_PENDING, TRANSFER_SERVER_APPROVED, TRANSFER_SERVER_CANCELLED |
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
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 . |
Methods inherited from class com.verisign.epp.codec.gen.EPPResponse |
---|
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, setTransId |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public EPPRegistryCreateResp()
EPPRegistryCreateResp
default constructor. Must call
required setter methods before encode. the defaults include the
following:name
is set to null
createDate
date is set to null
name
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 objectMethod Detail |
---|
public java.lang.String getType()
EPPRegistryCreateResp
.
getType
in class EPPResponse
EPPRegistryCreateResp.ELM_NAME
public java.lang.String getNamespace()
EPPRegistryCreateResp
.
getNamespace
in interface EPPMessage
getNamespace
in class EPPResponse
EPPRegistryMapFactory.NS
public boolean equals(java.lang.Object aObject)
EPPRegistryCreateResp
with this
instance.
equals
in class EPPResponse
aObject
- 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 EPPCodecComponent
clone
in class EPPResponse
EPPRegistryCreateResp
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 EPPResponse
String
if successful;
ERROR
otherwise.protected org.w3c.dom.Element doEncode(org.w3c.dom.Document aDocument) throws EPPEncodeException
EPPRegistryCreateResp
instance.
doEncode
in class EPPResponse
aDocument
- 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 EPPResponse
aElement
- Root DOM Element to decode EPPRegistryCreateResp
from.
EPPDecodeException
- Unable to decode aElement
public 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 date
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |