Package com.verisign.epp.codec.launch
Class EPPLaunchInfo
java.lang.Object
com.verisign.epp.codec.launch.EPPLaunchInfo
- All Implemented Interfaces:
EPPCodecComponent,Serializable,Cloneable
Extension to the domain info command to retrieve information for a launch
phase registration or application.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreate an EPPLaunchInf instanceEPPLaunchInfo(EPPLaunchPhase aPhase) Create aEPPLaunchInfoinstance with the required phase attribute value.EPPLaunchInfo(EPPLaunchPhase aPhase, String aApplicationId) Create aEPPLaunchInfoinstance with both the required phase and optional application identifier attribute values. -
Method Summary
Modifier and TypeMethodDescriptionclone()CloneEPPLaunchInfo.voidDecode the DOM element to theEPPLaunchInfo.Encode theEPPLaunchInfoto a DOM Elementbooleanimplements a deepEPPLaunchInfocompare.Gets the application identifier of the launch application.Returns the XML namespace associated with theEPPCodecComponent.getPhase()Gets phase during which the application or registration was submitted or is associated with.booleanGet the flag indicating whether or not to include the mark in the response.voidsetApplicationId(String aApplicationId) Sets the application identifier of the launch application.voidsetIncludeMark(boolean aIncludeMark) Sets the flag for indicating whether or not to include the mark in the response.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.
-
Field Details
-
ELM_LOCALNAME
Constant for the launch phase info extension local name- See Also:
-
ELM_NAME
Constant for the launch phase info extension tag- See Also:
-
-
Constructor Details
-
EPPLaunchInfo
public EPPLaunchInfo()Create an EPPLaunchInf instance -
EPPLaunchInfo
Create aEPPLaunchInfoinstance with the required phase attribute value.- Parameters:
aPhase- Phase during which the application or registration was submitted or is associated with
-
EPPLaunchInfo
Create aEPPLaunchInfoinstance with both the required phase and optional application identifier attribute values.- Parameters:
aPhase- Phase during which the application or registration was submitted or is associated withaApplicationId- Application identifier of the launch application
-
-
Method Details
-
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
-
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
-
isIncludeMark
public boolean isIncludeMark()Get the flag indicating whether or not to include the mark in the response.- Returns:
trueto include the mark;falseotherwise.
-
setIncludeMark
public void setIncludeMark(boolean aIncludeMark) Sets the flag for indicating whether or not to include the mark in the response.- Parameters:
aIncludeMark-trueto include the mark;falseotherwise.
-
clone
CloneEPPLaunchInfo.- Specified by:
clonein interfaceEPPCodecComponent- Overrides:
clonein classObject- Returns:
- clone of
EPPLaunchInfo - Throws:
CloneNotSupportedException- standard Object.clone exception
-
encode
Encode theEPPLaunchInfoto 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 theEPPLaunchInfo.- Specified by:
decodein interfaceEPPCodecComponent- Parameters:
aElement- DOM Element to decode the attribute values- Throws:
EPPDecodeException- Error decoding the DOM Element
-
equals
implements a deepEPPLaunchInfocompare. -
getNamespace
Returns the XML namespace associated with theEPPCodecComponent.- Specified by:
getNamespacein interfaceEPPCodecComponent- Returns:
- XML namespace for the
EPPCodecComponent.
-