public class EPPRegistryZoneSummary 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 FormModifier and Type | Field and Description |
---|---|
static java.lang.String |
ATTR_ACCESSIBLE
XML attribute name for the
accessible attribute. |
static java.lang.String |
ELM_LOCALNAME
XML local name for
EPPRegistryZoneSummary . |
static java.lang.String |
ELM_NAME
XML root tag for
EPPRegistryZoneSummary . |
Constructor and Description |
---|
EPPRegistryZoneSummary()
Default constructor.
|
EPPRegistryZoneSummary(EPPRegistryZoneName aName,
boolean aAccessible,
java.util.Date aCreateDate)
Construct
EPPRegistryZoneSummary with name and create date. |
EPPRegistryZoneSummary(EPPRegistryZoneName aName,
boolean aAccessible,
java.util.Date aCreateDate,
java.util.Date aUpdateDate)
Construct
EPPRegistryZoneSummary with name, create date and last
update date. |
EPPRegistryZoneSummary(java.lang.String aName,
boolean aAccessible,
java.util.Date aCreateDate)
Construct
EPPRegistryZoneSummary with aLabel name and create date. |
EPPRegistryZoneSummary(java.lang.String aName,
boolean aAccessible,
java.util.Date aCreateDate,
java.util.Date aUpdateDate)
Construct
EPPRegistryZoneSummary with aLabel name, create date and
last update date. |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Clone
EPPRegistryZoneSummary . |
void |
decode(org.w3c.dom.Element aElement)
Decode the
EPPRegistryZoneSummary 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
EPPRegistryZoneSummary instance. |
boolean |
equals(java.lang.Object aObject)
implements a deep
EPPRegistryZoneSummary compare. |
java.util.Date |
getCreateDate()
Get creation date of zone object.
|
EPPRegistryZoneName |
getName()
Gets the zone name.
|
java.lang.String |
getNamespace()
Returns the XML namespace associated with the
EPPCodecComponent . |
java.util.Date |
getUpdateDate()
Get last update date of zone object.
|
boolean |
isAccessible()
Is the zone accessible to the client?
|
void |
setAccessible(boolean aAccessible)
Sets if the zone is access to the client.
|
void |
setCreateDate(java.util.Date createDate)
Set creation date of zone object.
|
void |
setName(EPPRegistryZoneName aName)
Sets the zone name
|
void |
setName(java.lang.String aName)
Sets the aLabel zone name
|
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 static final java.lang.String ELM_LOCALNAME
EPPRegistryZoneSummary
.public static final java.lang.String ELM_NAME
EPPRegistryZoneSummary
.public static final java.lang.String ATTR_ACCESSIBLE
accessible
attribute.public EPPRegistryZoneSummary()
name
- nullcreateDate
- nullupdateDate
- nullsetName(EPPRegistryZoneName)
and setCreateDate(Date)
before calling encode(Document)
public EPPRegistryZoneSummary(java.lang.String aName, boolean aAccessible, java.util.Date aCreateDate)
EPPRegistryZoneSummary
with aLabel name and create date.
updateDate
is set to null.aName
- fully qualified aLabel name of zone objectaAccessible
- Indicates whether the zone is accessible with true
or
available with false
.aCreateDate
- creation date of zone objectpublic EPPRegistryZoneSummary(EPPRegistryZoneName aName, boolean aAccessible, java.util.Date aCreateDate)
EPPRegistryZoneSummary
with name and create date.
updateDate
is set to null.aName
- fully qualified name of zone objectaAccessible
- Indicates whether the zone is accessible with true
or
available with false
.aCreateDate
- creation date of zone objectpublic EPPRegistryZoneSummary(java.lang.String aName, boolean aAccessible, java.util.Date aCreateDate, java.util.Date aUpdateDate)
EPPRegistryZoneSummary
with aLabel name, create date and
last update date.aName
- fully qualified aLabel name of zone objectaAccessible
- Indicates whether the zone is accessible with true
or
available with false
.aCreateDate
- creation date of zone objectaUpdateDate
- date of last updatepublic EPPRegistryZoneSummary(EPPRegistryZoneName aName, boolean aAccessible, java.util.Date aCreateDate, java.util.Date aUpdateDate)
EPPRegistryZoneSummary
with name, create date and last
update date.aName
- fully qualified name of zone objectaAccessible
- Indicates whether the zone is accessible with true
or
available with false
.aCreateDate
- creation date of zone objectaUpdateDate
- date of last updatepublic org.w3c.dom.Element encode(org.w3c.dom.Document aDocument) throws EPPEncodeException
EPPRegistryZoneSummary
instance.encode
in interface EPPCodecComponent
aDocument
- DOM Document that is being built. Used as an Element factory.EPPRegistryZoneSummary
instance.EPPEncodeException
- - Unable to encode EPPRegistryZoneSummary
instance.public void decode(org.w3c.dom.Element aElement) throws EPPDecodeException
EPPRegistryZoneSummary
attributes from the aElement DOM
Element tree.decode
in interface EPPCodecComponent
aElement
- Root DOM Element to decode EPPRegistryZoneSummary
from.EPPDecodeException
- Unable to decode aElementpublic boolean equals(java.lang.Object aObject)
EPPRegistryZoneSummary
compare.equals
in class java.lang.Object
aObject
- EPPRegistryZoneSummary
instance to compare withtrue
if this object is the same as the aObject argument;
false
otherwisepublic java.lang.Object clone() throws java.lang.CloneNotSupportedException
EPPRegistryZoneSummary
.clone
in interface EPPCodecComponent
clone
in class java.lang.Object
EPPRegistryZoneSummary
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 EPPRegistryZoneName getName()
null
otherwise.public void setName(EPPRegistryZoneName aName)
aName
- Zone namepublic void setName(java.lang.String aName)
aName
- aLabel zone namepublic 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 boolean isAccessible()
true
if the zone is accessible; false
otherwise.public void setAccessible(boolean aAccessible)
aAccessible
- true
if the zone is accessible; false
otherwise.public java.lang.String getNamespace()
EPPCodecComponent
.getNamespace
in interface EPPCodecComponent
EPPCodecComponent
.Copyright © VeriSign Inc. All Rights Reserved.