public class EPPFeeCheck extends java.lang.Object implements EPPCodecComponent
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ELM_LOCALNAME
XML local name for
EPPFeeCheck. |
static java.lang.String |
ELM_NAME
XML root tag for
EPPFeeCheck. |
| Constructor and Description |
|---|
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.. |
| Modifier and Type | Method and Description |
|---|---|
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.
|
java.lang.String |
getNamespace()
Returns the XML namespace associated with the
EPPCodecComponent. |
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. |
public static final java.lang.String ELM_LOCALNAME
EPPFeeCheck.public static final java.lang.String ELM_NAME
EPPFeeCheck.public EPPFeeCheck()
EPPFeeCheck.public EPPFeeCheck(EPPFeeCommand aCommand)
EPPFeeCheck that takes the required command
attribute.aCommand - Command to checkpublic 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 valuepublic 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 valuepublic org.w3c.dom.Element encode(org.w3c.dom.Document aDocument)
throws EPPEncodeException
encode in interface EPPCodecComponentaDocument - DOM Document, which acts is an Element factoryEPPEncodeException - Error encoding EPPFeeCheckpublic 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 decodeEPPDecodeException - Error decoding Elementpublic java.lang.Object clone()
throws java.lang.CloneNotSupportedException
EPPCodecComponent instance.clone in interface EPPCodecComponentclone in class java.lang.ObjectEPPFeeCheckjava.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.public java.lang.String getNamespace()
EPPCodecComponent.getNamespace in interface EPPCodecComponentEPPCodecComponent.Copyright © VeriSign Inc. All Rights Reserved.