public class EPPDefRegCreateResp extends EPPResponse
EPPDefRegCreateCmd. When a <crate> command has been
processed successfully, the EPP <resData> element MUSt contain a
child <defReg:creData> element that identifies the defReg namespace
and the location of the defReg schema. The <defReg:creData> element
contains the following child elements:getName and setName to get and set the
element.
getRoid and setRoid to get and set
the element.
getCreationDate and
setCreationDate to get and set the element.
getExpirationDate and
setExpirationDate to get and set the element.
EPPDefRegCreateCmd,
Serialized Formextensions, TRANSFER_CLIENT_APPROVED, TRANSFER_CLIENT_CANCELLED, TRANSFER_CLIENT_REJECTED, TRANSFER_PENDING, TRANSFER_SERVER_APPROVED, TRANSFER_SERVER_CANCELLED| Constructor and Description |
|---|
EPPDefRegCreateResp()
EPPDefRegCreateResp default constructor. |
EPPDefRegCreateResp(EPPTransId aTransId,
EPPDefRegName aName,
java.lang.String aRoid)
EPPDefRegCreateResp constructor that takes the required
attribute values as parameters. |
EPPDefRegCreateResp(EPPTransId aTransId,
EPPDefRegName aName,
java.lang.String aRoid,
java.util.Date aCreationDate)
EPPDefRegCreateResp constructor that takes the required
attribute values as parameters. |
EPPDefRegCreateResp(EPPTransId aTransId,
EPPDefRegName aName,
java.lang.String aRoid,
java.util.Date aCreationDate,
java.util.Date aExpirationDate)
EPPDefRegCreateResp constructor that takes the required
attribute values as parameters. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Clone
EPPDefRegCreateResp. |
protected void |
doDecode(org.w3c.dom.Element aElement)
Decode the
EPPDefRegCreateResp 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
EPPDefRegCreateResp instance. |
boolean |
equals(java.lang.Object aObject)
Compare an instance of
EPPDefRegCreateResp with this
instance. |
java.util.Date |
getCreationDate()
Get creation date.
|
java.util.Date |
getExpirationDate()
Gets the expiration date and time of the defReg.
|
EPPDefRegName |
getName()
Gets the defReg name
|
java.lang.String |
getNamespace()
Gets the EPP command Namespace associated with
EPPDefRegCreateResp. |
java.lang.String |
getRoid()
Gets the defReg roid
|
java.lang.String |
getType()
Gets the EPP command type associated with
EPPDefRegCreateResp. |
void |
setCreationDate(java.util.Date newCrDate)
Set creation date.
|
void |
setExpirationDate(java.util.Date aExpirationDate)
Sets the expiration date and time of the defReg.
|
void |
setName(EPPDefRegName aName)
Sets the defReg name.
|
void |
setRoid(java.lang.String aRoid)
Sets the defReg roid.
|
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 EPPDefRegCreateResp()
EPPDefRegCreateResp default constructor. Must call
required setter methods before encode. the defaults include the
following: null
null
null
encode. The
roid must be set before invoking encode.public EPPDefRegCreateResp(EPPTransId aTransId, EPPDefRegName aName, java.lang.String aRoid)
EPPDefRegCreateResp constructor that takes the required
attribute values as parameters. encode.aTransId - Transaction Id associated with response.aName - DefReg nameaRoid - DefReg roidpublic EPPDefRegCreateResp(EPPTransId aTransId, EPPDefRegName aName, java.lang.String aRoid, java.util.Date aCreationDate)
EPPDefRegCreateResp constructor that takes the required
attribute values as parameters.aTransId - transaction Id associated with response.aName - defReg nameaRoid - defReg roidaCreationDate - creation date of the defRegpublic EPPDefRegCreateResp(EPPTransId aTransId, EPPDefRegName aName, java.lang.String aRoid, java.util.Date aCreationDate, java.util.Date aExpirationDate)
EPPDefRegCreateResp constructor that takes the required
attribute values as parameters.aTransId - transaction Id associated with response.aName - defReg nameaRoid - defReg roidaCreationDate - creation date of the defRegaExpirationDate - expiration date of the defRegpublic java.lang.String getType()
EPPDefRegCreateResp.getType in class EPPResponsepublic java.lang.String getNamespace()
EPPDefRegCreateResp.getNamespace in interface EPPCodecComponentgetNamespace in interface EPPMessagegetNamespace in class EPPResponseEPPDefRegMapFactory.NSpublic boolean equals(java.lang.Object aObject)
EPPDefRegCreateResp with this
instance.equals in class EPPResponseaObject - Object to compare with.public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
EPPDefRegCreateResp.clone in interface EPPCodecComponentclone in class EPPResponseEPPDefRegCreateRespjava.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.public EPPDefRegName getName()
String instance if defined;
null otherwise.public void setName(EPPDefRegName aName)
aName - DefReg Namepublic java.lang.String getRoid()
String instance if defined;
null otherwise.public void setRoid(java.lang.String aRoid)
aRoid - DefReg Roidpublic java.util.Date getCreationDate()
public void setCreationDate(java.util.Date newCrDate)
newCrDate - Creation date and time of the defRegpublic java.util.Date getExpirationDate()
null otherwise.public void setExpirationDate(java.util.Date aExpirationDate)
aExpirationDate - Expiration date and time of the defReg.protected org.w3c.dom.Element doEncode(org.w3c.dom.Document aDocument)
throws EPPEncodeException
EPPDefRegCreateResp instance.doEncode in class EPPResponseaDocument - DOM Document that is being built. Used as an Element
factory.EPPDefRegCreateResp instance.EPPEncodeException - Unable to encode
EPPDefRegCreateResp instance.protected void doDecode(org.w3c.dom.Element aElement)
throws EPPDecodeException
EPPDefRegCreateResp attributes from the
aElement DOM Element tree.doDecode in class EPPResponseaElement - Root DOM Element to decode
EPPDefRegCreateResp from.EPPDecodeException - Unable to decode aElementCopyright © VeriSign Inc. All Rights Reserved.