Package com.verisign.epp.codec.launch
Class EPPLaunchCheckResult
java.lang.Object
com.verisign.epp.codec.launch.EPPLaunchCheckResult
- All Implemented Interfaces:
EPPCodecComponent,Serializable,Cloneable
The
EPPLaunchCheckResult represents the claims check result for an
individual domain name. If there is a matching trademark for the domain name,
then the claims check result is indicated with exists set to
true; otherwise set to false. An OPTIONAL claimKey
attribute MAY be used to query a third party trademark provider like the
Trademark Clearinghouse (TMCH) for getting the information needed to generate
the trademark claims notice.- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor forEPPLaunchCheckResult.EPPLaunchCheckResult(String aName, boolean aExists) Create aEPPLaunchCheckResultwith the required attributes ofnameandexists.EPPLaunchCheckResult(String aName, boolean aExists, String aClaimKey) Create aEPPLaunchCheckResultwith the required attributes ofnameandexists, and the optionalclaimKeyattribute.EPPLaunchCheckResult(String aName, boolean aExists, String aClaimKey, String aValidatorId) Create aEPPLaunchCheckResultwith the required attributes ofnameandexists, and the optionalclaimKeyattribute. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddClaimKey(EPPLaunchClaimKey aClaimKey) Adds a claims key to the list of claim keys.voidaddClaimKey(String aClaimKey) Adds a claims key to the list of claim keys with a specified validator.voidaddClaimKey(String aClaimKey, String aValidatorIdentifier) Adds a claims key to the list of claim keys with specified Validator Identifier.voidClear the claim keys set.clone()CloneEPPLaunchCheckResult.voidDecode theEPPLaunchCheckResultattributes from the aElement DOM Element tree.Encode a DOM Element tree from the attributes of theEPPLaunchCheckResultinstance.booleanimplements a deepEPPLaunchCheckResultcompare.Gets the first key in the claim keys that MAY be passed to an info service of a third party trademark provider like the Trademark Clearinghouse (TMCH) for getting the information needed to generate the trademark claims notice.Gets the claim keys that MAY be passed to info services of a third party trademark provider like the Trademark Clearinghouse (TMCH) for getting the information needed to generate the trademark claims notices.getName()Gets the domain name associated with the result.Returns the XML namespace associated with theEPPCodecComponent.Gets the OPTIONAL Validator Identifier for the first claims key, which is the unique identifier for the Trademark Validator to query for the Trademark Claims Notice information.booleanIs the Validator Identifier defined?booleanisExists()Gets whether a trademark exist that matches the domain name?voidsetClaimKey(String aClaimKey) Sets the key that MAY be passed to an info service of a third party trademark provider like the Trademark Clearinghouse (TMCH) for getting the information needed to generate the trademark claims notice.voidsetClaimKeys(List<EPPLaunchClaimKey> aClaimKeys) Sets the claim keys that MAY be passed to info services of a third party trademark provider like the Trademark Clearinghouse (TMCH) for getting the information needed to generate the trademark claims notices.voidsetExists(boolean aExists) Sets whether a trademark exist that matches the domain name?voidSets the domain name associated with the result.voidsetValidatorId(String aValidatorId) Sets the OPTIONAL Validator Identifier for the first claims key, which is the unique identifier for the Trademark Validator to query for the Trademark Claims Notice information.toString()Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent.
-
Field Details
-
ELM_LOCALNAME
Constant for the claims check result local name- See Also:
-
ELM_NAME
Constant for the claims check result tag- See Also:
-
-
Constructor Details
-
EPPLaunchCheckResult
public EPPLaunchCheckResult()Default constructor forEPPLaunchCheckResult. -
EPPLaunchCheckResult
Create aEPPLaunchCheckResultwith the required attributes ofnameandexists.- Parameters:
aName- Domain name of resultaExists-trueif there is a matching trademark for the domain name;falseotherwise.
-
EPPLaunchCheckResult
Create aEPPLaunchCheckResultwith the required attributes ofnameandexists, and the optionalclaimKeyattribute.- Parameters:
aName- Domain name of resultaExists-trueif there is a matching trademark for the domain name;falseotherwise.aClaimKey- Key that MAY be passed to an info service of a third party trademark provider like the Trademark Clearinghouse (TMCH) for getting the information needed to generate the trademark claims notice.
-
EPPLaunchCheckResult
Create aEPPLaunchCheckResultwith the required attributes ofnameandexists, and the optionalclaimKeyattribute.- Parameters:
aName- Domain name of resultaExists-trueif there is a matching trademark for the domain name;falseotherwise.aClaimKey- Key that MAY be passed to an info service of a third party trademark provider like the Trademark Clearinghouse (TMCH) for getting the information needed to generate the trademark claims notice.aValidatorId- Identifier of the Trademark Validator to query using theaClaimKeyvalue.
-
-
Method Details
-
encode
Encode a DOM Element tree from the attributes of theEPPLaunchCheckResultinstance.- Specified by:
encodein interfaceEPPCodecComponent- Parameters:
aDocument- DOM Document that is being built. Used as an Element factory.- Returns:
- Element Root DOM Element representing the
EPPLaunchCheckResultinstance. - Throws:
EPPEncodeException- Unable to encodeEPPLaunchCheckResultinstance.
-
decode
Decode theEPPLaunchCheckResultattributes from the aElement DOM Element tree.- Specified by:
decodein interfaceEPPCodecComponent- Parameters:
aElement- Root DOM Element to decodeEPPLaunchCheckResultfrom.- Throws:
EPPDecodeException- Unable to decode aElement.
-
equals
implements a deepEPPLaunchCheckResultcompare. -
clone
CloneEPPLaunchCheckResult.- Specified by:
clonein interfaceEPPCodecComponent- Overrides:
clonein classObject- Returns:
- clone of
EPPLaunchCheckResult - Throws:
CloneNotSupportedException- standard Object.clone exception
-
getName
Gets the domain name associated with the result.- Returns:
- Domain name associated with the result if defined;
nullotherwise.
-
setName
Sets the domain name associated with the result.- Parameters:
aName- Domain Name associated with the result.
-
isExists
public boolean isExists()Gets whether a trademark exist that matches the domain name?- Returns:
trueif there is a matching trademark for the domain name;falseotherwise.
-
setExists
public void setExists(boolean aExists) Sets whether a trademark exist that matches the domain name?- Parameters:
aExists-trueif there is a matching trademark for the domain name;falseotherwise.
-
getClaimKey
Gets the first key in the claim keys that MAY be passed to an info service of a third party trademark provider like the Trademark Clearinghouse (TMCH) for getting the information needed to generate the trademark claims notice.- Returns:
- Claim key if at least one key is set;
nullotherwise.
-
clearClaimKeys
public void clearClaimKeys()Clear the claim keys set. The result will be an empty claim keys list. -
setClaimKey
Sets the key that MAY be passed to an info service of a third party trademark provider like the Trademark Clearinghouse (TMCH) for getting the information needed to generate the trademark claims notice.- Parameters:
aClaimKey- Claim key
-
getClaimKeys
Gets the claim keys that MAY be passed to info services of a third party trademark provider like the Trademark Clearinghouse (TMCH) for getting the information needed to generate the trademark claims notices.- Returns:
- Claim key if set;
nullotherwise.
-
setClaimKeys
Sets the claim keys that MAY be passed to info services of a third party trademark provider like the Trademark Clearinghouse (TMCH) for getting the information needed to generate the trademark claims notices.- Parameters:
aClaimKeys- List of claim keys
-
addClaimKey
Adds a claims key to the list of claim keys.- Parameters:
aClaimKey- Claim key to add
-
addClaimKey
Adds a claims key to the list of claim keys with a specified validator.- Parameters:
aClaimKey- Claim key to add with no specified validatorId
-
addClaimKey
Adds a claims key to the list of claim keys with specified Validator Identifier.- Parameters:
aClaimKey- Claim key to add with no specified Validator IdentifieraValidatorIdentifier- Validator Identifier, wherenullor a value of "tmch" can be specified to indicate the use of the ICANN TMCH.
-
getValidatorId
Gets the OPTIONAL Validator Identifier for the first claims key, which is the unique identifier for the Trademark Validator to query for the Trademark Claims Notice information. If undefined, the ICANN TMCH is the Validator or if the value is "tmch".- Returns:
- The Validator Identifier if defined;
nullotherwise to indicate to use the ICANN TMCH.
-
setValidatorId
Sets the OPTIONAL Validator Identifier for the first claims key, which is the unique identifier for the Trademark Validator to query for the Trademark Claims Notice information. Anullvalue or a value of "tmch" can be specified to indicate the use of the ICANN TMCH.- Parameters:
aValidatorId- Validator Identifier, wherenullor a value of "tmch" can be specified to indicate the use of the ICANN TMCH.
-
hasValidatorId
public boolean hasValidatorId()Is the Validator Identifier defined?- Returns:
trueif the Validator Identifier is defined;falseotherwise.
-
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.
-