Package com.verisign.epp.codec.launch
Class EPPLaunchUpdate
java.lang.Object
com.verisign.epp.codec.launch.EPPLaunchUpdate
- All Implemented Interfaces:
EPPCodecComponent,Serializable,Cloneable
Extension to the domain update command to update a launch
phase application.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreate an EPPLaunchUpdate instanceEPPLaunchUpdate(EPPLaunchPhase aPhase, String aApplicationId) Create aEPPLaunchUpdateinstance with both the required phase and required application identifier attribute values. -
Method Summary
Modifier and TypeMethodDescriptionclone()CloneEPPLaunchUpdate.voidDecode the DOM element to theEPPLaunchUpdate.Encode theEPPLaunchUpdateto a DOM Elementbooleanimplements a deepEPPLaunchUpdatecompare.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.toString()Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent.
-
Field Details
-
ELM_LOCALNAME
Constant for the launch phase update extension local name- See Also:
-
ELM_NAME
Constant for the launch phase info extension tag- See Also:
-
-
Constructor Details
-
EPPLaunchUpdate
public EPPLaunchUpdate()Create an EPPLaunchUpdate instance -
EPPLaunchUpdate
Create aEPPLaunchUpdateinstance 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
CloneEPPLaunchUpdate.- Specified by:
clonein interfaceEPPCodecComponent- Overrides:
clonein classObject- Returns:
- clone of
EPPLaunchUpdate - Throws:
CloneNotSupportedException- standard Object.clone exception
-
encode
Encode theEPPLaunchUpdateto 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 theEPPLaunchUpdate.- Specified by:
decodein interfaceEPPCodecComponent- Parameters:
aElement- DOM Element to decode the attribute values- Throws:
EPPDecodeException- Error decoding the DOM Element
-
equals
implements a deepEPPLaunchUpdatecompare. -
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.
-