|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.verisign.epp.codec.fee.v11.EPPFeeCheck
public class EPPFeeCheck
Fee Check Extension that enables a client to pass a command along with optionally the currency, period, and fee class to apply to the objects in the check command.
| Field Summary | |
|---|---|
static java.lang.String |
ELM_LOCALNAME
XML local name for EPPFeeCheck. |
static java.lang.String |
ELM_NAME
XML root tag for EPPFeeCheck. |
| Constructor Summary | |
|---|---|
EPPFeeCheck()
Default constructor for EPPFeeCheck. |
|
EPPFeeCheck(EPPFeeCommand aCommand)
Constructor for EPPFeeCheck that takes the required command
attribute. |
|
EPPFeeCheck(EPPFeeCommand aCommand,
java.lang.String aCurrency,
EPPFeePeriod aPeriod,
java.lang.String aClassification)
Constructor for EPPFeeCheck that takes the required command
attribute and all of the optional attributes.. |
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Clone an EPPCodecComponent instance. |
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 EPPFeeCheck with this instance. |
java.lang.String |
getClassification()
Gets the fee classification value. |
EPPFeeCommand |
getCommand()
Gets the command value. |
java.lang.String |
getCurrency()
Gets the currency value. |
EPPFeePeriod |
getPeriod()
Gets the period value. |
boolean |
hasClassification()
Is the fee classification defined? |
boolean |
hasCurrency()
Is the currency defined? |
boolean |
hasPeriod()
Is the period defined? |
void |
setClassification(java.lang.String aClassification)
Sets the fee classification value. |
void |
setCommand(EPPFeeCommand aCommand)
Sets the command value. |
void |
setCurrency(java.lang.String aCurrency)
Sets the currency value. |
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
EPPFeeCheck.
public static final java.lang.String ELM_NAME
EPPFeeCheck.
| Constructor Detail |
|---|
public EPPFeeCheck()
EPPFeeCheck.
public EPPFeeCheck(EPPFeeCommand aCommand)
EPPFeeCheck that takes the required command
attribute.
aCommand - Command to check
public EPPFeeCheck(EPPFeeCommand aCommand,
java.lang.String aCurrency,
EPPFeePeriod aPeriod,
java.lang.String aClassification)
EPPFeeCheck that takes the required command
attribute and all of the optional attributes..
aCommand - Command to checkaCurrency - OPTIONAL desired currency to returnaPeriod - OPTIONAL Registration period to checkaClassification - OPTIONAL classification value| Method Detail |
|---|
public EPPFeeCommand getCommand()
null otherwise.public void setCommand(EPPFeeCommand aCommand)
aCommand - Command valuepublic boolean hasCurrency()
true if the currency is defined; false
otherwise.public java.lang.String getCurrency()
null otherwise.public void setCurrency(java.lang.String aCurrency)
aCurrency - Currency valuepublic boolean hasPeriod()
true if the period is defined; false
otherwise.public EPPFeePeriod getPeriod()
null otherwise.public void setPeriod(EPPFeePeriod aPeriod)
aPeriod - Period valuepublic boolean hasClassification()
true if the fee classification is defined; false
otherwise.public java.lang.String getClassification()
null otherwise.public void setClassification(java.lang.String aClassification)
aClassification - fee classification value
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 EPPFeeCheck
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 instance.
clone in interface EPPCodecComponentclone in class java.lang.ObjectEPPFeeCheck
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)
EPPFeeCheck 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 | |||||||||