Package com.verisign.epp.codec.launch
Class EPPLaunchCreate
java.lang.Object
com.verisign.epp.codec.launch.EPPLaunchCreate
- All Implemented Interfaces:
EPPCodecComponent,Serializable,Cloneable
Extension to the domain create command to create a launch phase application.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringConstant for the launch phase create extension local namestatic final StringConstant for the launch phase info extension tagstatic final StringConstant used to specify to create an application.static final StringConstant used to specify to create a registration. -
Constructor Summary
ConstructorsConstructorDescriptionCreate 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, 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, 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, String aType) Create aEPPLaunchCreateinstance with the required phase and a single signed mark and optional type.EPPLaunchCreate(EPPLaunchPhase aPhase, String aType) Create anEPPLaunchCreateinstance with the required phase attribute and optional type. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCodeMark(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.voidClear the claim notices set.clone()CloneEPPLaunchCreate.voidDecode the DOM element to theEPPLaunchCreate.Encode theEPPLaunchCreateto a DOM Elementbooleanimplements a deepEPPLaunchCreatecompare.Gets the code mark when using the Sunrise Create Form.Gets the list of code marks.Returns the XML namespace associated with theEPPCodecComponent.Gets the claims notice information in Claims Create Form.Returns the list of notices.getPhase()Gets phase associated with the create command.Gets the signed mark when using the Sunrise Create Form.Gets the list of signed marks.getType()Gets the type of the object to create, which should be eitherTYPE_APPLICATION,TYPE_REGISTRATION, ornullfor undefined.booleanAre code marks defined?booleanIs the claims notice defined?booleanAre signed marks defined?booleanhasType()Is the type defined?voidsetCodeMark(EPPLaunchCodeMark aCodeMark) Sets the code mark when using the Sunrise Create Form.voidsetCodeMarks(List<EPPLaunchCodeMark> aCodeMarks) Sets the list of code marks.voidsetNotice(EPPLaunchNotice aNotice) Sets the claims notice information in Claims Create Form.voidsetNotices(List<EPPLaunchNotice> aNotices) Sets the list of notices.voidsetPhase(EPPLaunchPhase aPhase) Sets the phase associated with the create command.voidSets the phase with one of theEPPLaunchPhasePHASEconstants.voidsetSignedMark(EPPSignedMark aSignedMark) Sets the signed mark when using the Sunrise Create Form.voidsetSignedMarks(List<EPPSignedMark> aSignedMarks) Sets the list of signed marks.voidSets the type of the object to create, with the default beingnullor undefined.toString()Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent.
-
Field Details
-
TYPE_APPLICATION
Constant used to specify to create an application.- See Also:
-
TYPE_REGISTRATION
Constant used to specify to create a registration.- See Also:
-
ELM_LOCALNAME
Constant for the launch phase create extension local name- See Also:
-
ELM_NAME
Constant for the launch phase info extension tag- See Also:
-
-
Constructor Details
-
EPPLaunchCreate
public EPPLaunchCreate()Create anEPPLaunchCreateinstance -
EPPLaunchCreate
Create anEPPLaunchCreateinstance with the required phase attribute.- Parameters:
aPhase- Phase associated with the create.
-
EPPLaunchCreate
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
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
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
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
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
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
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 Details
-
hasType
public boolean hasType()Is the type defined?- Returns:
trueif the type is defined;falseotherwise.
-
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
Sets the type of the object to create, with the default beingnullor undefined.- Parameters:
aType- Type of object to create.
-
getPhase
Gets phase associated with the create command.- Returns:
- phase associated with the create if defined;
nullotherwise.
-
setPhase
Sets the phase associated with the create command.- Parameters:
aPhase- Phase associated with the create.
-
setPhase
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
Gets the list of signed marks.- Returns:
- List of signed marks if set;
nullotherwise.
-
setSignedMarks
Sets the list of signed marks.- Parameters:
aSignedMarks- List of signed marks
-
getSignedMark
Gets the signed mark when using the Sunrise Create Form.- Returns:
- Signed mark if defined;
nullotherwise.
-
setSignedMark
Sets the signed mark when using the Sunrise Create Form.- Parameters:
aSignedMark- Signed mark when using Sunrise Create Form
-
addSignedMark
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
Gets the list of code marks.- Returns:
- List of code marks if set;
nullotherwise.
-
setCodeMarks
Sets the list of code marks.- Parameters:
aCodeMarks- List of code marks
-
getCodeMark
Gets the code mark when using the Sunrise Create Form.- Returns:
- Code mark if defined;
nullotherwise.
-
setCodeMark
Sets the code mark when using the Sunrise Create Form.- Parameters:
aCodeMark- Code mark when using Sunrise Create Form
-
addCodeMark
-
hasNotice
public boolean hasNotice()Is the claims notice defined?- Returns:
trueif the claims notice is defined;falseotherwise.
-
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
Sets the claims notice information in Claims Create Form.- Parameters:
aNotice- Claims notice information.
-
getNotices
Returns the list of notices.- Returns:
- List of notices; empty list if no notices set.
-
setNotices
Sets the list of notices.- Parameters:
aNotices- Notices to set. IfaNoticesisnullthe list will be set to the empty list.
-
addNotice
Adds a claims notice to the list of claims notices in Claims Create Form.- Parameters:
aNotice- Claims notice information.
-
clone
CloneEPPLaunchCreate.- Specified by:
clonein interfaceEPPCodecComponent- Overrides:
clonein classObject- Returns:
- clone of
EPPLaunchCreate - Throws:
CloneNotSupportedException- standard Object.clone exception
-
encode
Encode 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
Decode 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
implements a deepEPPLaunchCreatecompare. -
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.
-