Package com.verisign.epp.codec.launch
Class EPPLaunchInfData
java.lang.Object
com.verisign.epp.codec.launch.EPPLaunchInfData
- All Implemented Interfaces:
EPPCodecComponent,Serializable,Cloneable
Extension to the domain info response to return the launch phase application
or registration information. The
EPPLaunchInfo domain info command
extension defines the application or registration information to return.- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreate anEPPLaunchInfDatainstanceEPPLaunchInfData(EPPLaunchPhase aPhase, EPPMark aMark) Create a EPPLaunchInfData instance for a registration with the phase and an individual mark.EPPLaunchInfData(EPPLaunchPhase aPhase, String aApplicationId, EPPLaunchStatus aStatus) Create a EPPLaunchInfData instance for an application with the phase, application identifier, and application status values.EPPLaunchInfData(EPPLaunchPhase aPhase, 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, String aApplicationId, EPPLaunchStatus aStatus, List<EPPMark> aMarks) Create a EPPLaunchInfData instance for an application with the phase, application identifier, application status, and list of marks values.EPPLaunchInfData(EPPLaunchPhase aPhase, List<EPPMark> aMarks) Create a EPPLaunchInfData instance for a registration with the phase and list of marks. -
Method Summary
Modifier and TypeMethodDescriptionvoidAdd a mark to the list of marks.clone()CloneEPPLaunchInfData.voidDecode the EPPLaunchInfData componentSets all this instance's data in the given XML documentbooleanimplements a deepEPPLaunchInfDatacompare.Gets the application identifier of the launch application.getMark()Gets an individual mark.getMarks()Gets the list of marksReturns the XML namespace associated with theEPPCodecComponent.getPhase()Gets phase during which the application or registration was submitted or is associated with.Gets the application status.voidsetApplicationId(String aApplicationId) Sets the application identifier of the launch application.voidSets an individual mark.voidSets the list of marks.voidsetPhase(EPPLaunchPhase aPhase) Sets the phase during which the application or registration was submitted or is associated with.voidSets the phase with one of theEPPLaunchPhasePHASEconstants.voidsetStatus(EPPLaunchStatus aStatus) Sets the application status.voidSets the status with one of theEPPLaunchStatusSTATUSconstants.toString()Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent.
-
Field Details
-
ELM_LOCALNAME
Constant for the launch phase info response extension local name- See Also:
-
ELM_NAME
Constant for the launch phase info response extension tag- See Also:
-
-
Constructor Details
-
EPPLaunchInfData
public EPPLaunchInfData()Create anEPPLaunchInfDatainstance -
EPPLaunchInfData
Create a EPPLaunchInfData instance for a registration with the phase and list of marks.- Parameters:
aPhase- The phase during which the registration was submitted or is associated with.aMarks- List of marks
-
EPPLaunchInfData
Create a EPPLaunchInfData instance for a registration with the phase and an individual mark.- Parameters:
aPhase- The phase during which the registration was submitted or is associated with.aMark- An individual mark
-
EPPLaunchInfData
Create a EPPLaunchInfData instance for an application with the phase, application identifier, and application status values.- Parameters:
aPhase- The phase during which the application was submitted or is associated with.aApplicationId- Application identifier of the returned applicationaStatus- Status of the launch application
-
EPPLaunchInfData
public EPPLaunchInfData(EPPLaunchPhase aPhase, String aApplicationId, EPPLaunchStatus aStatus, List<EPPMark> aMarks) Create a EPPLaunchInfData instance for an application with the phase, application identifier, application status, and list of marks values.- Parameters:
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 marks
-
EPPLaunchInfData
public EPPLaunchInfData(EPPLaunchPhase aPhase, 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.- Parameters:
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 mark
-
-
Method Details
-
clone
CloneEPPLaunchInfData.- Specified by:
clonein interfaceEPPCodecComponent- Overrides:
clonein classObject- Returns:
- clone of
EPPLaunchInfData - Throws:
CloneNotSupportedException- standard Object.clone exception
-
encode
Sets all this instance's data in the given XML document- Specified by:
encodein interfaceEPPCodecComponent- Parameters:
aDocument- a DOM Document to attach data to.- Returns:
- The root element of this component.
- Throws:
EPPEncodeException- Thrown if any errors prevent encoding.
-
decode
Decode the EPPLaunchInfData component- Specified by:
decodein interfaceEPPCodecComponent- Parameters:
aElement- Element to decode from- Throws:
EPPDecodeException- On decoding error
-
equals
implements a deepEPPLaunchInfDatacompare. -
getApplicationId
Gets the application identifier of the launch application.- Returns:
- Application identifier if defined;
nullotherwise.
-
setApplicationId
Sets the application identifier of the launch application.- Parameters:
aApplicationId- Application identifier of the launch application
-
getPhase
Gets phase during which the application or registration was submitted or is associated with.- Returns:
- phase during which the application or registration was submitted
or is associated with if defined;
nullotherwise.
-
setPhase
Sets the phase during which the application or registration was submitted or is associated with.- Parameters:
aPhase- Phase during which the application or registration was submitted or is associated with
-
getStatus
Gets the application status.- Returns:
- Launch status if defined;
nullotherwise.
-
setStatus
Sets the application status.- Parameters:
aStatus- The application status
-
setStatus
Sets the status with one of theEPPLaunchStatusSTATUSconstants.- Parameters:
aStatusString- One of theEPPLaunchStatusSTATUSconstants.
-
setPhase
Sets the phase with one of theEPPLaunchPhasePHASEconstants.- Parameters:
aPhaseString- One of theEPPLaunchPhasePHASEconstants.
-
setMark
Sets an individual mark.- Parameters:
aMark- An individual mark
-
getMark
Gets an individual mark. If there are more then one mark in the marks list, only the first mark will be returned.- Returns:
- Gets the individual mark
-
addMark
Add a mark to the list of marks.- Parameters:
aMark- Mark to add to list
-
getMarks
Gets the list of marks- Returns:
- List of marks if defined; empty list otherwise.
-
setMarks
Sets the list of marks.- Parameters:
aMarks- List of marks
-
toString
Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent. -
getNamespace
Returns the XML namespace associated with theEPPCodecComponent.- Specified by:
getNamespacein interfaceEPPCodecComponent- Returns:
- XML namespace for the
EPPCodecComponent.
-