Class EPPRegistryCreateResp
java.lang.Object
com.verisign.epp.codec.gen.EPPResponse
com.verisign.epp.codec.registry.v02.EPPRegistryCreateResp
- All Implemented Interfaces:
EPPCodecComponent,EPPMessage,Serializable,Cloneable
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:- A <registry:name> element that contains the fully qualified name of
zone object that has been created. Use
getNameandsetNameto get and set the element. - A <registry.crDate> element that contains the date and time of zone
object creation. Use
getCreateDateandsetCreateDateto get and set the element.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringXML local name forEPPRegistryCreateResp.static final StringXML root tag forEPPRegistryCreateResp.Fields inherited from class com.verisign.epp.codec.gen.EPPResponse
ELM_EXTENSION, ELM_MESSAGE_QUEUE, ELM_MESSAGE_QUEUE_QDATE, ELM_RESPONSE_DATA, extensions, TRANSFER_CLIENT_APPROVED, TRANSFER_CLIENT_CANCELLED, TRANSFER_CLIENT_REJECTED, TRANSFER_PENDING, TRANSFER_SERVER_APPROVED, TRANSFER_SERVER_CANCELLED -
Constructor Summary
ConstructorsConstructorDescriptionEPPRegistryCreateRespdefault constructor.EPPRegistryCreateResp(EPPTransId aTransId, EPPRegistryZoneName aName) EPPRegistryCreateRespconstructor that takes thenamevalue as a parameter.EPPRegistryCreateResp(EPPTransId aTransId, EPPRegistryZoneName aName, Date aCreateDate) EPPRegistryCreateRespconstructor that takes required values as parameters.EPPRegistryCreateResp(EPPTransId aTransId, String aName) EPPRegistryCreateRespconstructor that takes the aLabelnamevalue as a parameter.EPPRegistryCreateResp(EPPTransId aTransId, String aName, Date aCreateDate) EPPRegistryCreateRespconstructor that takes required values as parameters. -
Method Summary
Modifier and TypeMethodDescriptionclone()CloneEPPRegistryCreateResp.protected voidDecode theEPPRegistryCreateRespattributes from theaElementDOM Element tree.protected ElementEncode a DOM Element tree from the attributes of theEPPRegistryCreateRespinstance.booleanCompare an instance ofEPPRegistryCreateRespwith this instance.Get the zone object creation date.getName()Gets the zone name.Gets the EPP command Namespace associated withEPPRegistryCreateResp.getType()Gets the EPP command type associated withEPPRegistryCreateResp.voidsetCreateDate(Date createDate) Set the zone object creation date.voidsetName(EPPRegistryZoneName aName) Sets the zone namevoidSets the aLabel zone nametoString()Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent.Methods inherited from class com.verisign.epp.codec.gen.EPPResponse
addExtension, decode, encode, findDuplicateExtNamespaces, findExtNamespaces, findExtNamespaceSuffixes, findUnsupportedExtNamespaces, findUnsupportedExtNamespaceSuffixes, 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
-
Field Details
-
ELM_LOCALNAME
XML local name forEPPRegistryCreateResp.- See Also:
-
ELM_NAME
XML root tag forEPPRegistryCreateResp.- See Also:
-
-
Constructor Details
-
EPPRegistryCreateResp
public EPPRegistryCreateResp()EPPRegistryCreateRespdefault constructor. Must call required setter methods before encode. the defaults include the following:
nameis set tonullcreateDatedate is set tonull
namemust be set before invokingencode. -
EPPRegistryCreateResp
EPPRegistryCreateRespconstructor that takes the aLabelnamevalue as a parameter. The creation date must be set before invoking#encode(Document).- Parameters:
aTransId- transaction Id associated with responseaName- aLabel name of zone object
-
EPPRegistryCreateResp
EPPRegistryCreateRespconstructor that takes thenamevalue as a parameter. The creation date must be set before invoking#encode(Document).- Parameters:
aTransId- transaction Id associated with responseaName- name of zone object
-
EPPRegistryCreateResp
EPPRegistryCreateRespconstructor that takes required values as parameters.- Parameters:
aTransId- transaction Id associated with responseaName- aLabel name of zone objectaCreateDate- creation date of the zone object
-
EPPRegistryCreateResp
EPPRegistryCreateRespconstructor that takes required values as parameters.- Parameters:
aTransId- transaction Id associated with responseaName- name of zone objectaCreateDate- creation date of the zone object
-
-
Method Details
-
getType
Gets the EPP command type associated withEPPRegistryCreateResp.- Overrides:
getTypein classEPPResponse- Returns:
EPPRegistryCreateResp.ELM_NAME
-
getNamespace
Gets the EPP command Namespace associated withEPPRegistryCreateResp.- Specified by:
getNamespacein interfaceEPPCodecComponent- Specified by:
getNamespacein interfaceEPPMessage- Overrides:
getNamespacein classEPPResponse- Returns:
EPPRegistryMapFactory.NS
-
equals
Compare an instance ofEPPRegistryCreateRespwith this instance.- Overrides:
equalsin classEPPResponse- Parameters:
aObject- Object to compare with.- Returns:
trueif this object is the same as the aObject argument;falseotherwise
-
clone
CloneEPPRegistryCreateResp.- Specified by:
clonein interfaceEPPCodecComponent- Overrides:
clonein classEPPResponse- Returns:
- clone of
EPPRegistryCreateResp - Throws:
CloneNotSupportedException- standard Object.clone exception
-
toString
Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent.- Overrides:
toStringin classEPPResponse- Returns:
- Indented XML
Stringif successful;ERRORotherwise.
-
doEncode
Encode a DOM Element tree from the attributes of theEPPRegistryCreateRespinstance.- Overrides:
doEncodein classEPPResponse- Parameters:
aDocument- DOM Document that is being built. Used as an Element factory.- Returns:
- Element Root DOM Element representing the
EPPRegistryCreateRespinstance. - Throws:
EPPEncodeException- Unable to encodeEPPRegistryCreateRespinstance.
-
doDecode
Decode theEPPRegistryCreateRespattributes from theaElementDOM Element tree.- Overrides:
doDecodein classEPPResponse- Parameters:
aElement- Root DOM Element to decodeEPPRegistryCreateRespfrom.- Throws:
EPPDecodeException- Unable to decodeaElement
-
getName
Gets the zone name.- Returns:
- Zone name if set;
nullotherwise.
-
setName
Sets the zone name- Parameters:
aName- Zone name
-
setName
Sets the aLabel zone name- Parameters:
aName- aLabel zone name
-
getCreateDate
Get the zone object creation date.- Returns:
- zone object creation date
-
setCreateDate
Set the zone object creation date.- Parameters:
createDate- zone object creation date
-