Package com.verisign.epp.codec.launch
Class EPPLaunchCreate
- java.lang.Object
-
- com.verisign.epp.codec.launch.EPPLaunchCreate
-
- All Implemented Interfaces:
EPPCodecComponent,java.io.Serializable,java.lang.Cloneable
public class EPPLaunchCreate extends java.lang.Object implements EPPCodecComponent
Extension to the domain create command to create a launch phase application.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringELM_LOCALNAMEConstant for the launch phase create extension local namestatic java.lang.StringELM_NAMEConstant for the launch phase info extension tagstatic java.lang.StringTYPE_APPLICATIONConstant used to specify to create an application.static java.lang.StringTYPE_REGISTRATIONConstant used to specify to create a registration.
-
Constructor Summary
Constructors Constructor Description EPPLaunchCreate()Create anEPPLaunchCreateinstanceEPPLaunchCreate(EPPLaunchPhase aPhase)Create anEPPLaunchCreateinstance with the required phase attribute.EPPLaunchCreate(EPPLaunchPhase aPhase, EPPLaunchCodeMark aCodeMark)Create aEPPLaunchCreateinstance with the required phase and a single code mark.EPPLaunchCreate(EPPLaunchPhase aPhase, EPPLaunchCodeMark aCodeMark, java.lang.String aType)Create aEPPLaunchCreateinstance with the required phase and a single code mark and the optional type.EPPLaunchCreate(EPPLaunchPhase aPhase, EPPLaunchNotice aNotice)Create aEPPLaunchCreateinstance with the required phase and the claims notice information for Claims Create Form.EPPLaunchCreate(EPPLaunchPhase aPhase, EPPLaunchNotice aNotice, java.lang.String aType)Create aEPPLaunchCreateinstance with the required phase and the claims notice information for Claims Create Form and optional type.EPPLaunchCreate(EPPLaunchPhase aPhase, EPPSignedMark aSignedMark)Create aEPPLaunchCreateinstance with the required phase and a single signed mark.EPPLaunchCreate(EPPLaunchPhase aPhase, EPPSignedMark aSignedMark, java.lang.String aType)Create aEPPLaunchCreateinstance with the required phase and a single signed mark and optional type.EPPLaunchCreate(EPPLaunchPhase aPhase, java.lang.String aType)Create anEPPLaunchCreateinstance with the required phase attribute and optional type.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddCodeMark(EPPLaunchCodeMark aCodeMark)voidaddNotice(EPPLaunchNotice aNotice)Adds a claims notice to the list of claims notices in Claims Create Form.voidaddSignedMark(EPPSignedMark aSignedMark)Adds a signed mark to the list of signed marks.voidclearNotices()Clear the claim notices set.java.lang.Objectclone()CloneEPPLaunchCreate.voiddecode(org.w3c.dom.Element aElement)Decode the DOM element to theEPPLaunchCreate.org.w3c.dom.Elementencode(org.w3c.dom.Document aDocument)Encode theEPPLaunchCreateto a DOM Elementbooleanequals(java.lang.Object aObject)implements a deepEPPLaunchCreatecompare.EPPLaunchCodeMarkgetCodeMark()Gets the code mark when using the Sunrise Create Form.java.util.List<EPPLaunchCodeMark>getCodeMarks()Gets the list of code marks.java.lang.StringgetNamespace()Returns the XML namespace associated with theEPPCodecComponent.EPPLaunchNoticegetNotice()Gets the claims notice information in Claims Create Form.java.util.List<EPPLaunchNotice>getNotices()Returns the list of notices.EPPLaunchPhasegetPhase()Gets phase associated with the create command.EPPSignedMarkgetSignedMark()Gets the signed mark when using the Sunrise Create Form.java.util.List<EPPSignedMark>getSignedMarks()Gets the list of signed marks.java.lang.StringgetType()Gets the type of the object to create, which should be eitherTYPE_APPLICATION,TYPE_REGISTRATION, ornullfor undefined.booleanhasCodeMarks()Are code marks defined?booleanhasNotice()Is the claims notice defined?booleanhasSignedMarks()Are signed marks defined?booleanhasType()Is the type defined?voidsetCodeMark(EPPLaunchCodeMark aCodeMark)Sets the code mark when using the Sunrise Create Form.voidsetCodeMarks(java.util.List<EPPLaunchCodeMark> aCodeMarks)Sets the list of code marks.voidsetNotice(EPPLaunchNotice aNotice)Sets the claims notice information in Claims Create Form.voidsetNotices(java.util.List<EPPLaunchNotice> aNotices)Sets the list of notices.voidsetPhase(EPPLaunchPhase aPhase)Sets the phase associated with the create command.voidsetPhase(java.lang.String aPhaseString)Sets the phase with one of theEPPLaunchPhasePHASEconstants.voidsetSignedMark(EPPSignedMark aSignedMark)Sets the signed mark when using the Sunrise Create Form.voidsetSignedMarks(java.util.List<EPPSignedMark> aSignedMarks)Sets the list of signed marks.voidsetType(java.lang.String aType)Sets the type of the object to create, with the default beingnullor undefined.java.lang.StringtoString()Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent.
-
-
-
Field Detail
-
TYPE_APPLICATION
public static final java.lang.String TYPE_APPLICATION
Constant used to specify to create an application.- See Also:
- Constant Field Values
-
TYPE_REGISTRATION
public static final java.lang.String TYPE_REGISTRATION
Constant used to specify to create a registration.- See Also:
- Constant Field Values
-
ELM_LOCALNAME
public static final java.lang.String ELM_LOCALNAME
Constant for the launch phase create 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
-
EPPLaunchCreate
public EPPLaunchCreate()
Create anEPPLaunchCreateinstance
-
EPPLaunchCreate
public EPPLaunchCreate(EPPLaunchPhase aPhase)
Create anEPPLaunchCreateinstance with the required phase attribute.- Parameters:
aPhase- Phase associated with the create.
-
EPPLaunchCreate
public EPPLaunchCreate(EPPLaunchPhase aPhase, java.lang.String aType)
Create anEPPLaunchCreateinstance with the required phase attribute and optional type.- Parameters:
aPhase- Phase associated with the create.aType- Type of object to create (TYPE_APPLICATIONorTYPE_REGISTRATION)
-
EPPLaunchCreate
public EPPLaunchCreate(EPPLaunchPhase aPhase, EPPSignedMark aSignedMark)
Create aEPPLaunchCreateinstance with the required phase and a single signed mark.- Parameters:
aPhase- Phase of the createaSignedMark- Signed mark used with Sunrise Create Form
-
EPPLaunchCreate
public EPPLaunchCreate(EPPLaunchPhase aPhase, EPPSignedMark aSignedMark, java.lang.String aType)
Create aEPPLaunchCreateinstance with the required phase and a single signed mark and optional type.- Parameters:
aPhase- Phase of the createaSignedMark- Signed mark used with Sunrise Create FormaType- Type of object to create (TYPE_APPLICATIONorTYPE_REGISTRATION)
-
EPPLaunchCreate
public EPPLaunchCreate(EPPLaunchPhase aPhase, EPPLaunchCodeMark aCodeMark)
Create aEPPLaunchCreateinstance with the required phase and a single code mark.- Parameters:
aPhase- Phase of the createaCodeMark- Code mark used with Sunrise Create Form
-
EPPLaunchCreate
public EPPLaunchCreate(EPPLaunchPhase aPhase, EPPLaunchCodeMark aCodeMark, java.lang.String aType)
Create aEPPLaunchCreateinstance with the required phase and a single code mark and the optional type.- Parameters:
aPhase- Phase of the createaCodeMark- Code mark used with Sunrise Create FormaType- Type of object to create (TYPE_APPLICATIONorTYPE_REGISTRATION)
-
EPPLaunchCreate
public EPPLaunchCreate(EPPLaunchPhase aPhase, EPPLaunchNotice aNotice)
Create aEPPLaunchCreateinstance with the required phase and the claims notice information for Claims Create Form.- Parameters:
aPhase- Phase of the createaNotice- Claims notice information
-
EPPLaunchCreate
public EPPLaunchCreate(EPPLaunchPhase aPhase, EPPLaunchNotice aNotice, java.lang.String aType)
Create aEPPLaunchCreateinstance with the required phase and the claims notice information for Claims Create Form and optional type.- Parameters:
aPhase- Phase of the createaNotice- Claims notice informationaType- Type of object to create (TYPE_APPLICATIONorTYPE_REGISTRATION)
-
-
Method Detail
-
hasType
public boolean hasType()
Is the type defined?- Returns:
trueif the type is defined;falseotherwise.
-
getType
public java.lang.String getType()
Gets the type of the object to create, which should be eitherTYPE_APPLICATION,TYPE_REGISTRATION, ornullfor undefined.- Returns:
TYPE_APPLICATION,TYPE_REGISTRATION, ornullfor undefined.
-
setType
public void setType(java.lang.String aType)
Sets the type of the object to create, with the default beingnullor undefined.- Parameters:
aType- Type of object to create.
-
getPhase
public EPPLaunchPhase getPhase()
Gets phase associated with the create command.- Returns:
- phase associated with the create if defined;
nullotherwise.
-
setPhase
public void setPhase(EPPLaunchPhase aPhase)
Sets the phase associated with the create command.- Parameters:
aPhase- Phase associated with the create.
-
setPhase
public void setPhase(java.lang.String aPhaseString)
Sets the phase with one of theEPPLaunchPhasePHASEconstants.- Parameters:
aPhaseString- One of theEPPLaunchPhasePHASEconstants.
-
hasSignedMarks
public boolean hasSignedMarks()
Are signed marks defined?- Returns:
trueif signed marks are defined;falseotherwise.
-
getSignedMarks
public java.util.List<EPPSignedMark> getSignedMarks()
Gets the list of signed marks.- Returns:
- List of signed marks if set;
nullotherwise.
-
setSignedMarks
public void setSignedMarks(java.util.List<EPPSignedMark> aSignedMarks)
Sets the list of signed marks.- Parameters:
aSignedMarks- List of signed marks
-
getSignedMark
public EPPSignedMark getSignedMark()
Gets the signed mark when using the Sunrise Create Form.- Returns:
- Signed mark if defined;
nullotherwise.
-
setSignedMark
public void setSignedMark(EPPSignedMark aSignedMark)
Sets the signed mark when using the Sunrise Create Form.- Parameters:
aSignedMark- Signed mark when using Sunrise Create Form
-
addSignedMark
public void addSignedMark(EPPSignedMark aSignedMark)
Adds a signed mark to the list of signed marks.- Parameters:
aSignedMark- Signed mark to add to the list of signed marks.
-
hasCodeMarks
public boolean hasCodeMarks()
Are code marks defined?- Returns:
trueif code marks are defined;falseotherwise.
-
getCodeMarks
public java.util.List<EPPLaunchCodeMark> getCodeMarks()
Gets the list of code marks.- Returns:
- List of code marks if set;
nullotherwise.
-
setCodeMarks
public void setCodeMarks(java.util.List<EPPLaunchCodeMark> aCodeMarks)
Sets the list of code marks.- Parameters:
aCodeMarks- List of code marks
-
getCodeMark
public EPPLaunchCodeMark getCodeMark()
Gets the code mark when using the Sunrise Create Form.- Returns:
- Code mark if defined;
nullotherwise.
-
setCodeMark
public void setCodeMark(EPPLaunchCodeMark aCodeMark)
Sets the code mark when using the Sunrise Create Form.- Parameters:
aCodeMark- Code mark when using Sunrise Create Form
-
addCodeMark
public void addCodeMark(EPPLaunchCodeMark aCodeMark)
-
hasNotice
public boolean hasNotice()
Is the claims notice defined?- Returns:
trueif the claims notice is defined;falseotherwise.
-
getNotice
public EPPLaunchNotice getNotice()
Gets the claims notice information in Claims Create Form.- Returns:
- Claims notice information if set;
nullotherwise.
-
clearNotices
public void clearNotices()
Clear the claim notices set. The result will be an empty claim notice list.
-
setNotice
public void setNotice(EPPLaunchNotice aNotice)
Sets the claims notice information in Claims Create Form.- Parameters:
aNotice- Claims notice information.
-
getNotices
public java.util.List<EPPLaunchNotice> getNotices()
Returns the list of notices.- Returns:
- List of notices; empty list if no notices set.
-
setNotices
public void setNotices(java.util.List<EPPLaunchNotice> aNotices)
Sets the list of notices.- Parameters:
aNotices- Notices to set. IfaNoticesisnullthe list will be set to the empty list.
-
addNotice
public void addNotice(EPPLaunchNotice aNotice)
Adds a claims notice to the list of claims notices in Claims Create Form.- Parameters:
aNotice- Claims notice information.
-
clone
public java.lang.Object clone() throws java.lang.CloneNotSupportedExceptionCloneEPPLaunchCreate.- Specified by:
clonein interfaceEPPCodecComponent- Overrides:
clonein classjava.lang.Object- Returns:
- clone of
EPPLaunchCreate - Throws:
java.lang.CloneNotSupportedException- standard Object.clone exception
-
encode
public org.w3c.dom.Element encode(org.w3c.dom.Document aDocument) throws EPPEncodeExceptionEncode theEPPLaunchCreateto 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 theEPPLaunchCreate.- 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 deepEPPLaunchCreatecompare.- Overrides:
equalsin classjava.lang.Object- Parameters:
aObject-EPPLaunchCreateinstance to compare with- Returns:
- true if equal false otherwise
-
toString
public java.lang.String toString()
Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent.- Overrides:
toStringin classjava.lang.Object- Returns:
- Indented XML
Stringif successful;ERRORotherwise.
-
getNamespace
public java.lang.String getNamespace()
Returns the XML namespace associated with theEPPCodecComponent.- Specified by:
getNamespacein interfaceEPPCodecComponent- Returns:
- XML namespace for the
EPPCodecComponent.
-
-