|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.verisign.epp.codec.fee.v06.EPPFeeInfData
public class EPPFeeInfData
The extension to a response to an info command with the fee info extension.
EPPFeeInfo,
Serialized Form| Field Summary | |
|---|---|
static java.lang.String |
ELM_LOCALNAME
XML local name for EPPFeeInfData. |
static java.lang.String |
ELM_NAME
XML root tag for EPPFeeInfData. |
| Constructor Summary | |
|---|---|
EPPFeeInfData()
Default constructor for EPPFeeInfData. |
|
EPPFeeInfData(java.lang.String aCurrency,
EPPFeeCommand aCommand,
EPPFeePeriod aPeriod)
Constructor for EPPFeeInfData that takes the required
currency, command, and period attributes. |
|
EPPFeeInfData(java.lang.String aCurrency,
EPPFeeCommand aCommand,
EPPFeePeriod aPeriod,
EPPFeeValue aFee)
Constructor for EPPFeeInfData that takes all the primary
attributes. |
|
EPPFeeInfData(java.lang.String aCurrency,
EPPFeeCommand aCommand,
EPPFeePeriod aPeriod,
java.util.List<EPPFeeValue> aFees,
java.lang.String aClassification)
Constructor for EPPFeeInfData that takes all attributes. |
|
| Method Summary | |
|---|---|
void |
addFee(EPPFeeValue aFee)
Adds a fee to the list of fees. |
java.lang.Object |
clone()
clone an EPPCodecComponent. |
void |
decode(org.w3c.dom.Element aElement)
Decode a DOM element tree to initialize the instance attributes. |
org.w3c.dom.Element |
encode(org.w3c.dom.Document aDocument)
Encode instance into a DOM element tree. |
boolean |
equals(java.lang.Object aObject)
Compare an instance of EPPFeeInfData with this instance. |
java.lang.String |
getClassification()
Gets the classification. |
EPPFeeCommand |
getCommand()
Gets the command value. |
java.lang.String |
getCurrency()
Gets the currency value. |
java.util.List<EPPFeeValue> |
getFees()
Gets the list of fees if defined. |
EPPFeePeriod |
getPeriod()
Gets the period value. |
boolean |
hasClassification()
Is the classification defined? |
boolean |
hasFees()
Are the fees defined? |
void |
setClassification(java.lang.String aClassification)
Sets the classification. |
void |
setCommand(EPPFeeCommand aCommand)
Sets the command value. |
void |
setCurrency(java.lang.String aCurrency)
Sets the currency value. |
void |
setFees(java.util.List<EPPFeeValue> aFees)
Sets the list of fees. |
void |
setPeriod(EPPFeePeriod aPeriod)
Sets the period value. |
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
EPPFeeInfData.
public static final java.lang.String ELM_NAME
EPPFeeInfData.
| Constructor Detail |
|---|
public EPPFeeInfData()
EPPFeeInfData.
public EPPFeeInfData(java.lang.String aCurrency,
EPPFeeCommand aCommand,
EPPFeePeriod aPeriod)
EPPFeeInfData that takes the required
currency, command, and period attributes.
aCurrency - Currency of the feesaCommand - Command associated with the feesaPeriod - Registration period of the fees
public EPPFeeInfData(java.lang.String aCurrency,
EPPFeeCommand aCommand,
EPPFeePeriod aPeriod,
EPPFeeValue aFee)
EPPFeeInfData that takes all the primary
attributes.
aCurrency - Currency of the feesaCommand - Command associated with the feesaPeriod - Registration period of the feesaFee - A single fee value
public EPPFeeInfData(java.lang.String aCurrency,
EPPFeeCommand aCommand,
EPPFeePeriod aPeriod,
java.util.List<EPPFeeValue> aFees,
java.lang.String aClassification)
EPPFeeInfData that takes all attributes.
aCurrency - Currency of the feesaCommand - Command associated with the feesaPeriod - Registration period of the feesaFees - A list of fees that if set to null indicates no
feesaClassification - An optional classification of the domain name. If
set to null there is no classification.| Method Detail |
|---|
public java.lang.String getCurrency()
null otherwise.public void setCurrency(java.lang.String aCurrency)
aCurrency - Currency valuepublic EPPFeeCommand getCommand()
null otherwise.public void setCommand(EPPFeeCommand aCommand)
aCommand - Command valuepublic EPPFeePeriod getPeriod()
null otherwise.public void setPeriod(EPPFeePeriod aPeriod)
aPeriod - Period valuepublic boolean hasFees()
true if the fees are defined; false
otherwise.public java.util.List<EPPFeeValue> getFees()
public void addFee(EPPFeeValue aFee)
aFee - The fee to add.public void setFees(java.util.List<EPPFeeValue> aFees)
aFees - The fees to set.public boolean hasClassification()
true if the classification is defined;
false otherwise.public java.lang.String getClassification()
null otherwise.public void setClassification(java.lang.String aClassification)
aClassification - The classification to set
public org.w3c.dom.Element encode(org.w3c.dom.Document aDocument)
throws EPPEncodeException
encode in interface EPPCodecComponentaDocument - DOM Document, which acts is an Element factory
EPPEncodeException - Error encoding EPPFeeInfData
public void decode(org.w3c.dom.Element aElement)
throws EPPDecodeException
aElement argument represents the root DOM element and is
used to traverse the DOM nodes for instance attribute values.
decode in interface EPPCodecComponentaElement - Element to decode
EPPDecodeException - Error decoding Element
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
EPPCodecComponent.
clone in interface EPPCodecComponentclone in class java.lang.ObjectEPPFeeInfData
java.lang.CloneNotSupportedException - standard Object.clone exceptionpublic java.lang.String toString()
Object.toString, which will result in an
indented XML String representation of the concrete
EPPCodecComponent.
toString in class java.lang.ObjectString if successful;
ERROR otherwise.public boolean equals(java.lang.Object aObject)
EPPFeeInfData with this instance.
equals in class java.lang.ObjectaObject - Object to compare with.
true if equal; false otherwise.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||