Package com.verisign.epp.codec.launch
Class EPPLaunchInfo
- java.lang.Object
-
- com.verisign.epp.codec.launch.EPPLaunchInfo
-
- All Implemented Interfaces:
EPPCodecComponent,java.io.Serializable,java.lang.Cloneable
public class EPPLaunchInfo extends java.lang.Object implements EPPCodecComponent
Extension to the domain info command to retrieve information for a launch phase registration or application.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringELM_LOCALNAMEConstant for the launch phase info extension local namestatic java.lang.StringELM_NAMEConstant for the launch phase info extension tag
-
Constructor Summary
Constructors Constructor Description EPPLaunchInfo()Create an EPPLaunchInf instanceEPPLaunchInfo(EPPLaunchPhase aPhase)Create aEPPLaunchInfoinstance with the required phase attribute value.EPPLaunchInfo(EPPLaunchPhase aPhase, java.lang.String aApplicationId)Create aEPPLaunchInfoinstance with both the required phase and optional application identifier attribute values.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectclone()CloneEPPLaunchInfo.voiddecode(org.w3c.dom.Element aElement)Decode the DOM element to theEPPLaunchInfo.org.w3c.dom.Elementencode(org.w3c.dom.Document aDocument)Encode theEPPLaunchInfoto a DOM Elementbooleanequals(java.lang.Object aObject)implements a deepEPPLaunchInfocompare.java.lang.StringgetApplicationId()Gets the application identifier of the launch application.java.lang.StringgetNamespace()Returns the XML namespace associated with theEPPCodecComponent.EPPLaunchPhasegetPhase()Gets phase during which the application or registration was submitted or is associated with.booleanisIncludeMark()Get the flag indicating whether or not to include the mark in the response.voidsetApplicationId(java.lang.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.voidsetPhase(java.lang.String aPhaseString)Sets the phase with one of theEPPLaunchPhasePHASEconstants.
-
-
-
Field Detail
-
ELM_LOCALNAME
public static final java.lang.String ELM_LOCALNAME
Constant for the launch phase info extension local name- See Also:
- Constant Field Values
-
ELM_NAME
public static final java.lang.String ELM_NAME
Constant for the launch phase info extension tag- See Also:
- Constant Field Values
-
-
Constructor Detail
-
EPPLaunchInfo
public EPPLaunchInfo()
Create an EPPLaunchInf instance
-
EPPLaunchInfo
public EPPLaunchInfo(EPPLaunchPhase aPhase)
Create aEPPLaunchInfoinstance with the required phase attribute value.- Parameters:
aPhase- Phase during which the application or registration was submitted or is associated with
-
EPPLaunchInfo
public EPPLaunchInfo(EPPLaunchPhase aPhase, java.lang.String aApplicationId)
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 Detail
-
getPhase
public EPPLaunchPhase 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
public void setPhase(EPPLaunchPhase aPhase)
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
public void setPhase(java.lang.String aPhaseString)
Sets the phase with one of theEPPLaunchPhasePHASEconstants.- Parameters:
aPhaseString- One of theEPPLaunchPhasePHASEconstants.
-
getApplicationId
public java.lang.String getApplicationId()
Gets the application identifier of the launch application.- Returns:
- Application identifier if defined;
nullotherwise.
-
setApplicationId
public void setApplicationId(java.lang.String aApplicationId)
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
public java.lang.Object clone() throws java.lang.CloneNotSupportedExceptionCloneEPPLaunchInfo.- Specified by:
clonein interfaceEPPCodecComponent- Overrides:
clonein classjava.lang.Object- Returns:
- clone of
EPPLaunchInfo - Throws:
java.lang.CloneNotSupportedException- standard Object.clone exception
-
encode
public org.w3c.dom.Element encode(org.w3c.dom.Document aDocument) throws EPPEncodeExceptionEncode 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
public void decode(org.w3c.dom.Element aElement) throws EPPDecodeExceptionDecode 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
public boolean equals(java.lang.Object aObject)
implements a deepEPPLaunchInfocompare.- Overrides:
equalsin classjava.lang.Object- Parameters:
aObject-EPPLaunchInfoinstance to compare with- Returns:
- true if equal false otherwise
-
getNamespace
public java.lang.String getNamespace()
Returns the XML namespace associated with theEPPCodecComponent.- Specified by:
getNamespacein interfaceEPPCodecComponent- Returns:
- XML namespace for the
EPPCodecComponent.
-
-