public class EPPLaunchCreData extends java.lang.Object implements EPPCodecComponent
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ELM_LOCALNAME
Constant for the launch phase create response extension local name
|
static java.lang.String |
ELM_NAME
Constant for the launch phase info extension tag
|
Constructor and Description |
---|
EPPLaunchCreData()
Create an EPPLaunchCreData instance
|
EPPLaunchCreData(EPPLaunchPhase aPhase,
java.lang.String aApplicationId)
Create a
EPPLaunchCreData instance with both the required phase
and required application identifier attribute values. |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Clone
EPPLaunchCreData . |
void |
decode(org.w3c.dom.Element aElement)
Decode the DOM element to the
EPPLaunchCreData . |
org.w3c.dom.Element |
encode(org.w3c.dom.Document aDocument)
Encode the
EPPLaunchCreData to a DOM Element |
boolean |
equals(java.lang.Object aObject)
implements a deep
EPPLaunchCreData compare. |
java.lang.String |
getApplicationId()
Gets the application identifier of the launch application.
|
java.lang.String |
getNamespace()
Returns the XML namespace associated with the
EPPCodecComponent . |
EPPLaunchPhase |
getPhase()
Gets phase during which the application was submitted or
is associated with.
|
void |
setApplicationId(java.lang.String aApplicationId)
Sets the application identifier of the launch application.
|
void |
setPhase(EPPLaunchPhase aPhase)
Sets the phase during which the application was submitted
or is associated with.
|
void |
setPhase(java.lang.String aPhaseString)
Sets the phase with one of the
EPPLaunchPhase
PHASE constants. |
public static final java.lang.String ELM_LOCALNAME
public static final java.lang.String ELM_NAME
public EPPLaunchCreData()
public EPPLaunchCreData(EPPLaunchPhase aPhase, java.lang.String aApplicationId)
EPPLaunchCreData
instance with both the required phase
and required application identifier attribute values.aPhase
- Phase during which the application was
submitted or is associated withaApplicationId
- Application identifier of the launch applicationpublic EPPLaunchPhase getPhase()
null
otherwise.public void setPhase(EPPLaunchPhase aPhase)
aPhase
- Phase during which the application was
submitted or is associated withpublic void setPhase(java.lang.String aPhaseString)
EPPLaunchPhase
PHASE
constants.aPhaseString
- One of the EPPLaunchPhase
PHASE
constants.public java.lang.String getApplicationId()
null
otherwise.public void setApplicationId(java.lang.String aApplicationId)
aApplicationId
- Application identifier of the launch applicationpublic java.lang.Object clone() throws java.lang.CloneNotSupportedException
EPPLaunchCreData
.clone
in interface EPPCodecComponent
clone
in class java.lang.Object
EPPLaunchCreData
java.lang.CloneNotSupportedException
- standard Object.clone exceptionpublic org.w3c.dom.Element encode(org.w3c.dom.Document aDocument) throws EPPEncodeException
EPPLaunchCreData
to a DOM Elementencode
in interface EPPCodecComponent
aDocument
- a DOM Document to attach data to.EPPEncodeException
- Thrown if any errors prevent encoding.public void decode(org.w3c.dom.Element aElement) throws EPPDecodeException
EPPLaunchCreData
.decode
in interface EPPCodecComponent
aElement
- DOM Element to decode the attribute valuesEPPDecodeException
- Error decoding the DOM Elementpublic boolean equals(java.lang.Object aObject)
EPPLaunchCreData
compare.equals
in class java.lang.Object
aObject
- EPPLaunchCreData
instance to compare withpublic java.lang.String getNamespace()
EPPCodecComponent
.getNamespace
in interface EPPCodecComponent
EPPCodecComponent
.