public class EPPVerificationCodeInfData extends java.lang.Object implements EPPCodecComponent
EPPVerificationCodeInfo info command extension defines interest in
returning the verification information in the extension to the info response.EPPVerificationCodeInfo,
Serialized Form| Modifier and Type | Class and Description |
|---|---|
static class |
EPPVerificationCodeInfData.Status
Verification statuses that include:
NOT_APPLICABLE - The status is not applicable to the
client since there is no assigned verification profile. |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ELM_LOCALNAME
Constant for the info response extension local name
|
static java.lang.String |
ELM_NAME
Constant for the info response extension tag
|
| Constructor and Description |
|---|
EPPVerificationCodeInfData()
Create an
EPPVerificationCodeInfData instance. |
EPPVerificationCodeInfData(EPPVerificationCodeInfData.Status aStatus)
Create a EPPVerificationCodeInfData instance with the required status.
|
EPPVerificationCodeInfData(EPPVerificationCodeInfData.Status aStatus,
EPPVerificationCodeProfile aProfile)
Create a EPPVerificationCodeInfData instance with the required status and
the a single profile.
|
EPPVerificationCodeInfData(EPPVerificationCodeInfData.Status aStatus,
java.util.List<EPPVerificationCodeProfile> aProfiles)
Create a EPPVerificationCodeInfData instance with the required status and
the optional profiles.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addProfile(EPPVerificationCodeProfile aProfile)
Add a profile to the list of profiles.
|
java.lang.Object |
clone()
Clone
EPPVerificationCodeInfData. |
void |
decode(org.w3c.dom.Element aElement)
Decode the EPPVerificationCodeInfData component
|
org.w3c.dom.Element |
encode(org.w3c.dom.Document aDocument)
Sets all this instance's data in the given XML document
|
boolean |
equals(java.lang.Object aObject)
implements a deep
EPPVerificationCodeInfData compare. |
java.lang.String |
getNamespace()
Returns the XML namespace associated with the
EPPCodecComponent. |
EPPVerificationCodeProfile |
getProfile()
Gets the single profile.
|
java.util.List<EPPVerificationCodeProfile> |
getProfiles()
Returns the list of profiles.
|
EPPVerificationCodeInfData.Status |
getStatus()
Gets the verification status.
|
boolean |
hasProfile()
Is there a single profile?
|
boolean |
hasProfiles()
Are there any profiles?
|
void |
setProfile(EPPVerificationCodeProfile aProfile)
Sets the single profile.
|
void |
setProfiles(java.util.List<EPPVerificationCodeProfile> aProfiles)
Sets the profiles.
|
void |
setStatus(EPPVerificationCodeInfData.Status aStatus)
Sets the verification status.
|
java.lang.String |
toString()
Implementation of
Object.toString, which will result in an
indented XML String representation of the concrete
EPPCodecComponent. |
public static final java.lang.String ELM_LOCALNAME
public static final java.lang.String ELM_NAME
public EPPVerificationCodeInfData()
EPPVerificationCodeInfData instance.public EPPVerificationCodeInfData(EPPVerificationCodeInfData.Status aStatus)
aStatus - Status of the verificationpublic EPPVerificationCodeInfData(EPPVerificationCodeInfData.Status aStatus, EPPVerificationCodeProfile aProfile)
aStatus - Status of the verificationaProfile - Single verification profilepublic EPPVerificationCodeInfData(EPPVerificationCodeInfData.Status aStatus, java.util.List<EPPVerificationCodeProfile> aProfiles)
aStatus - Status of the verificationaProfiles - OPTIONAL verification profilespublic java.lang.Object clone()
throws java.lang.CloneNotSupportedException
EPPVerificationCodeInfData.clone in interface EPPCodecComponentclone in class java.lang.ObjectEPPVerificationCodeInfDatajava.lang.CloneNotSupportedException - standard Object.clone exceptionpublic org.w3c.dom.Element encode(org.w3c.dom.Document aDocument)
throws EPPEncodeException
encode in interface EPPCodecComponentaDocument - a DOM Document to attach data to.EPPEncodeException - Thrown if any errors prevent encoding.public void decode(org.w3c.dom.Element aElement)
throws EPPDecodeException
decode in interface EPPCodecComponentaElement - EPPDecodeExceptionpublic boolean equals(java.lang.Object aObject)
EPPVerificationCodeInfData compare.equals in class java.lang.ObjectaObject - EPPVerificationCodeInfData instance to compare
withpublic EPPVerificationCodeInfData.Status getStatus()
public void setStatus(EPPVerificationCodeInfData.Status aStatus)
aStatus - Verification statuspublic boolean hasProfiles()
true if there are profiles; false
otherwise.public java.util.List<EPPVerificationCodeProfile> getProfiles()
public void setProfiles(java.util.List<EPPVerificationCodeProfile> aProfiles)
aProfiles - The list of profiles. Set to null or an empty
list to indicate that there are no profiles.public void addProfile(EPPVerificationCodeProfile aProfile)
aProfile - Profile to add to the list of profiles.public boolean hasProfile()
true if there is one profiles; false
otherwise.public EPPVerificationCodeProfile getProfile()
null
otherwise.public void setProfile(EPPVerificationCodeProfile aProfile)
aProfile.aProfile - Single profile to set.public java.lang.String toString()
Object.toString, which will result in an
indented XML String representation of the concrete
EPPCodecComponent.toString in class java.lang.ObjectString if successful;
ERROR otherwise.public java.lang.String getNamespace()
EPPCodecComponent.getNamespace in interface EPPCodecComponentEPPCodecComponent.Copyright © VeriSign Inc. All Rights Reserved.