public class EPPLaunchInfData extends java.lang.Object implements EPPCodecComponent
EPPLaunchInfo
domain info command
extension defines the application or registration information to return.EPPLaunchInfo
,
Serialized FormModifier and Type | Field and Description |
---|---|
static java.lang.String |
ELM_LOCALNAME
Constant for the launch phase info response extension local name
|
static java.lang.String |
ELM_NAME
Constant for the launch phase info response extension tag
|
Constructor and Description |
---|
EPPLaunchInfData()
Create an
EPPLaunchInfData instance |
EPPLaunchInfData(EPPLaunchPhase aPhase,
EPPMark aMark)
Create a EPPLaunchInfData instance for a registration with the phase and
an individual mark.
|
EPPLaunchInfData(EPPLaunchPhase aPhase,
java.util.List<EPPMark> aMarks)
Create a EPPLaunchInfData instance for a registration with the phase and
list of marks.
|
EPPLaunchInfData(EPPLaunchPhase aPhase,
java.lang.String aApplicationId,
EPPLaunchStatus aStatus)
Create a EPPLaunchInfData instance for an application with the phase,
application identifier, and application status values.
|
EPPLaunchInfData(EPPLaunchPhase aPhase,
java.lang.String aApplicationId,
EPPLaunchStatus aStatus,
EPPMark aMark)
Create a EPPLaunchInfData instance for an application with the phase,
application identifier, application status, and an individual of mark
values.
|
EPPLaunchInfData(EPPLaunchPhase aPhase,
java.lang.String aApplicationId,
EPPLaunchStatus aStatus,
java.util.List<EPPMark> aMarks)
Create a EPPLaunchInfData instance for an application with the phase,
application identifier, application status, and list of marks values.
|
Modifier and Type | Method and Description |
---|---|
void |
addMark(EPPMark aMark)
Add a mark to the list of marks.
|
java.lang.Object |
clone()
Clone
EPPLaunchInfData . |
void |
decode(org.w3c.dom.Element aElement)
Decode the EPPLaunchInfData component
|
org.w3c.dom.Element |
encode(org.w3c.dom.Document aDocument)
Sets all this instance's data in the given XML document
|
boolean |
equals(java.lang.Object aObject)
implements a deep
EPPLaunchInfData compare. |
java.lang.String |
getApplicationId()
Gets the application identifier of the launch application.
|
EPPMark |
getMark()
Gets an individual mark.
|
java.util.List<EPPMark> |
getMarks()
Gets the list of marks
|
java.lang.String |
getNamespace()
Returns the XML namespace associated with the
EPPCodecComponent . |
EPPLaunchPhase |
getPhase()
Gets phase during which the application or registration was submitted or
is associated with.
|
EPPLaunchStatus |
getStatus()
Gets the application status.
|
void |
setApplicationId(java.lang.String aApplicationId)
Sets the application identifier of the launch application.
|
void |
setMark(EPPMark aMark)
Sets an individual mark.
|
void |
setMarks(java.util.List<EPPMark> aMarks)
Sets the list of marks.
|
void |
setPhase(EPPLaunchPhase aPhase)
Sets the phase during which the application or registration was submitted
or is associated with.
|
void |
setPhase(java.lang.String aPhaseString)
Sets the phase with one of the
EPPLaunchPhase
PHASE constants. |
void |
setStatus(EPPLaunchStatus aStatus)
Sets the application status.
|
void |
setStatus(java.lang.String aStatusString)
Sets the status with one of the
EPPLaunchStatus
STATUS constants. |
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
public static final java.lang.String ELM_NAME
public EPPLaunchInfData()
EPPLaunchInfData
instancepublic EPPLaunchInfData(EPPLaunchPhase aPhase, java.util.List<EPPMark> aMarks)
aPhase
- The phase during which the registration was submitted or is
associated with.aMarks
- List of markspublic EPPLaunchInfData(EPPLaunchPhase aPhase, EPPMark aMark)
aPhase
- The phase during which the registration was submitted or is
associated with.aMark
- An individual markpublic EPPLaunchInfData(EPPLaunchPhase aPhase, java.lang.String aApplicationId, EPPLaunchStatus aStatus)
aPhase
- The phase during which the application was submitted or is
associated with.aApplicationId
- Application identifier of the returned applicationaStatus
- Status of the launch applicationpublic EPPLaunchInfData(EPPLaunchPhase aPhase, java.lang.String aApplicationId, EPPLaunchStatus aStatus, java.util.List<EPPMark> aMarks)
aPhase
- The phase during which the application was submitted or is
associated with.aApplicationId
- Application identifier of the returned applicationaStatus
- Status of the launch applicationaMarks
- List of markspublic EPPLaunchInfData(EPPLaunchPhase aPhase, java.lang.String aApplicationId, EPPLaunchStatus aStatus, EPPMark aMark)
aPhase
- The phase during which the application was submitted or is
associated with.aApplicationId
- Application identifier of the returned applicationaStatus
- Status of the launch applicationaMark
- An individual markpublic java.lang.Object clone() throws java.lang.CloneNotSupportedException
EPPLaunchInfData
.clone
in interface EPPCodecComponent
clone
in class java.lang.Object
EPPLaunchInfData
java.lang.CloneNotSupportedException
- standard Object.clone exceptionpublic org.w3c.dom.Element encode(org.w3c.dom.Document aDocument) throws EPPEncodeException
encode
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
decode
in interface EPPCodecComponent
aElement
- Element to decode fromEPPDecodeException
- On decoding errorpublic boolean equals(java.lang.Object aObject)
EPPLaunchInfData
compare.equals
in class java.lang.Object
aObject
- EPPLaunchInfData
instance to compare withpublic java.lang.String getApplicationId()
null
otherwise.public void setApplicationId(java.lang.String aApplicationId)
aApplicationId
- Application identifier of the launch applicationpublic EPPLaunchPhase getPhase()
null
otherwise.public void setPhase(EPPLaunchPhase aPhase)
aPhase
- Phase during which the application or registration was
submitted or is associated withpublic EPPLaunchStatus getStatus()
null
otherwise.public void setStatus(EPPLaunchStatus aStatus)
aStatus
- The application statuspublic void setStatus(java.lang.String aStatusString)
EPPLaunchStatus
STATUS
constants.aStatusString
- One of the EPPLaunchStatus
STATUS
constants.public void setPhase(java.lang.String aPhaseString)
EPPLaunchPhase
PHASE
constants.aPhaseString
- One of the EPPLaunchPhase
PHASE
constants.public void setMark(EPPMark aMark)
aMark
- An individual markpublic EPPMark getMark()
public void addMark(EPPMark aMark)
aMark
- Mark to add to listpublic java.util.List<EPPMark> getMarks()
public void setMarks(java.util.List<EPPMark> aMarks)
aMarks
- List of markspublic 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.public java.lang.String getNamespace()
EPPCodecComponent
.getNamespace
in interface EPPCodecComponent
EPPCodecComponent
.