Package com.verisign.epp.codec.nv
Class EPPNameVerificationCheckResp
- java.lang.Object
-
- com.verisign.epp.codec.gen.EPPResponse
-
- com.verisign.epp.codec.nv.EPPNameVerificationCheckResp
-
- All Implemented Interfaces:
EPPCodecComponent,EPPMessage,java.io.Serializable,java.lang.Cloneable
public class EPPNameVerificationCheckResp extends EPPResponse
Provides the response to aEPPNameVerificationCheckCmdthat indicates whether or not the labels can be used to create a Domain Name Verification (DNV) object.
-
-
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 EPPNameVerificationCheckResp()EPPNameVerificationCheckRespdefault constructor.EPPNameVerificationCheckResp(EPPTransId aTransId)EPPNameVerificationCheckRespconstructor that sets the transaction identifier.EPPNameVerificationCheckResp(EPPTransId aTransId, EPPNameVerificationCheckResult aResult)EPPNameVerificationCheckRespconstructor that will set the result of an individual label.EPPNameVerificationCheckResp(EPPTransId aTransId, java.util.List<EPPNameVerificationCheckResult> aResults)EPPNameVerificationCheckRespconstructor that will set the result of multiple labels.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddResult(EPPNameVerificationCheckResult aResult)Adds a result to the list of check results.java.lang.Objectclone()CloneEPPNameVerificationCheckResp.protected voiddoDecode(org.w3c.dom.Element aElement)Decode theEPPNameVerificationCheckRespattributes 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 theEPPNameVerificationCheckRespinstance.booleanequals(java.lang.Object aObject)Compare an instance ofEPPNameVerificationCheckRespwith this instance.java.util.List<EPPNameVerificationCheckResult>getCheckResults()Get the results of aEPPNameVerificationCheckRespResponse.java.lang.StringgetNamespace()Get the EPP command Namespace associated withEPPNameVerificationCheckResp.java.lang.StringgetType()Get the EPP response type associated withEPPNameVerificationCheckResp.voidsetCheckResults(java.util.List<EPPNameVerificationCheckResult> aResults)Set the results of aEPPNameVerificationCheckRespResponse.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
-
EPPNameVerificationCheckResp
public EPPNameVerificationCheckResp()
EPPNameVerificationCheckRespdefault constructor.
-
EPPNameVerificationCheckResp
public EPPNameVerificationCheckResp(EPPTransId aTransId)
EPPNameVerificationCheckRespconstructor that sets the transaction identifier.- Parameters:
aTransId- Transaction Id associated with response.
-
EPPNameVerificationCheckResp
public EPPNameVerificationCheckResp(EPPTransId aTransId, EPPNameVerificationCheckResult aResult)
EPPNameVerificationCheckRespconstructor that will set the result of an individual label.- Parameters:
aTransId- Transaction Id associated with response.aResult- Result of a single label.
-
EPPNameVerificationCheckResp
public EPPNameVerificationCheckResp(EPPTransId aTransId, java.util.List<EPPNameVerificationCheckResult> aResults)
EPPNameVerificationCheckRespconstructor that will set the result of multiple labels.- Parameters:
aTransId- Transaction Id associated with response.aResults- List ofEPPNameVerificationCheckResultinstances.
-
-
Method Detail
-
getType
public java.lang.String getType()
Get the EPP response type associated withEPPNameVerificationCheckResp.- Overrides:
getTypein classEPPResponse- Returns:
- EPPNameVerificationCheckResp.ELM_NAME
-
getNamespace
public java.lang.String getNamespace()
Get the EPP command Namespace associated withEPPNameVerificationCheckResp.- Specified by:
getNamespacein interfaceEPPCodecComponent- Specified by:
getNamespacein interfaceEPPMessage- Overrides:
getNamespacein classEPPResponse- Returns:
EPPNameVerificationMapFactory.NS
-
equals
public boolean equals(java.lang.Object aObject)
Compare an instance ofEPPNameVerificationCheckRespwith this instance.- Overrides:
equalsin classEPPResponse- Parameters:
aObject- Object to compare with.- Returns:
trueif equal;falseotherwise.
-
clone
public java.lang.Object clone() throws java.lang.CloneNotSupportedExceptionCloneEPPNameVerificationCheckResp.- Specified by:
clonein interfaceEPPCodecComponent- Overrides:
clonein classEPPResponse- Returns:
- clone of
EPPNameVerificationCheckResp - 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(EPPNameVerificationCheckResult aResult)
Adds a result to the list of check results.- Parameters:
aResult- Result to add.
-
setCheckResults
public void setCheckResults(java.util.List<EPPNameVerificationCheckResult> aResults)
Set the results of aEPPNameVerificationCheckRespResponse. There is oneEPPNameVerificationCheckResultinstance inaResultsfor each label requested in theEPPNameVerificationCheckCmdCommand.- Parameters:
aResults- List ofEPPNameVerificationCheckResultinstances.
-
getCheckResults
public java.util.List<EPPNameVerificationCheckResult> getCheckResults()
Get the results of aEPPNameVerificationCheckRespResponse.- Returns:
- List of
EPPNameVerificationCheckResultinstances.
-
doEncode
protected org.w3c.dom.Element doEncode(org.w3c.dom.Document aDocument) throws EPPEncodeExceptionEncode a DOM Element tree from the attributes of theEPPNameVerificationCheckRespinstance.- Overrides:
doEncodein classEPPResponse- Parameters:
aDocument- DOM Document that is being built. Used as an Element factory.- Returns:
- Element Root DOM Element representing the
EPPNameVerificationCheckRespinstance. - Throws:
EPPEncodeException- Unable to encodeEPPNameVerificationCheckRespinstance.
-
doDecode
protected void doDecode(org.w3c.dom.Element aElement) throws EPPDecodeExceptionDecode theEPPNameVerificationCheckRespattributes from the aElement DOM Element tree.- Overrides:
doDecodein classEPPResponse- Parameters:
aElement- Root DOM Element to decodeEPPNameVerificationCheckRespfrom.- Throws:
EPPDecodeException- Unable to decode aElement
-
-