Package com.verisign.epp.codec.change
Class EPPChangeInfoResp
java.lang.Object
com.verisign.epp.codec.gen.EPPResponse
com.verisign.epp.codec.change.EPPChangeInfoResp
- All Implemented Interfaces:
EPPCodecComponent,EPPMessage,Serializable,Cloneable
An
EPPChangeInfoResp provides an answer to an
EPPChangeInfoCmd and includes the following attributes:- A <change:requestID> element that contains the Request Id. Use
getRequestandsetRequestto get and set the element. - A <change:priority> element that contains the Request Priority.
Use
getPriorityandsetPriorityto get and set the element. - A <change:category> element that contains the Request Category.
Use
getCategoryandsetCategoryto get and set the element. - A <desc> element that contains the Request Description. Use
getDescriptionandsetDescriptionto get and set the element. - A <status> element that contains the Request Status. Use
getStatusandsetStatusto get and set the element. - A <crDate> element that contains the Request Created Date. Use
getCreatedDateandsetCreatedDateto get and set the element. - A <upDate> element that contains the Request Updated Date. Use
getUpdatedDateandsetUpdatedDateto get and set the element. - A <crID> element that contains the Request Created Id. Use
getCreatedIdandsetCreatedIdto get and set the element. - A <upID> element that contains the Request Updated Id. Use
getUpdatedIdandsetUpdatedIdto get and set the element. - 0 or more <action> elements that represent Change Actions. Use
addAction,clearActions,getActions, andsetActionsto manipulate these elements.
- See Also:
-
Field Summary
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
ConstructorsConstructorDescriptionDefault constructor that needs thekeyattribute and the transid attribute set prior to callingencode.EPPChangeInfoResp(EPPTransId aTransId) Creates anEPPChangeInfoResponly the transaction id set. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAction(EPPChangeAction action) voidaddCategory(String category) voidvoidclone()Does a deep clone of theEPPChangeInfoRespinstance.protected voidDecode theEPPChangeInfoRespattributes from the aElement DOM Element tree.protected ElementEncode a DOM Element tree from the attributes of theEPPChangeInfoRespinstance.booleanCompare an instance ofEPPChangeInfoRespwith this instanceGets the EPP command namespace associated withEPPChangeInfoResp.getType()Gets the EPP response type associated withEPPChangeInfoResp.voidsetActions(List actions) voidsetCategories(List categories) voidsetCreatedDate(String createdDate) voidsetCreatedDate(Date createdDate) voidsetCreatedId(String createdId) voidsetDescription(String description) voidsetPriority(String priority) voidsetRequestId(String requestId) voidvoidsetUpdatedDate(String updatedDate) voidsetUpdatedDate(Date updatedDate) voidsetUpdatedId(String updatedId) 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
-
Constructor Details
-
EPPChangeInfoResp
public EPPChangeInfoResp()Default constructor that needs thekeyattribute and the transid attribute set prior to callingencode. -
EPPChangeInfoResp
Creates anEPPChangeInfoResponly the transaction id set. Thekeyattribute must be set prior to callingencode.- Parameters:
aTransId- The transaction id containing the server transaction and optionally the client transaction id
-
-
Method Details
-
addAction
-
addCategory
-
clearActions
public void clearActions() -
clearCategories
public void clearCategories() -
clone
Does a deep clone of theEPPChangeInfoRespinstance.- Specified by:
clonein interfaceEPPCodecComponent- Overrides:
clonein classEPPResponse- Returns:
- Cloned instance
- Throws:
CloneNotSupportedException- standard Object.clone exception
-
equals
Compare an instance ofEPPChangeInfoRespwith this instance- Overrides:
equalsin classEPPResponse- Parameters:
o-EPPResponseinstance to compare with- Returns:
trueif equal;falseotherwise
-
getActions
-
getCategories
-
getCreatedDate
-
getCreatedDateString
-
getCreatedId
-
getDescription
-
getNamespace
Gets the EPP command namespace associated withEPPChangeInfoResp.- Specified by:
getNamespacein interfaceEPPCodecComponent- Specified by:
getNamespacein interfaceEPPMessage- Overrides:
getNamespacein classEPPResponse- Returns:
EPPChangeMapFactory.NS
-
getPriority
-
getRequestId
-
getStatus
-
getType
Gets the EPP response type associated withEPPChangeInfoResp.- Overrides:
getTypein classEPPResponse- Returns:
EPPChangeInfoResp.ELM_NAME
-
getUpdatedDate
-
getUpdatedDateString
-
getUpdatedId
-
setActions
-
setCategories
-
setCreatedDate
-
setCreatedDate
- Throws:
ParseException
-
setCreatedId
-
setDescription
-
setPriority
-
setRequestId
-
setStatus
-
setUpdatedDate
-
setUpdatedDate
- Throws:
ParseException
-
setUpdatedId
-
toString
Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent.- Overrides:
toStringin classEPPResponse- Returns:
- Indented XML
Stringif successful;ERRORotherwise.
-
doDecode
Decode theEPPChangeInfoRespattributes from the aElement DOM Element tree.- Overrides:
doDecodein classEPPResponse- Parameters:
aElement- Root DOM Element to decodeEPPChangeInfoRespfrom.- Throws:
EPPDecodeException- Unable to decode aElement
-
doEncode
Encode a DOM Element tree from the attributes of theEPPChangeInfoRespinstance.- Overrides:
doEncodein classEPPResponse- Parameters:
aDocument- DOM Document that is being built. Used as an Element factory.- Returns:
- Root DOM Element representing the
EPPChangeInfoRespinstance. - Throws:
EPPEncodeException- Unable to encodeEPPChangeInfoRespinstance.
-