public class EPPIdnTableInfoListItem extends java.lang.Object implements EPPCodecComponent
EPPIdnTableInfoListItem is used to represent an IDN Table in a
List Info Form response. The IDN Table includes IDN Table identifier and the
update date.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ELM_LOCALNAME
XML local name for
EPPIdnTableInfoListItem. |
static java.lang.String |
ELM_NAME
XML root tag for
EPPIdnTableInfoListItem. |
| Constructor and Description |
|---|
EPPIdnTableInfoListItem()
Default constructor for
EPPIdnTableInfoListItem. |
EPPIdnTableInfoListItem(java.lang.String aName,
java.util.Date aUpdateDate)
Constructor for
EPPIdnTableInfoListItem that takes the
required attributed of the table identifier (name) and the update date. |
| Modifier and Type | Method and Description |
|---|---|
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
EPPIdnTableInfoListItem with this
instance. |
java.lang.String |
getName()
Gets the IDN Table identifier.
|
java.lang.String |
getNamespace()
Returns the XML namespace associated with the
EPPCodecComponent. |
java.util.Date |
getUpdateDate()
Gets the date and time that the IDN Table was created or last updated.
|
void |
setName(java.lang.String aName)
Sets the IDN Table identifier.
|
void |
setUpdateDate(java.util.Date aUpdateDate)
Sets the date and time that the IDN Table was created or last updated.
|
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
EPPIdnTableInfoListItem.public static final java.lang.String ELM_NAME
EPPIdnTableInfoListItem.public EPPIdnTableInfoListItem()
EPPIdnTableInfoListItem.public EPPIdnTableInfoListItem(java.lang.String aName,
java.util.Date aUpdateDate)
EPPIdnTableInfoListItem that takes the
required attributed of the table identifier (name) and the update date.aName - Table identifieraUpdateDate - Date and time the IDN Table was created or last updated.public java.lang.String getName()
public void setName(java.lang.String aName)
aName - The IDN Table identifier.public java.util.Date getUpdateDate()
public void setUpdateDate(java.util.Date aUpdateDate)
aUpdateDate - Date and time the IDN Table was created or last updated.public 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 EPPIdnTableInfoListItempublic 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.clone in interface EPPCodecComponentclone in class java.lang.ObjectEPPIdnTableInfoListItemjava.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)
EPPIdnTableInfoListItem 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.