public class EPPRegistryZone extends java.lang.Object implements EPPCodecComponent
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 and Description |
---|
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. |
Modifier and Type | Method and Description |
---|---|
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.lang.String |
getNamespace()
Returns the XML namespace associated with the
EPPCodecComponent . |
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 . |
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 updatepublic 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 withtrue
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 objectpublic java.lang.String getNamespace()
EPPCodecComponent
.getNamespace
in interface EPPCodecComponent
EPPCodecComponent
.Copyright © VeriSign Inc. All Rights Reserved.