Package com.verisign.epp.codec.change
Class EPPChangeCheckResp
java.lang.Object
com.verisign.epp.codec.gen.EPPResponse
com.verisign.epp.codec.change.EPPChangeCheckResp
- All Implemented Interfaces:
EPPCodecComponent,EPPMessage,Serializable,Cloneable
An
EPPChangeCheckResp provides an answer to an
EPPChangeCheckCmd and includes the following attributes:- 1 or more <change:cd> elements that represent EPPChangeCheckData.
Each <change:cd> contains the
change:requestIDas well as anexistsattribute describing whether the Change Request was found on the server. Use addCheckData, clearCheckData, getCheckData, and setCheckData to manipulate the CheckData assoicated with this Check Response.
- 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
ConstructorsConstructorDescriptionEPPChangeCheckResp(EPPTransId aTransId) Creates anEPPChangeCheckRespsetting the transaction id.EPPChangeCheckResp(EPPTransId aTransId, EPPChangeCheckData datum) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCheckData(EPPChangeCheckData datum) voidclone()Does a deep clone of theEPPChangeCheckRespinstance.protected voidDecode theEPPChangeCheckRespattributes from the aElement DOM Element tree.protected ElementEncode a DOM Element tree from the attributes of theEPPChangeCheckRespinstance.booleanCompare an instance ofEPPChangeCheckRespwith this instanceGets the EPP command namespace associated withEPPChangeCheckResp.getType()Gets the EPP response type associated withEPPChangeCheckResp.voidsetCheckData(ArrayList checkData) 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
-
EPPChangeCheckResp
public EPPChangeCheckResp() -
EPPChangeCheckResp
Creates anEPPChangeCheckRespsetting the transaction id.- Parameters:
aTransId- The transaction id containing the server transaction and optionally the client transaction id
-
EPPChangeCheckResp
-
-
Method Details
-
addCheckData
-
clearCheckData
public void clearCheckData() -
clone
Does a deep clone of theEPPChangeCheckRespinstance.- Specified by:
clonein interfaceEPPCodecComponent- Overrides:
clonein classEPPResponse- Returns:
- Cloned instance
- Throws:
CloneNotSupportedException- standard Object.clone exception
-
equals
Compare an instance ofEPPChangeCheckRespwith this instance- Overrides:
equalsin classEPPResponse- Parameters:
o-EPPResponseinstance to compare with- Returns:
trueif equal;falseotherwise
-
getCheckData
-
getNamespace
Gets the EPP command namespace associated withEPPChangeCheckResp.- Specified by:
getNamespacein interfaceEPPCodecComponent- Specified by:
getNamespacein interfaceEPPMessage- Overrides:
getNamespacein classEPPResponse- Returns:
EPPChangeMapFactory.NS
-
getType
Gets the EPP response type associated withEPPChangeCheckResp.- Overrides:
getTypein classEPPResponse- Returns:
EPPChangeCheckResp.ELM_NAME
-
setCheckData
-
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 theEPPChangeCheckRespattributes from the aElement DOM Element tree.- Overrides:
doDecodein classEPPResponse- Parameters:
aElement- Root DOM Element to decodeEPPChangeCheckRespfrom.- Throws:
EPPDecodeException- Unable to decode aElement
-
doEncode
Encode a DOM Element tree from the attributes of theEPPChangeCheckRespinstance.- Overrides:
doEncodein classEPPResponse- Parameters:
aDocument- DOM Document that is being built. Used as an Element factory.- Returns:
- Root DOM Element representing the
EPPChangeCheckRespinstance. - Throws:
EPPEncodeException- Unable to encodeEPPChangeCheckRespinstance.
-