|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.verisign.epp.codec.premiumdomain.EPPPremiumDomainCheckResult
public class EPPPremiumDomainCheckResult
EPPPremiumDomainCheckResult
represents the result of an
individual premium domain name check.
The attributes of EPPPremiumDomainCheckResult include the domain name
and a boolean value indicating if the domain name is premium.
The domain price
must be set before invoking encode
if the isPremium flag is set to true
.
Field Summary | |
---|---|
static java.lang.String |
ELM_NAME
XML tag name of EPPPremiumDomainCheckResult root element |
static java.lang.String |
PRICE_UNIT_USD
The constant value for USD |
Constructor Summary | |
---|---|
EPPPremiumDomainCheckResult()
Create an EPPPremiumDomainCheckResp instance |
|
EPPPremiumDomainCheckResult(java.lang.String aName,
boolean aIsPremium)
Create a EPPPremiumDomainCheckResp instance that will set
the attribute. |
Method Summary | |
---|---|
java.lang.Object |
clone()
Clone EPPPremiumDomainCheckResp . |
void |
decode(org.w3c.dom.Element aElement)
Decode the EPPPremiumDomainCheckResp 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 EPPPremiumDomainCheckResp instance. |
boolean |
equals(java.lang.Object aObject)
Compare an instance of EPPPremiumDomainCheckResp with this
instance. |
java.lang.String |
getName()
Gets the domain name associated with the result. |
java.math.BigDecimal |
getPrice()
|
java.lang.String |
getPriceUnit()
|
java.math.BigDecimal |
getRenewalPrice()
|
boolean |
isPremium()
|
void |
setIsPremium(boolean aIsPremium)
|
void |
setName(java.lang.String aName)
Sets the domain name associated with the result. |
void |
setPrice(java.math.BigDecimal aPrice)
|
void |
setPriceUnit(java.lang.String aPriceUnit)
|
void |
setRenewalPrice(java.math.BigDecimal aRenewalPrice)
|
Methods inherited from class java.lang.Object |
---|
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String PRICE_UNIT_USD
public static final java.lang.String ELM_NAME
EPPPremiumDomainCheckResult
root element
Constructor Detail |
---|
public EPPPremiumDomainCheckResult()
EPPPremiumDomainCheckResp
instance
public EPPPremiumDomainCheckResult(java.lang.String aName, boolean aIsPremium)
EPPPremiumDomainCheckResp
instance that will set
the attribute.
aIsPremium
- isPremium flagMethod Detail |
---|
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
EPPPremiumDomainCheckResp
.
clone
in interface EPPCodecComponent
clone
in class java.lang.Object
EPPPremiumDomainCheckResp
java.lang.CloneNotSupportedException
- standard Object.clone exceptionpublic org.w3c.dom.Element encode(org.w3c.dom.Document aDocument) throws EPPEncodeException
EPPPremiumDomainCheckResp
instance.
encode
in interface EPPCodecComponent
aDocument
- DOM Document that is being built
EPPPremiumDomainCheckResp
instance.
EPPEncodeException
public void decode(org.w3c.dom.Element aElement) throws EPPDecodeException
EPPPremiumDomainCheckResp
attributes from the
aElement
DOM Element tree.
decode
in interface EPPCodecComponent
aElement
- Root DOM Element to decode EPPPremiumDomainCheckResp
from.
EPPDecodeException
- Unable to decode aElement
public boolean equals(java.lang.Object aObject)
EPPPremiumDomainCheckResp
with this
instance.
equals
in class java.lang.Object
aObject
- Object to compare with.
public java.lang.String getName()
null
otherwise.public void setName(java.lang.String aName)
aName
- Domain Name associated with the result.public boolean isPremium()
public void setIsPremium(boolean aIsPremium)
aIsPremium
- the isPremium to setpublic java.math.BigDecimal getPrice()
public void setPrice(java.math.BigDecimal aPrice)
aPrice
- the price to setpublic java.math.BigDecimal getRenewalPrice()
public void setRenewalPrice(java.math.BigDecimal aRenewalPrice)
aRenewalPrice
- the renewalPrice to setpublic java.lang.String getPriceUnit()
null
otherwise.public void setPriceUnit(java.lang.String aPriceUnit)
aPriceUnit
- Unit associated with the price.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |