Package com.verisign.epp.codec.launch
Class EPPLaunchCreData
java.lang.Object
com.verisign.epp.codec.launch.EPPLaunchCreData
- All Implemented Interfaces:
EPPCodecComponent,Serializable,Cloneable
Extension to the domain create response for launch applications
that returns the unique application identifier for the launch
application.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreate an EPPLaunchCreData instanceEPPLaunchCreData(EPPLaunchPhase aPhase, String aApplicationId) Create aEPPLaunchCreDatainstance with both the required phase and required application identifier attribute values. -
Method Summary
Modifier and TypeMethodDescriptionclone()CloneEPPLaunchCreData.voidDecode the DOM element to theEPPLaunchCreData.Encode theEPPLaunchCreDatato a DOM Elementbooleanimplements a deepEPPLaunchCreDatacompare.Gets the application identifier of the launch application.Returns the XML namespace associated with theEPPCodecComponent.getPhase()Gets phase during which the application was submitted or is associated with.voidsetApplicationId(String aApplicationId) Sets the application identifier of the launch application.voidsetPhase(EPPLaunchPhase aPhase) Sets the phase during which the application was submitted or is associated with.voidSets the phase with one of theEPPLaunchPhasePHASEconstants.
-
Field Details
-
ELM_LOCALNAME
Constant for the launch phase create response extension local name- See Also:
-
ELM_NAME
Constant for the launch phase info extension tag- See Also:
-
-
Constructor Details
-
EPPLaunchCreData
public EPPLaunchCreData()Create an EPPLaunchCreData instance -
EPPLaunchCreData
Create aEPPLaunchCreDatainstance with both the required phase and required application identifier attribute values.- Parameters:
aPhase- Phase during which the application was submitted or is associated withaApplicationId- Application identifier of the launch application
-
-
Method Details
-
getPhase
Gets phase during which the application was submitted or is associated with.- Returns:
- phase during which the application was submitted
or is associated with if defined;
nullotherwise.
-
setPhase
Sets the phase during which the application was submitted or is associated with.- Parameters:
aPhase- Phase during which the application was submitted or is associated with
-
setPhase
Sets the phase with one of theEPPLaunchPhasePHASEconstants.- Parameters:
aPhaseString- One of theEPPLaunchPhasePHASEconstants.
-
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
-
clone
CloneEPPLaunchCreData.- Specified by:
clonein interfaceEPPCodecComponent- Overrides:
clonein classObject- Returns:
- clone of
EPPLaunchCreData - Throws:
CloneNotSupportedException- standard Object.clone exception
-
encode
Encode theEPPLaunchCreDatato a DOM Element- 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 DOM element to theEPPLaunchCreData.- Specified by:
decodein interfaceEPPCodecComponent- Parameters:
aElement- DOM Element to decode the attribute values- Throws:
EPPDecodeException- Error decoding the DOM Element
-
equals
implements a deepEPPLaunchCreDatacompare. -
getNamespace
Returns the XML namespace associated with theEPPCodecComponent.- Specified by:
getNamespacein interfaceEPPCodecComponent- Returns:
- XML namespace for the
EPPCodecComponent.
-