|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.verisign.epp.codec.changepoll.EPPChangeCaseId
public class EPPChangeCaseId
Change Case Identifier that includes both the identifier as well as the case type.
Field Summary | |
---|---|
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 Summary | |
---|---|
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. |
Method Summary | |
---|---|
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 |
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 . |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
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
Constructor Detail |
---|
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.Method Detail |
---|
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 EPPCodecComponent
clone
in class java.lang.Object
EPPChangeCaseId
java.lang.CloneNotSupportedException
- standard Object.clone exceptionpublic void decode(org.w3c.dom.Element aElement) throws EPPDecodeException
EPPChangeCaseId
element aElement DOM Element
tree.
decode
in interface EPPCodecComponent
aElement
- - 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 EPPCodecComponent
aDocument
- - 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.Object
aObject
- EPPChangeCaseId
instance to compare with
true
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.Object
String
if successful;
ERROR
otherwise.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |