Package com.verisign.epp.codec.org
Class EPPOrgCreateResp
java.lang.Object
com.verisign.epp.codec.gen.EPPResponse
com.verisign.epp.codec.org.EPPOrgCreateResp
- All Implemented Interfaces:
EPPCodecComponent,EPPMessage,Serializable,Cloneable
Represents an EPP Internationalized Domain Name (IDN) Table <info>
response, which support three different forms:
- Domain Info Form - Used to validate the domain name code points against the IDN Tables and IDN Policies, and to return the matching IDN Table meta-data.
- Table Info Form - Used to retrieve information associated with an IDN Table object.
- List Info Form - Used to retrieve the list of IDN Tables supported by the server.
EPPOrgInfoCmd is the concrete EPPCommand associated
with EPPOrgInfoCmd.- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringXML local name forEPPOrgCreateResp.static final StringXML root tag forEPPOrgCreateResp.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
ConstructorsConstructorDescriptionEPPOrgCreateRespdefault constructor.EPPOrgCreateResp(EPPTransId aTransId) EPPOrgCreateRespconstructor that only takes the transaction identifier.EPPOrgCreateResp(EPPTransId aTransId, String aOrgId, Date aCreatedDate) EPPOrgCreateRespconstructor that all attributes as parameters. -
Method Summary
Modifier and TypeMethodDescriptionclone()CloneEPPOrgCreateResp.protected voidDecode theEPPOrgCreateRespattributes from the aElement DOM Element tree.protected ElementEncode a DOM Element tree from the attributes of theEPPOrgCreateRespinstance.booleanCompare an instance ofEPPOrgCreateRespwith this instance.Gets the EPP command namespace associated withEPPOrgCreateResp.getOrgId()Gets the the server-unique identifier of the organization object.getType()Gets the EPP response type associated withEPPOrgCreateResp.voidsetCreatedDate(Date aCreatedDate) voidSets the org identifier.toString()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 forEPPOrgCreateResp.- See Also:
-
ELM_NAME
XML root tag forEPPOrgCreateResp.- See Also:
-
-
Constructor Details
-
EPPOrgCreateResp
public EPPOrgCreateResp()EPPOrgCreateRespdefault constructor. -
EPPOrgCreateResp
EPPOrgCreateRespconstructor that only takes the transaction identifier.- Parameters:
aTransId- Transaction Id associated with response.
-
EPPOrgCreateResp
EPPOrgCreateRespconstructor that all attributes as parameters.- Parameters:
aTransId- Transaction Id associated with command. Set tonullif a client transaction identifier is not desired.aOrgId- Org identifieraCreatedDate- Org created date
-
-
Method Details
-
getOrgId
Gets the the server-unique identifier of the organization object.- Returns:
- The the server-unique identifier of the organization object if
defined;
nullotherwise.
-
setOrgId
Sets the org identifier.- Parameters:
aOrgId- The org identifier
-
getCreatedDate
- Returns:
- the createdDate
-
setCreatedDate
- Parameters:
aCreatedDate- the createdDate to set
-
doEncode
Encode a DOM Element tree from the attributes of theEPPOrgCreateRespinstance.- Overrides:
doEncodein classEPPResponse- Parameters:
aDocument- DOM Document that is being built. Used as an Element factory.- Returns:
- Element Root DOM Element representing the EPPOrgCreateResp instance.
- Throws:
EPPEncodeException- Unable to encode EPPOrgCreateResp instance.
-
doDecode
Decode theEPPOrgCreateRespattributes from the aElement DOM Element tree.- Overrides:
doDecodein classEPPResponse- Parameters:
aElement- Root DOM Element to decodeEPPOrgCreateRespfrom.- Throws:
EPPDecodeException- Unable to decode aElement
-
clone
CloneEPPOrgCreateResp.- Specified by:
clonein interfaceEPPCodecComponent- Overrides:
clonein classEPPResponse- Returns:
- clone of
EPPOrgCreateResp - Throws:
CloneNotSupportedException- standard Object.clone exception
-
getType
Gets the EPP response type associated withEPPOrgCreateResp.- Overrides:
getTypein classEPPResponse- Returns:
EPPOrgCreateResp.ELM_NAME
-
getNamespace
Gets the EPP command namespace associated withEPPOrgCreateResp.- Specified by:
getNamespacein interfaceEPPCodecComponent- Specified by:
getNamespacein interfaceEPPMessage- Overrides:
getNamespacein classEPPResponse- Returns:
EPPOrgMapFactory.NS
-
equals
Compare an instance ofEPPOrgCreateRespwith this instance.- Overrides:
equalsin classEPPResponse- Parameters:
aObject- Object to compare with.- Returns:
trueif this object is the same as the aObject argument;falseotherwise
-
toString
Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent.- Overrides:
toStringin classEPPResponse- Returns:
- Indented XML
Stringif successful;ERRORotherwise.
-