|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.verisign.epp.codec.registry.EPPRegistryZone
public class EPPRegistryZone
Represents the summary info of a zone object. Zone summary info of all
supported zones is returned is a list when the server receives an
<info> command, with a <registry:all> element in it.
The zone summary info element contains:
setName(String)
and getName()
to access the attribute.setCreateDate(Date)
and getCreateDate()
to access the
attribute.setUpdateDate(Date)
and getUpdateDate()
to access the
attribute.
EPPRegistryZoneList
,
Serialized FormConstructor Summary | |
---|---|
EPPRegistryZone()
Default constructor. |
|
EPPRegistryZone(java.lang.String name,
java.util.Date createDate)
Construct EPPRegistryZone with name and create date. |
|
EPPRegistryZone(java.lang.String name,
java.util.Date createDate,
java.util.Date updateDate)
Construct EPPRegistryZone with name, craete date and last update
date. |
Method Summary | |
---|---|
java.lang.Object |
clone()
Clone EPPRegistryZone . |
void |
decode(org.w3c.dom.Element aElement)
Decode the EPPRegistryZone 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 EPPRegistryZone instance. |
boolean |
equals(java.lang.Object aObject)
implements a deep EPPRegistryZone compare. |
java.util.Date |
getCreateDate()
Get creation date of zone object. |
java.lang.String |
getName()
Get name of the zone object. |
java.util.Date |
getUpdateDate()
Get last update date of zone object. |
void |
setCreateDate(java.util.Date createDate)
Set creation date of zone object. |
void |
setName(java.lang.String name)
Set name of the zone object. |
void |
setUpdateDate(java.util.Date updateDate)
Set last update date of zone object. |
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 |
Constructor Detail |
---|
public EPPRegistryZone()
name
- nullcreateDate
- nullupdateDate
- nullsetName(String)
and setCreateDate(Date)
before
calling encode(Document)
public EPPRegistryZone(java.lang.String name, java.util.Date createDate)
EPPRegistryZone
with name and create date.
updateDate
is set to null.
name
- fully qualified name of zone objectcreateDate
- creation date of zone objectpublic EPPRegistryZone(java.lang.String name, java.util.Date createDate, java.util.Date updateDate)
EPPRegistryZone
with name, craete date and last update
date.
name
- fully qualified name of zone objectcreateDate
- creation date of zone objectupdateDate
- date of last updateMethod Detail |
---|
public org.w3c.dom.Element encode(org.w3c.dom.Document aDocument) throws EPPEncodeException
EPPRegistryZone
instance.
encode
in interface EPPCodecComponent
aDocument
- DOM Document that is being built. Used as an Element factory.
EPPRegistryZone
instance.
EPPEncodeException
- - Unable to encode EPPRegistryZone
instance.public void decode(org.w3c.dom.Element aElement) throws EPPDecodeException
EPPRegistryZone
attributes from the aElement DOM
Element tree.
decode
in interface EPPCodecComponent
aElement
- Root DOM Element to decode EPPRegistryZone
from.
EPPDecodeException
- Unable to decode aElementpublic boolean equals(java.lang.Object aObject)
EPPRegistryZone
compare.
equals
in class java.lang.Object
aObject
- EPPRegistryZone
instance to compare with
true
if this object is the same as the aObject argument;
false
otherwisepublic java.lang.Object clone() throws java.lang.CloneNotSupportedException
EPPRegistryZone
.
clone
in interface EPPCodecComponent
clone
in class java.lang.Object
EPPRegistryZone
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.Object
String
if successful;
ERROR
otherwise.public java.lang.String getName()
public void setName(java.lang.String name)
name
- fully qualified name of the zone objectpublic java.util.Date getCreateDate()
public void setCreateDate(java.util.Date createDate)
createDate
- creation date of zone objectpublic java.util.Date getUpdateDate()
public void setUpdateDate(java.util.Date updateDate)
updateDate
- last update date of zone object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |