|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.verisign.epp.codec.launch.EPPLaunchChkData
public class EPPLaunchChkData
The extension to a response to a claims check command.
EPPLaunchCheck
,
EPPLaunchCheckResult
,
Serialized FormField Summary | |
---|---|
static java.lang.String |
ELM_LOCALNAME
Constant for the launch phase check response |
static java.lang.String |
ELM_NAME
Constant for the launch phase info extension tag |
Constructor Summary | |
---|---|
EPPLaunchChkData()
EPPLaunchCheckResp default constructor. |
|
EPPLaunchChkData(EPPLaunchPhase aPhase)
EPPLaunchCheckResp constructor that takes only the
transId attribute. |
|
EPPLaunchChkData(EPPLaunchPhase aPhase,
EPPLaunchCheckResult aResult)
EPPLaunchCheckResp constructor that will set the result of
an individual domain. |
|
EPPLaunchChkData(EPPLaunchPhase aPhase,
java.util.List<EPPLaunchCheckResult> aResults)
EPPLaunchCheckResp constructor that will set the result of
multiple domains. |
Method Summary | |
---|---|
void |
addCheckResult(EPPLaunchCheckResult aResult)
Add a claims check result to the list of results. |
java.lang.Object |
clone()
Clone EPPLaunchCheckResp . |
void |
decode(org.w3c.dom.Element aElement)
Decode the EPPLaunchCheckResp attributes from the aElement
DOM Element tree. |
org.w3c.dom.Element |
encode(org.w3c.dom.Document aDocument)
Encode a DOM Element tree from the attributes of the EPPLaunchCheckResp instance. |
boolean |
equals(java.lang.Object aObject)
implements a deep EPPLaunchCheckResp compare. |
java.util.List<EPPLaunchCheckResult> |
getCheckResults()
Get the results of a EPPLaunchCheckResp Response. |
java.lang.String |
getNamespace()
Get the EPP command Namespace associated with EPPLaunchCheckResp . |
EPPLaunchPhase |
getPhase()
Gets phase of the check response. |
java.lang.String |
getType()
Get the EPP response type associated with EPPLaunchCheckResp
. |
void |
setCheckResult(EPPLaunchCheckResult aResult)
Sets the claims result of an individual domain name. |
void |
setCheckResults(java.util.List<EPPLaunchCheckResult> aResults)
Set the results of a EPPLaunchCheckResp Response. |
void |
setPhase(EPPLaunchPhase aPhase)
Sets the phase of the check response. |
void |
setPhase(java.lang.String aPhaseString)
Sets the phase with one of the EPPLaunchPhase
PHASE constants. |
java.lang.String |
toString()
Implementation of Object.toString , which will result in an
indented XML String representation of the concrete
EPPCodecComponent . |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String ELM_LOCALNAME
public static final java.lang.String ELM_NAME
Constructor Detail |
---|
public EPPLaunchChkData()
EPPLaunchCheckResp
default constructor. The results list
will be empty.
public EPPLaunchChkData(EPPLaunchPhase aPhase)
EPPLaunchCheckResp
constructor that takes only the
transId
attribute.
aPhase
- The phase with the value of
EPPLaunchPhase.PHASE_CLAIMS1
or
EPPLaunchPhase.PHASE_CLAIMS2
to indicate the phase the
response is associated with.public EPPLaunchChkData(EPPLaunchPhase aPhase, EPPLaunchCheckResult aResult)
EPPLaunchCheckResp
constructor that will set the result of
an individual domain.
aPhase
- The phase with the value of
EPPLaunchPhase.PHASE_CLAIMS1
or
EPPLaunchPhase.PHASE_CLAIMS2
to indicate the phase the
response is associated with.aResult
- Result of a single domain name.public EPPLaunchChkData(EPPLaunchPhase aPhase, java.util.List<EPPLaunchCheckResult> aResults)
EPPLaunchCheckResp
constructor that will set the result of
multiple domains.
aPhase
- The phase with the value of
EPPLaunchPhase.PHASE_CLAIMS1
or
EPPLaunchPhase.PHASE_CLAIMS2
to indicate the phase the
response is associated with.aResults
- List of claims check resultsMethod Detail |
---|
public java.lang.String getType()
EPPLaunchCheckResp
.
public java.lang.String getNamespace()
EPPLaunchCheckResp
.
EPPLaunchMapFactory.NS
public boolean equals(java.lang.Object aObject)
EPPLaunchCheckResp
compare.
equals
in class java.lang.Object
aObject
- EPPLaunchCheckResp
instance to compare with
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
EPPLaunchCheckResp
.
clone
in interface EPPCodecComponent
clone
in class java.lang.Object
EPPLaunchCheckResp
java.lang.CloneNotSupportedException
- standard Object.clone exceptionpublic EPPLaunchPhase getPhase()
null
otherwise.public void setPhase(EPPLaunchPhase aPhase)
aPhase
- The phase with the value of
EPPLaunchPhase.PHASE_CLAIMS1
or
EPPLaunchPhase.PHASE_CLAIMS2
"public void setPhase(java.lang.String aPhaseString)
EPPLaunchPhase
PHASE
constants.
aPhaseString
- One of the EPPLaunchPhase
PHASE
constants.public java.util.List<EPPLaunchCheckResult> getCheckResults()
EPPLaunchCheckResp
Response. There is
one EPPLaunchCheckResult
instance in
this.results
for each domain requested in the Claims Check
Command.
public void setCheckResults(java.util.List<EPPLaunchCheckResult> aResults)
EPPLaunchCheckResp
Response. There is
one EPPLaunchCheckResult
instance in
this.results
for each domain requested in the Claims Check
Command.
aResults
- List of claims check resultspublic void addCheckResult(EPPLaunchCheckResult aResult)
aResult
- Claims check result to add to the list.public void setCheckResult(EPPLaunchCheckResult aResult)
aResult
- Claims check result to setpublic org.w3c.dom.Element encode(org.w3c.dom.Document aDocument) throws EPPEncodeException
EPPLaunchCheckResp
instance.
encode
in interface EPPCodecComponent
aDocument
- DOM Document that is being built. Used as an Element factory.
EPPLaunchCheckResp
instance.
EPPEncodeException
- Unable to encode EPPLaunchCheckResp
instance.public void decode(org.w3c.dom.Element aElement) throws EPPDecodeException
EPPLaunchCheckResp
attributes from the aElement
DOM Element tree.
decode
in interface EPPCodecComponent
aElement
- Root DOM Element to decode EPPLaunchCheckResp
from.
EPPDecodeException
- Unable to decode aElementpublic 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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |