Class EPPValidateCheckResp
- java.lang.Object
-
- com.verisign.epp.codec.gen.EPPResponse
-
- com.verisign.epp.codec.validate.v02.EPPValidateCheckResp
-
- All Implemented Interfaces:
EPPCodecComponent,EPPMessage,java.io.Serializable,java.lang.Cloneable
public class EPPValidateCheckResp extends EPPResponse
Provides the response to aEPPValidateCheckCmdthat indicates whether or not the contacts are valid for the referenced contact type and TLD.- See Also:
EPPValidateCheckCmd,EPPValidateCheckResult, Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringELM_LOCALNAMEConstant for the name verification check response-
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
Constructors Constructor Description EPPValidateCheckResp()EPPValidateCheckRespdefault constructor.EPPValidateCheckResp(EPPTransId aTransId)EPPValidateCheckRespconstructor that sets the transaction identifier.EPPValidateCheckResp(EPPTransId aTransId, EPPValidateCheckResult aResult)EPPValidateCheckRespconstructor that will set the result of an individual result.EPPValidateCheckResp(EPPTransId aTransId, java.util.List<EPPValidateCheckResult> aResults)EPPValidateCheckRespconstructor that will set the result of multiple results.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddResult(EPPValidateCheckResult aResult)Adds a result to the list of check results.java.lang.Objectclone()CloneEPPValidateCheckResp.protected voiddoDecode(org.w3c.dom.Element aElement)Decode theEPPValidateCheckRespattributes from the aElement DOM Element tree.protected org.w3c.dom.ElementdoEncode(org.w3c.dom.Document aDocument)Encode a DOM Element tree from the attributes of theEPPValidateCheckRespinstance.booleanequals(java.lang.Object aObject)Compare an instance ofEPPValidateCheckRespwith this instance.java.util.List<EPPValidateCheckResult>getCheckResults()Get the results of aEPPValidateCheckRespResponse.java.lang.StringgetNamespace()Get the EPP command Namespace associated withEPPValidateCheckResp.java.lang.StringgetType()Get the EPP response type associated withEPPValidateCheckResp.voidsetCheckResults(java.util.List<EPPValidateCheckResult> aResults)Set the results of aEPPValidateCheckRespResponse.java.lang.StringtoString()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 Detail
-
ELM_LOCALNAME
public static final java.lang.String ELM_LOCALNAME
Constant for the name verification check response- See Also:
- Constant Field Values
-
-
Constructor Detail
-
EPPValidateCheckResp
public EPPValidateCheckResp()
EPPValidateCheckRespdefault constructor.
-
EPPValidateCheckResp
public EPPValidateCheckResp(EPPTransId aTransId)
EPPValidateCheckRespconstructor that sets the transaction identifier.- Parameters:
aTransId- Transaction Id associated with response.
-
EPPValidateCheckResp
public EPPValidateCheckResp(EPPTransId aTransId, EPPValidateCheckResult aResult)
EPPValidateCheckRespconstructor that will set the result of an individual result.- Parameters:
aTransId- Transaction Id associated with response.aResult- Result of a single label.
-
EPPValidateCheckResp
public EPPValidateCheckResp(EPPTransId aTransId, java.util.List<EPPValidateCheckResult> aResults)
EPPValidateCheckRespconstructor that will set the result of multiple results.- Parameters:
aTransId- Transaction Id associated with response.aResults- List ofEPPValidateCheckResultinstances.
-
-
Method Detail
-
getType
public java.lang.String getType()
Get the EPP response type associated withEPPValidateCheckResp.- Overrides:
getTypein classEPPResponse- Returns:
- EPPValidateCheckResp.ELM_NAME
-
getNamespace
public java.lang.String getNamespace()
Get the EPP command Namespace associated withEPPValidateCheckResp.- Specified by:
getNamespacein interfaceEPPCodecComponent- Specified by:
getNamespacein interfaceEPPMessage- Overrides:
getNamespacein classEPPResponse- Returns:
EPPValidateMapFactory.NS
-
equals
public boolean equals(java.lang.Object aObject)
Compare an instance ofEPPValidateCheckRespwith this instance.- Overrides:
equalsin classEPPResponse- Parameters:
aObject- Object to compare with.- Returns:
trueif equal;falseotherwise.
-
clone
public java.lang.Object clone() throws java.lang.CloneNotSupportedExceptionCloneEPPValidateCheckResp.- Specified by:
clonein interfaceEPPCodecComponent- Overrides:
clonein classEPPResponse- Returns:
- clone of
EPPValidateCheckResp - Throws:
java.lang.CloneNotSupportedException- standard Object.clone exception
-
toString
public java.lang.String toString()
Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent.- Overrides:
toStringin classEPPResponse- Returns:
- Indented XML
Stringif successful;ERRORotherwise.
-
addResult
public void addResult(EPPValidateCheckResult aResult)
Adds a result to the list of check results.- Parameters:
aResult- Result to add.
-
setCheckResults
public void setCheckResults(java.util.List<EPPValidateCheckResult> aResults)
Set the results of aEPPValidateCheckRespResponse. There is oneEPPValidateCheckResultinstance inaResultsfor each contact requested in theEPPValidateCheckCmdCommand.- Parameters:
aResults- List ofEPPValidateCheckResultinstances.
-
getCheckResults
public java.util.List<EPPValidateCheckResult> getCheckResults()
Get the results of aEPPValidateCheckRespResponse.- Returns:
- List of
EPPValidateCheckResultinstances.
-
doEncode
protected org.w3c.dom.Element doEncode(org.w3c.dom.Document aDocument) throws EPPEncodeExceptionEncode a DOM Element tree from the attributes of theEPPValidateCheckRespinstance.- Overrides:
doEncodein classEPPResponse- Parameters:
aDocument- DOM Document that is being built. Used as an Element factory.- Returns:
- Element Root DOM Element representing the
EPPValidateCheckRespinstance. - Throws:
EPPEncodeException- Unable to encodeEPPValidateCheckRespinstance.
-
doDecode
protected void doDecode(org.w3c.dom.Element aElement) throws EPPDecodeExceptionDecode theEPPValidateCheckRespattributes from the aElement DOM Element tree.- Overrides:
doDecodein classEPPResponse- Parameters:
aElement- Root DOM Element to decodeEPPValidateCheckRespfrom.- Throws:
EPPDecodeException- Unable to decode aElement
-
-