Package com.verisign.epp.codec.launch
Class EPPLaunchDelete
java.lang.Object
com.verisign.epp.codec.launch.EPPLaunchDelete
- All Implemented Interfaces:
EPPCodecComponent,Serializable,Cloneable
Extension to the domain delete command to delete a launch
phase application.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreate an EPPLaunchDelete instanceEPPLaunchDelete(EPPLaunchPhase aPhase, String aApplicationId) Create aEPPLaunchDeleteinstance with both the required phase and required application identifier attribute values. -
Method Summary
Modifier and TypeMethodDescriptionclone()CloneEPPLaunchDelete.voidDecode the DOM element to theEPPLaunchDelete.Encode theEPPLaunchDeleteto a DOM Elementbooleanimplements a deepEPPLaunchDeletecompare.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 delete extension local name- See Also:
-
ELM_NAME
Constant for the launch phase info extension tag- See Also:
-
-
Constructor Details
-
EPPLaunchDelete
public EPPLaunchDelete()Create an EPPLaunchDelete instance -
EPPLaunchDelete
Create aEPPLaunchDeleteinstance 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
CloneEPPLaunchDelete.- Specified by:
clonein interfaceEPPCodecComponent- Overrides:
clonein classObject- Returns:
- clone of
EPPLaunchDelete - Throws:
CloneNotSupportedException- standard Object.clone exception
-
encode
Encode theEPPLaunchDeleteto 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 theEPPLaunchDelete.- Specified by:
decodein interfaceEPPCodecComponent- Parameters:
aElement- DOM Element to decode the attribute values- Throws:
EPPDecodeException- Error decoding the DOM Element
-
equals
implements a deepEPPLaunchDeletecompare. -
getNamespace
Returns the XML namespace associated with theEPPCodecComponent.- Specified by:
getNamespacein interfaceEPPCodecComponent- Returns:
- XML namespace for the
EPPCodecComponent.
-