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 aEPPValidateCheckCmd
that 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.String
ELM_LOCALNAME
Constant 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()
EPPValidateCheckResp
default constructor.EPPValidateCheckResp(EPPTransId aTransId)
EPPValidateCheckResp
constructor that sets the transaction identifier.EPPValidateCheckResp(EPPTransId aTransId, EPPValidateCheckResult aResult)
EPPValidateCheckResp
constructor that will set the result of an individual result.EPPValidateCheckResp(EPPTransId aTransId, java.util.List<EPPValidateCheckResult> aResults)
EPPValidateCheckResp
constructor that will set the result of multiple results.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addResult(EPPValidateCheckResult aResult)
Adds a result to the list of check results.java.lang.Object
clone()
CloneEPPValidateCheckResp
.protected void
doDecode(org.w3c.dom.Element aElement)
Decode theEPPValidateCheckResp
attributes from the aElement DOM Element tree.protected org.w3c.dom.Element
doEncode(org.w3c.dom.Document aDocument)
Encode a DOM Element tree from the attributes of theEPPValidateCheckResp
instance.boolean
equals(java.lang.Object aObject)
Compare an instance ofEPPValidateCheckResp
with this instance.java.util.List<EPPValidateCheckResult>
getCheckResults()
Get the results of aEPPValidateCheckResp
Response.java.lang.String
getNamespace()
Get the EPP command Namespace associated withEPPValidateCheckResp
.java.lang.String
getType()
Get the EPP response type associated withEPPValidateCheckResp
.void
setCheckResults(java.util.List<EPPValidateCheckResult> aResults)
Set the results of aEPPValidateCheckResp
Response.java.lang.String
toString()
Implementation ofObject.toString
, which will result in an indented XMLString
representation 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()
EPPValidateCheckResp
default constructor.
-
EPPValidateCheckResp
public EPPValidateCheckResp(EPPTransId aTransId)
EPPValidateCheckResp
constructor that sets the transaction identifier.- Parameters:
aTransId
- Transaction Id associated with response.
-
EPPValidateCheckResp
public EPPValidateCheckResp(EPPTransId aTransId, EPPValidateCheckResult aResult)
EPPValidateCheckResp
constructor 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)
EPPValidateCheckResp
constructor that will set the result of multiple results.- Parameters:
aTransId
- Transaction Id associated with response.aResults
- List ofEPPValidateCheckResult
instances.
-
-
Method Detail
-
getType
public java.lang.String getType()
Get the EPP response type associated withEPPValidateCheckResp
.- Overrides:
getType
in classEPPResponse
- Returns:
- EPPValidateCheckResp.ELM_NAME
-
getNamespace
public java.lang.String getNamespace()
Get the EPP command Namespace associated withEPPValidateCheckResp
.- Specified by:
getNamespace
in interfaceEPPCodecComponent
- Specified by:
getNamespace
in interfaceEPPMessage
- Overrides:
getNamespace
in classEPPResponse
- Returns:
EPPValidateMapFactory.NS
-
equals
public boolean equals(java.lang.Object aObject)
Compare an instance ofEPPValidateCheckResp
with this instance.- Overrides:
equals
in classEPPResponse
- Parameters:
aObject
- Object to compare with.- Returns:
true
if equal;false
otherwise.
-
clone
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
CloneEPPValidateCheckResp
.- Specified by:
clone
in interfaceEPPCodecComponent
- Overrides:
clone
in 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 XMLString
representation of the concreteEPPCodecComponent
.- Overrides:
toString
in classEPPResponse
- Returns:
- Indented XML
String
if successful;ERROR
otherwise.
-
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 aEPPValidateCheckResp
Response. There is oneEPPValidateCheckResult
instance inaResults
for each contact requested in theEPPValidateCheckCmd
Command.- Parameters:
aResults
- List ofEPPValidateCheckResult
instances.
-
getCheckResults
public java.util.List<EPPValidateCheckResult> getCheckResults()
Get the results of aEPPValidateCheckResp
Response.- Returns:
- List of
EPPValidateCheckResult
instances.
-
doEncode
protected org.w3c.dom.Element doEncode(org.w3c.dom.Document aDocument) throws EPPEncodeException
Encode a DOM Element tree from the attributes of theEPPValidateCheckResp
instance.- Overrides:
doEncode
in classEPPResponse
- Parameters:
aDocument
- DOM Document that is being built. Used as an Element factory.- Returns:
- Element Root DOM Element representing the
EPPValidateCheckResp
instance. - Throws:
EPPEncodeException
- Unable to encodeEPPValidateCheckResp
instance.
-
doDecode
protected void doDecode(org.w3c.dom.Element aElement) throws EPPDecodeException
Decode theEPPValidateCheckResp
attributes from the aElement DOM Element tree.- Overrides:
doDecode
in classEPPResponse
- Parameters:
aElement
- Root DOM Element to decodeEPPValidateCheckResp
from.- Throws:
EPPDecodeException
- Unable to decode aElement
-
-