public class EPPNameVerificationCreateFailed extends java.lang.Object implements EPPNameVerificationCreateResult
EPPNameVerificationCreateCmd
,
Serialized FormModifier and Type | Field and Description |
---|---|
static java.lang.String |
ELM_LOCALNAME
XML local name for
EPPNameVerificationCreateFailed . |
static java.lang.String |
ELM_NAME
XML root tag for
EPPNameVerificationCreateFailed . |
Constructor and Description |
---|
EPPNameVerificationCreateFailed()
EPPNameVerificationCreateFailed default constructor. |
EPPNameVerificationCreateFailed(EPPNameVerificationStatus aStatus,
java.lang.String aReason)
EPPNameVerificationCreateFailed constructor that takes the
required attributes. |
EPPNameVerificationCreateFailed(EPPNameVerificationStatus aStatus,
java.lang.String aReason,
java.lang.String aLanguage)
EPPNameVerificationCreateFailed constructor that takes the
all attributes. |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Clone
EPPNameVerificationCreateFailed . |
void |
decode(org.w3c.dom.Element aElement)
Decode the
EPPNameVerificationCreateFailed attributes from
the aElement DOM Element tree. |
org.w3c.dom.Element |
encode(org.w3c.dom.Document aDocument)
Encode a DOM Element tree from the attributes of the
EPPNameVerificationCreateFailed instance. |
boolean |
equals(java.lang.Object aObject)
Compare an instance of
EPPNameVerificationCreateFailed with
this instance. |
java.lang.String |
getLanguage()
Gets the language of the failure with the default of "en".
|
java.lang.String |
getNamespace()
Gets the EPP command namespace associated with
EPPNameVerificationCreateFailed . |
java.lang.String |
getReason()
Gets the reason for the failure.
|
EPPNameVerificationStatus |
getStatus()
Gets the verification status.
|
java.lang.String |
getType()
Gets the EPP response type associated with
EPPNameVerificationCreateFailed . |
void |
setLanguage(java.lang.String aLanguage)
Sets language of the reason.
|
void |
setReason(java.lang.String aReason)
Sets the reason for the failure.
|
void |
setStatus(EPPNameVerificationStatus 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
EPPNameVerificationCreateFailed
.public static final java.lang.String ELM_NAME
EPPNameVerificationCreateFailed
.public EPPNameVerificationCreateFailed()
EPPNameVerificationCreateFailed
default constructor.public EPPNameVerificationCreateFailed(EPPNameVerificationStatus aStatus, java.lang.String aReason)
EPPNameVerificationCreateFailed
constructor that takes the
required attributes.aStatus
- The verification statusaReason
- Human-readable reason of the failurepublic EPPNameVerificationCreateFailed(EPPNameVerificationStatus aStatus, java.lang.String aReason, java.lang.String aLanguage)
EPPNameVerificationCreateFailed
constructor that takes the
all attributes.aStatus
- The verification statusaReason
- Human-readable reason of the failureaLanguage
- Language of the reason with the default of "en".public EPPNameVerificationStatus getStatus()
public void setStatus(EPPNameVerificationStatus aStatus)
aStatus
- The verification statuspublic java.lang.String getReason()
public void setReason(java.lang.String aReason)
aReason
- Reason for the failurepublic java.lang.String getLanguage()
public void setLanguage(java.lang.String aLanguage)
aLanguage
- Language of the reasonpublic org.w3c.dom.Element encode(org.w3c.dom.Document aDocument) throws EPPEncodeException
EPPNameVerificationCreateFailed
instance.encode
in interface EPPCodecComponent
aDocument
- DOM Document that is being built. Used as an Element factory.EPPEncodeException
- Unable to encode EPPNameVerificationCreateFailed instance.public void decode(org.w3c.dom.Element aElement) throws EPPDecodeException
EPPNameVerificationCreateFailed
attributes from
the aElement DOM Element tree.decode
in interface EPPCodecComponent
aElement
- Root DOM Element to decode
EPPNameVerificationCreateFailed
from.EPPDecodeException
- Unable to decode aElementpublic java.lang.Object clone() throws java.lang.CloneNotSupportedException
EPPNameVerificationCreateFailed
.clone
in interface EPPCodecComponent
clone
in class java.lang.Object
EPPNameVerificationCreateFailed
java.lang.CloneNotSupportedException
- standard Object.clone exceptionpublic java.lang.String getType()
EPPNameVerificationCreateFailed
.EPPNameVerificationCreateFailed.ELM_NAME
public java.lang.String getNamespace()
EPPNameVerificationCreateFailed
.getNamespace
in interface EPPCodecComponent
EPPNameVerificationMapFactory.NS
public boolean equals(java.lang.Object aObject)
EPPNameVerificationCreateFailed
with
this instance.equals
in class java.lang.Object
aObject
- Object to compare with.true
if this object is the same as the aObject argument;
false
otherwisepublic java.lang.String toString()
Object.toString
, which will result in an
indented XML String
representation of the concrete
EPPCodecComponent
.toString
in class java.lang.Object
String
if successful;
ERROR
otherwise.Copyright © VeriSign Inc. All Rights Reserved.