public class EPPChangeCaseId extends java.lang.Object implements EPPCodecComponent
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ELM_LOCALNAME
Constant for the phase local name
|
static java.lang.String |
ELM_NAME
Constant for the phase qualified name (prefix and local name)
|
static java.lang.String |
TYPE_CUSTOM
A custom case that is defined using the "name" attribute.
|
static java.lang.String |
TYPE_UDRP
A Uniform Domain-Name Dispute-Resolution Policy (UDRP) case.
|
static java.lang.String |
TYPE_URS
A Uniform Rapid Suspension (URS) case.
|
| Constructor and Description |
|---|
EPPChangeCaseId()
Default constructor.
|
EPPChangeCaseId(java.lang.String aIdentifier,
java.lang.String aType)
Create
EPPChangeCaseId instance with the required identifier
and type attributes. |
EPPChangeCaseId(java.lang.String aIdentifier,
java.lang.String aType,
java.lang.String aName)
Create
EPPChangeCaseId instance all of the attributes
including the identifier, type, and custom type name. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Clone
EPPChangeCaseId instance. |
void |
decode(org.w3c.dom.Element aElement)
Decode the
EPPChangeCaseId element aElement DOM Element
tree. |
org.w3c.dom.Element |
encode(org.w3c.dom.Document aDocument)
Encode a DOM Element tree from the attributes of the
EPPChangeCaseId instance. |
boolean |
equals(java.lang.Object aObject)
Implements a deep
EPPChangeCaseId compare. |
java.lang.String |
getIdentifier()
Gets the case identifier value.
|
java.lang.String |
getName()
Gets the name of the case type, which is used when the type is set to the
TYPE_CUSTOM value. |
java.lang.String |
getNamespace()
Returns the XML namespace associated with the
EPPCodecComponent. |
java.lang.String |
getType()
Gets the case type.
|
boolean |
hasName()
Is the name defined?
|
void |
setName(java.lang.String aName)
Sets the name of the case type, which is used when the type is set to the
TYPE_CUSTOM value. |
void |
setType(java.lang.String aType)
Sets the case type.
|
void |
setValue(java.lang.String aIdentifier)
Sets the case identifier value.
|
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 TYPE_UDRP
public static final java.lang.String TYPE_URS
public static final java.lang.String TYPE_CUSTOM
public static final java.lang.String ELM_LOCALNAME
public static final java.lang.String ELM_NAME
public EPPChangeCaseId()
setValue(String) method and the type MUST be set using the
setType(String).public EPPChangeCaseId(java.lang.String aIdentifier,
java.lang.String aType)
EPPChangeCaseId instance with the required identifier
and type attributes.aIdentifier - Case identifier value.aType - Case type using one of the TYPE constants.public EPPChangeCaseId(java.lang.String aIdentifier,
java.lang.String aType,
java.lang.String aName)
EPPChangeCaseId instance all of the attributes
including the identifier, type, and custom type name.aIdentifier - Case identifier value.aType - Case type using one of the TYPE constants.aName - Name of the type when aType is set with the
TYPE_CUSTOM value.public java.lang.String getIdentifier()
null otherwise.public void setValue(java.lang.String aIdentifier)
aIdentifier - Case identifierpublic java.lang.String getType()
TYPE
constant values.null otherwise.public void setType(java.lang.String aType)
TYPE
constant values.aType - One of the TYPE constant values.public boolean hasName()
true if the name is defined; false
otherwise.public java.lang.String getName()
TYPE_CUSTOM value.null otherwise.public void setName(java.lang.String aName)
TYPE_CUSTOM value.aName - The custom type name.public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
EPPChangeCaseId instance.clone in interface EPPCodecComponentclone in class java.lang.ObjectEPPChangeCaseIdjava.lang.CloneNotSupportedException - standard Object.clone exceptionpublic void decode(org.w3c.dom.Element aElement)
throws EPPDecodeException
EPPChangeCaseId element aElement DOM Element
tree.decode in interface EPPCodecComponentaElement - - Root DOM Element to decode EPPChangeCaseId
from.EPPDecodeException - Unable to decode aElementpublic org.w3c.dom.Element encode(org.w3c.dom.Document aDocument)
throws EPPEncodeException
EPPChangeCaseId instance.encode in interface EPPCodecComponentaDocument - - DOM Document that is being built. Used as an Element
factory.EPPChangeCaseId instance.EPPEncodeException - - Unable to encode EPPChangeCaseId instance.public boolean equals(java.lang.Object aObject)
EPPChangeCaseId compare.equals in class java.lang.ObjectaObject - EPPChangeCaseId instance to compare withtrue if equal; 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.ObjectString if successful;
ERROR otherwise.public java.lang.String getNamespace()
EPPCodecComponent.getNamespace in interface EPPCodecComponentEPPCodecComponent.Copyright © VeriSign Inc. All Rights Reserved.