Package com.verisign.epp.codec.launch
Class EPPLaunchChkData
java.lang.Object
com.verisign.epp.codec.launch.EPPLaunchChkData
- All Implemented Interfaces:
EPPCodecComponent,Serializable,Cloneable
The extension to a response to a claims check command.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionEPPLaunchCheckRespdefault constructor.EPPLaunchChkData(EPPLaunchCheckResult aResult) EPPLaunchCheckRespconstructor that will set the result of an individual domain without a phase.EPPLaunchChkData(EPPLaunchPhase aPhase) EPPLaunchCheckRespconstructor that takes only thetransIdattribute.EPPLaunchChkData(EPPLaunchPhase aPhase, EPPLaunchCheckResult aResult) EPPLaunchCheckRespconstructor that will set the result of an individual domain.EPPLaunchChkData(EPPLaunchPhase aPhase, List<EPPLaunchCheckResult> aResults) EPPLaunchCheckRespconstructor that will set the result of multiple domains.EPPLaunchChkData(List<EPPLaunchCheckResult> aResults) EPPLaunchCheckRespconstructor that will set the result of multiple domains without a phase. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCheckResult(EPPLaunchCheckResult aResult) Add a claims check result to the list of results.clone()CloneEPPLaunchCheckResp.voidDecode theEPPLaunchCheckRespattributes from the aElement DOM Element tree.Encode a DOM Element tree from the attributes of theEPPLaunchCheckRespinstance.booleanimplements a deepEPPLaunchCheckRespcompare.Get the results of aEPPLaunchCheckRespResponse.Get the EPP command Namespace associated withEPPLaunchCheckResp.getPhase()Gets phase of the check response.getType()Get the EPP response type associated withEPPLaunchCheckResp.booleanhasPhase()Is the phase defined?voidsetCheckResult(EPPLaunchCheckResult aResult) Sets the claims result of an individual domain name.voidsetCheckResults(List<EPPLaunchCheckResult> aResults) Set the results of aEPPLaunchCheckRespResponse.voidsetPhase(EPPLaunchPhase aPhase) Sets the phase of the check response.voidSets the phase with one of theEPPLaunchPhasePHASEconstants.toString()Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent.
-
Field Details
-
ELM_LOCALNAME
Constant for the launch phase check response- See Also:
-
ELM_NAME
Constant for the launch phase info extension tag- See Also:
-
-
Constructor Details
-
EPPLaunchChkData
public EPPLaunchChkData()EPPLaunchCheckRespdefault constructor. The results list will be empty. -
EPPLaunchChkData
EPPLaunchCheckRespconstructor that takes only thetransIdattribute.- Parameters:
aPhase- One of theEPPLaunchPhasePHASEconstants.
-
EPPLaunchChkData
EPPLaunchCheckRespconstructor that will set the result of an individual domain without a phase.- Parameters:
aResult- Result of a single domain name.
-
EPPLaunchChkData
EPPLaunchCheckRespconstructor that will set the result of multiple domains without a phase.- Parameters:
aResults- List of claims check results
-
EPPLaunchChkData
EPPLaunchCheckRespconstructor that will set the result of an individual domain.- Parameters:
aPhase- One of theEPPLaunchPhasePHASEconstants.aResult- Result of a single domain name.
-
EPPLaunchChkData
EPPLaunchCheckRespconstructor that will set the result of multiple domains.- Parameters:
aPhase- One of theEPPLaunchPhasePHASEconstants.aResults- List of claims check results
-
-
Method Details
-
getType
Get the EPP response type associated withEPPLaunchCheckResp.- Returns:
- EPPLaunchCheckResp.ELM_NAME
-
getNamespace
Get the EPP command Namespace associated withEPPLaunchCheckResp.- Specified by:
getNamespacein interfaceEPPCodecComponent- Returns:
EPPLaunchMapFactory.NS
-
equals
implements a deepEPPLaunchCheckRespcompare. -
clone
CloneEPPLaunchCheckResp.- Specified by:
clonein interfaceEPPCodecComponent- Overrides:
clonein classObject- Returns:
- clone of
EPPLaunchCheckResp - Throws:
CloneNotSupportedException- standard Object.clone exception
-
hasPhase
public boolean hasPhase()Is the phase defined?- Returns:
trueif the phase is defined;falseotherwise.
-
getPhase
Gets phase of the check response.- Returns:
- phase of the check response if set;
nullotherwise.
-
setPhase
Sets the phase of the check response.- Parameters:
aPhase- One of theEPPLaunchPhasePHASEconstants.
-
setPhase
Sets the phase with one of theEPPLaunchPhasePHASEconstants.- Parameters:
aPhaseString- One of theEPPLaunchPhasePHASEconstants.
-
getCheckResults
Get the results of aEPPLaunchCheckRespResponse. There is oneEPPLaunchCheckResultinstance inthis.resultsfor each domain requested in the Claims Check Command.- Returns:
- List of results if defined; empty list otherwise.
-
setCheckResults
Set the results of aEPPLaunchCheckRespResponse. There is oneEPPLaunchCheckResultinstance inthis.resultsfor each domain requested in the Claims Check Command.- Parameters:
aResults- List of claims check results
-
addCheckResult
Add a claims check result to the list of results.- Parameters:
aResult- Claims check result to add to the list.
-
setCheckResult
Sets the claims result of an individual domain name.- Parameters:
aResult- Claims check result to set
-
encode
Encode a DOM Element tree from the attributes of theEPPLaunchCheckRespinstance.- Specified by:
encodein interfaceEPPCodecComponent- Parameters:
aDocument- DOM Document that is being built. Used as an Element factory.- Returns:
- Element Root DOM Element representing the
EPPLaunchCheckRespinstance. - Throws:
EPPEncodeException- Unable to encodeEPPLaunchCheckRespinstance.
-
decode
Decode theEPPLaunchCheckRespattributes from the aElement DOM Element tree.- Specified by:
decodein interfaceEPPCodecComponent- Parameters:
aElement- Root DOM Element to decodeEPPLaunchCheckRespfrom.- Throws:
EPPDecodeException- Unable to decode aElement
-
toString
Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent.
-