public class EPPLaunchCreate extends java.lang.Object implements EPPCodecComponent
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ELM_LOCALNAME
Constant for the launch phase create extension local name
|
static java.lang.String |
ELM_NAME
Constant for the launch phase info extension tag
|
static java.lang.String |
TYPE_APPLICATION
Constant used to specify to create an application.
|
static java.lang.String |
TYPE_REGISTRATION
Constant used to specify to create a registration.
|
Constructor and Description |
---|
EPPLaunchCreate()
Create an
EPPLaunchCreate instance |
EPPLaunchCreate(EPPLaunchPhase aPhase)
Create an
EPPLaunchCreate instance with the required phase
attribute. |
EPPLaunchCreate(EPPLaunchPhase aPhase,
EPPLaunchCodeMark aCodeMark)
Create a
EPPLaunchCreate instance with the required phase
and a single code mark. |
EPPLaunchCreate(EPPLaunchPhase aPhase,
EPPLaunchCodeMark aCodeMark,
java.lang.String aType)
Create a
EPPLaunchCreate instance with the required phase
and a single code mark and the optional type. |
EPPLaunchCreate(EPPLaunchPhase aPhase,
EPPLaunchNotice aNotice)
Create a
EPPLaunchCreate instance with the required phase
and the claims notice information for Claims Create Form. |
EPPLaunchCreate(EPPLaunchPhase aPhase,
EPPLaunchNotice aNotice,
java.lang.String aType)
Create a
EPPLaunchCreate instance with the required phase
and the claims notice information for Claims Create Form and optional
type. |
EPPLaunchCreate(EPPLaunchPhase aPhase,
EPPSignedMark aSignedMark)
Create a
EPPLaunchCreate instance with the required phase
and a single signed mark. |
EPPLaunchCreate(EPPLaunchPhase aPhase,
EPPSignedMark aSignedMark,
java.lang.String aType)
Create a
EPPLaunchCreate instance with the required phase
and a single signed mark and optional type. |
EPPLaunchCreate(EPPLaunchPhase aPhase,
java.lang.String aType)
Create an
EPPLaunchCreate instance with the required phase
attribute and optional type. |
Modifier and Type | Method and Description |
---|---|
void |
addCodeMark(EPPLaunchCodeMark aCodeMark) |
void |
addNotice(EPPLaunchNotice aNotice)
Adds a claims notice to the list of claims notices in Claims Create Form.
|
void |
addSignedMark(EPPSignedMark aSignedMark)
Adds a signed mark to the list of signed marks.
|
void |
clearNotices()
Clear the claim notices set.
|
java.lang.Object |
clone()
Clone
EPPLaunchCreate . |
void |
decode(org.w3c.dom.Element aElement)
Decode the DOM element to the
EPPLaunchCreate . |
org.w3c.dom.Element |
encode(org.w3c.dom.Document aDocument)
Encode the
EPPLaunchCreate to a DOM Element |
boolean |
equals(java.lang.Object aObject)
implements a deep
EPPLaunchCreate compare. |
EPPLaunchCodeMark |
getCodeMark()
Gets the code mark when using the Sunrise Create Form.
|
java.util.List<EPPLaunchCodeMark> |
getCodeMarks()
Gets the list of code marks.
|
java.lang.String |
getNamespace()
Returns the XML namespace associated with the
EPPCodecComponent . |
EPPLaunchNotice |
getNotice()
Gets the claims notice information in Claims Create Form.
|
java.util.List<EPPLaunchNotice> |
getNotices()
Returns the list of notices.
|
EPPLaunchPhase |
getPhase()
Gets phase associated with the create command.
|
EPPSignedMark |
getSignedMark()
Gets the signed mark when using the Sunrise Create Form.
|
java.util.List<EPPSignedMark> |
getSignedMarks()
Gets the list of signed marks.
|
java.lang.String |
getType()
Gets the type of the object to create, which should be either
TYPE_APPLICATION , TYPE_REGISTRATION , or
null for undefined. |
boolean |
hasCodeMarks()
Are code marks defined?
|
boolean |
hasNotice()
Is the claims notice defined?
|
boolean |
hasSignedMarks()
Are signed marks defined?
|
boolean |
hasType()
Is the type defined?
|
void |
setCodeMark(EPPLaunchCodeMark aCodeMark)
Sets the code mark when using the Sunrise Create Form.
|
void |
setCodeMarks(java.util.List<EPPLaunchCodeMark> aCodeMarks)
Sets the list of code marks.
|
void |
setNotice(EPPLaunchNotice aNotice)
Sets the claims notice information in Claims Create Form.
|
void |
setNotices(java.util.List<EPPLaunchNotice> aNotices)
Sets the list of notices.
|
void |
setPhase(EPPLaunchPhase aPhase)
Sets the phase associated with the create command.
|
void |
setPhase(java.lang.String aPhaseString)
Sets the phase with one of the
EPPLaunchPhase
PHASE constants. |
void |
setSignedMark(EPPSignedMark aSignedMark)
Sets the signed mark when using the Sunrise Create Form.
|
void |
setSignedMarks(java.util.List<EPPSignedMark> aSignedMarks)
Sets the list of signed marks.
|
void |
setType(java.lang.String aType)
Sets the type of the object to create, with the default being
null or undefined. |
java.lang.String |
toString()
Implementation of
Object.toString , which will result in an
indented XML String representation of the concrete
EPPCodecComponent . |
public static final java.lang.String TYPE_APPLICATION
public static final java.lang.String TYPE_REGISTRATION
public static final java.lang.String ELM_LOCALNAME
public static final java.lang.String ELM_NAME
public EPPLaunchCreate()
EPPLaunchCreate
instancepublic EPPLaunchCreate(EPPLaunchPhase aPhase)
EPPLaunchCreate
instance with the required phase
attribute.aPhase
- Phase associated with the create.public EPPLaunchCreate(EPPLaunchPhase aPhase, java.lang.String aType)
EPPLaunchCreate
instance with the required phase
attribute and optional type.aPhase
- Phase associated with the create.aType
- Type of object to create (TYPE_APPLICATION
or
TYPE_REGISTRATION
)public EPPLaunchCreate(EPPLaunchPhase aPhase, EPPSignedMark aSignedMark)
EPPLaunchCreate
instance with the required phase
and a single signed mark.aPhase
- Phase of the createaSignedMark
- Signed mark used with Sunrise Create Formpublic EPPLaunchCreate(EPPLaunchPhase aPhase, EPPSignedMark aSignedMark, java.lang.String aType)
EPPLaunchCreate
instance with the required phase
and a single signed mark and optional type.aPhase
- Phase of the createaSignedMark
- Signed mark used with Sunrise Create FormaType
- Type of object to create (TYPE_APPLICATION
or
TYPE_REGISTRATION
)public EPPLaunchCreate(EPPLaunchPhase aPhase, EPPLaunchCodeMark aCodeMark)
EPPLaunchCreate
instance with the required phase
and a single code mark.aPhase
- Phase of the createaCodeMark
- Code mark used with Sunrise Create Formpublic EPPLaunchCreate(EPPLaunchPhase aPhase, EPPLaunchCodeMark aCodeMark, java.lang.String aType)
EPPLaunchCreate
instance with the required phase
and a single code mark and the optional type.aPhase
- Phase of the createaCodeMark
- Code mark used with Sunrise Create FormaType
- Type of object to create (TYPE_APPLICATION
or
TYPE_REGISTRATION
)public EPPLaunchCreate(EPPLaunchPhase aPhase, EPPLaunchNotice aNotice)
EPPLaunchCreate
instance with the required phase
and the claims notice information for Claims Create Form.aPhase
- Phase of the createaNotice
- Claims notice informationpublic EPPLaunchCreate(EPPLaunchPhase aPhase, EPPLaunchNotice aNotice, java.lang.String aType)
EPPLaunchCreate
instance with the required phase
and the claims notice information for Claims Create Form and optional
type.aPhase
- Phase of the createaNotice
- Claims notice informationaType
- Type of object to create (TYPE_APPLICATION
or
TYPE_REGISTRATION
)public boolean hasType()
true
if the type is defined; false
otherwise.public java.lang.String getType()
TYPE_APPLICATION
, TYPE_REGISTRATION
, or
null
for undefined.TYPE_APPLICATION
, TYPE_REGISTRATION
, or
null
for undefined.public void setType(java.lang.String aType)
null
or undefined.aType
- Type of object to create.public EPPLaunchPhase getPhase()
null
otherwise.public void setPhase(EPPLaunchPhase aPhase)
aPhase
- Phase associated with the create.public void setPhase(java.lang.String aPhaseString)
EPPLaunchPhase
PHASE
constants.aPhaseString
- One of the EPPLaunchPhase
PHASE
constants.public boolean hasSignedMarks()
true
if signed marks are defined; false
otherwise.public java.util.List<EPPSignedMark> getSignedMarks()
null
otherwise.public void setSignedMarks(java.util.List<EPPSignedMark> aSignedMarks)
aSignedMarks
- List of signed markspublic EPPSignedMark getSignedMark()
null
otherwise.public void setSignedMark(EPPSignedMark aSignedMark)
aSignedMark
- Signed mark when using Sunrise Create Formpublic void addSignedMark(EPPSignedMark aSignedMark)
aSignedMark
- Signed mark to add to the list of signed marks.public boolean hasCodeMarks()
true
if code marks are defined; false
otherwise.public java.util.List<EPPLaunchCodeMark> getCodeMarks()
null
otherwise.public void setCodeMarks(java.util.List<EPPLaunchCodeMark> aCodeMarks)
aCodeMarks
- List of code markspublic EPPLaunchCodeMark getCodeMark()
null
otherwise.public void setCodeMark(EPPLaunchCodeMark aCodeMark)
aCodeMark
- Code mark when using Sunrise Create Formpublic void addCodeMark(EPPLaunchCodeMark aCodeMark)
public boolean hasNotice()
true
if the claims notice is defined;
false
otherwise.public EPPLaunchNotice getNotice()
null
otherwise.public void clearNotices()
public void setNotice(EPPLaunchNotice aNotice)
aNotice
- Claims notice information.public java.util.List<EPPLaunchNotice> getNotices()
public void setNotices(java.util.List<EPPLaunchNotice> aNotices)
aNotices
- Notices to set. If aNotices
is null
the list will be set to the empty list.public void addNotice(EPPLaunchNotice aNotice)
aNotice
- Claims notice information.public java.lang.Object clone() throws java.lang.CloneNotSupportedException
EPPLaunchCreate
.clone
in interface EPPCodecComponent
clone
in class java.lang.Object
EPPLaunchCreate
java.lang.CloneNotSupportedException
- standard Object.clone exceptionpublic org.w3c.dom.Element encode(org.w3c.dom.Document aDocument) throws EPPEncodeException
EPPLaunchCreate
to a DOM Elementencode
in interface EPPCodecComponent
aDocument
- a DOM Document to attach data to.EPPEncodeException
- Thrown if any errors prevent encoding.public void decode(org.w3c.dom.Element aElement) throws EPPDecodeException
EPPLaunchCreate
.decode
in interface EPPCodecComponent
aElement
- DOM Element to decode the attribute valuesEPPDecodeException
- Error decoding the DOM Elementpublic boolean equals(java.lang.Object aObject)
EPPLaunchCreate
compare.equals
in class java.lang.Object
aObject
- EPPLaunchCreate
instance to compare withpublic java.lang.String toString()
Object.toString
, which will result in an
indented XML String
representation of the concrete
EPPCodecComponent
.toString
in class java.lang.Object
String
if successful;
ERROR
otherwise.public java.lang.String getNamespace()
EPPCodecComponent
.getNamespace
in interface EPPCodecComponent
EPPCodecComponent
.Copyright © VeriSign Inc. All Rights Reserved.