|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.verisign.epp.codec.launch.EPPLaunchStatus
public class EPPLaunchStatus
Launch application status constants that are returned by
EPPLaunchInfData.getStatus()
or set with
EPPLaunchInfData.setStatus(EPPLaunchStatus)
.
Field Summary | |
---|---|
static java.lang.String |
ATTR_NAME
OPTIONAL attribute name that can define a sub-status or the full name of the status when the <launch:status> element has the "custom" value. |
static java.lang.String |
ATTR_STATUS
Status attribute key |
static java.lang.String |
ELM_LOCALNAME
Constant for the status local name |
static java.lang.String |
ELM_NAME
Constant for the status qualified name (prefix and local name) |
static java.lang.String |
STATUS_ALLOCATED
One of two possible end states of an application object; the object corresponding to the application has been provisioned. |
static java.lang.String |
STATUS_CUSTOM
A custom status that is defined using the "name" attribute. |
static java.lang.String |
STATUS_INVALID
The application does not validate according to registry rules. |
static java.lang.String |
STATUS_PENDING_ALLOCATION
The allocation of the application is pending based on the results of some out-of-band process (for example, an auction). |
static java.lang.String |
STATUS_PENDING_VALIDATION
The initial state of a newly-created application object. |
static java.lang.String |
STATUS_REJECTED
The other possible end state; the object was not provisioned. |
static java.lang.String |
STATUS_VALIDATED
The application meets relevant registry rules. |
Constructor Summary | |
---|---|
EPPLaunchStatus()
Default constructor. |
|
EPPLaunchStatus(java.lang.String aStatus)
Create EPPLaunchStatus instance with a defined status value. |
|
EPPLaunchStatus(java.lang.String aStatus,
java.lang.String aName)
Create EPPLaunchStatus instance with a defined status value
and with the status name value. |
Method Summary | |
---|---|
java.lang.Object |
clone()
Clone EPPLaunchStatus . |
void |
decode(org.w3c.dom.Element aElement)
Decode the EPPLaunchStatus 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 EPPLaunchStatus instance. |
boolean |
equals(java.lang.Object aObject)
implements a deep EPPLaunchStatus compare. |
java.lang.String |
getName()
Gets the OPTIONAL status name or sub-status name. |
java.lang.String |
getStatus()
Gets the status value, which should match one of the STATUS
constants. |
void |
setName(java.lang.String aName)
Sets the OPTIONAL status name or sub-status name. |
void |
setStatus(java.lang.String aStatus)
Sets the status 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 STATUS_PENDING_VALIDATION
public static final java.lang.String STATUS_VALIDATED
public static final java.lang.String STATUS_INVALID
public static final java.lang.String STATUS_PENDING_ALLOCATION
public static final java.lang.String STATUS_ALLOCATED
public static final java.lang.String STATUS_REJECTED
public static final java.lang.String STATUS_CUSTOM
public static final java.lang.String ELM_LOCALNAME
public static final java.lang.String ELM_NAME
public static final java.lang.String ATTR_STATUS
public static final java.lang.String ATTR_NAME
Constructor Detail |
---|
public EPPLaunchStatus()
setStatus(String)
method.
public EPPLaunchStatus(java.lang.String aStatus)
EPPLaunchStatus
instance with a defined status value.
aStatus
- Status value using one of the STATUS
constants.public EPPLaunchStatus(java.lang.String aStatus, java.lang.String aName)
EPPLaunchStatus
instance with a defined status value
and with the status name value.
aStatus
- Status value using one of the STATUS
constants.aName
- Name of sub-status or full name of status when
aStatus
is set to STATUS_CUSTOM
.Method Detail |
---|
public java.lang.String getStatus()
STATUS
constants.
public void setStatus(java.lang.String aStatus)
aStatus
- Status value, which should be one of the STATUS
constants.public java.lang.String getName()
public void setName(java.lang.String aName)
aName
- Status namepublic java.lang.Object clone() throws java.lang.CloneNotSupportedException
EPPLaunchStatus
.
clone
in interface EPPCodecComponent
clone
in class java.lang.Object
EPPLaunchStatus
java.lang.CloneNotSupportedException
- standard Object.clone exceptionpublic void decode(org.w3c.dom.Element aElement) throws EPPDecodeException
EPPLaunchStatus
element aElement DOM Element
tree.
decode
in interface EPPCodecComponent
aElement
- - Root DOM Element to decode EPPLaunchStatus
from.
EPPDecodeException
- Unable to decode aElementpublic org.w3c.dom.Element encode(org.w3c.dom.Document aDocument) throws EPPEncodeException
EPPLaunchStatus
instance.
encode
in interface EPPCodecComponent
aDocument
- - DOM Document that is being built. Used as an Element
factory.
EPPLaunchStatus
instance.
EPPEncodeException
- - Unable to encode EPPLaunchStatus
instance.public boolean equals(java.lang.Object aObject)
EPPLaunchStatus
compare.
equals
in class java.lang.Object
aObject
- EPPLaunchStatus
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 |