|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.verisign.epp.codec.registry.EPPRegistryZoneInfo
public class EPPRegistryZoneInfo
Represents the detailed information of a zone object. Upon receiving an
<info> command, with a <registry:name> element in it, the server
puts a <registry:zone> element in the response.
Each element in the list contains the following info:
getName()
and setName(String)
to get and set the element.getGroup()
and
setGroup(String)
to get and set the element.getSubProduct()
and
setSubProduct(String)
to get and set the element.getRelated()
and setRelated(EPPRegistryRelated)
to get and set
the element.getPhases()
and
setPhases(List)
to get and set the element. Use
addPhase(EPPRegistryPhase)
to append on phase to an existing phase
list.getServices()
and setServices(EPPRegistryServices)
to get
and set the element.getSlaInfo()
and
setSlaInfo(EPPRegistrySLAInfo)
to get and set the element.getCreatedBy()
and setCreatedBy(String)
to
get and set the element.getCreatedDate()
and setCreatedDate(Date)
to get and set
the element.getLastUpdatedBy()
and
setLastUpdatedBy(String)
to get and set the element.getLastUpdatedDate()
and
setLastUpdatedDate(Date)
to get and set the element.getDomain()
and setDomain(EPPRegistryDomain)
to
get and set the element.getHost()
and setHost(EPPRegistryHost)
to get and set the
element.getContact()
and setContact(EPPRegistryContact)
to get and set the element.
EPPRegistryZone
,
EPPRegistryPhase
,
EPPRegistryServices
,
EPPRegistrySLAInfo
,
EPPRegistryDomain
,
EPPRegistryHost
,
EPPRegistryContact
,
Serialized FormConstructor Summary | |
---|---|
EPPRegistryZoneInfo()
Default constructor. |
|
EPPRegistryZoneInfo(java.lang.String name)
Construct an EPPRegistryZoneInfo instance using a zone name. |
|
EPPRegistryZoneInfo(java.lang.String name,
java.lang.String aCreatedBy,
java.util.Date aCreatedDate)
Construct an EPPRegistryZoneInfo instance using a zone name, a
create id and a create date. |
Method Summary | |
---|---|
void |
addPhase(EPPRegistryPhase phase)
Append a zone phase to existing List of phases. |
java.lang.Object |
clone()
Clone EPPRegistryZoneInfo . |
void |
decode(org.w3c.dom.Element aElement)
Decode the EPPRegistryZoneInfo 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 EPPRegistryZoneInfo instance. |
boolean |
equals(java.lang.Object aObject)
implements a deep EPPRegistryZoneInfo compare. |
EPPRegistryContact |
getContact()
Get the contact object policy information. |
java.lang.String |
getCreatedBy()
Get the identifier of the client that created the zone. |
java.util.Date |
getCreatedDate()
Get zone creation date. |
EPPRegistryDomain |
getDomain()
Get the domain name object policy information. |
java.lang.String |
getGroup()
Get zone group. |
EPPRegistryHost |
getHost()
Get the host object policy information. |
java.lang.String |
getLastUpdatedBy()
Get the identifier of the client that last updated the zone object. |
java.util.Date |
getLastUpdatedDate()
Get the zone last updated date. |
java.lang.String |
getName()
Get name of zone. |
java.util.List |
getPhases()
Get List of zone phases. |
EPPRegistryRelated |
getRelated()
Gets the related zones. |
EPPRegistryServices |
getServices()
Get services supported by the zone |
EPPRegistrySLAInfo |
getSlaInfo()
Get the Service-Level Agreement (SLA) information for the zone. |
java.lang.String |
getSubProduct()
Get the sub-product identifier used for the zone. |
boolean |
hasRelated()
Is related defined? |
void |
setContact(EPPRegistryContact contact)
Set the contact object policy information. |
void |
setCreatedBy(java.lang.String createdBy)
Set the identifier of the client that created the zone |
void |
setCreatedDate(java.util.Date createdDate)
set zone create date. |
void |
setDomain(EPPRegistryDomain domain)
Set the domain name object policy information. |
void |
setGroup(java.lang.String group)
Set zone group. |
void |
setHost(EPPRegistryHost host)
Set the host object policy information. |
void |
setLastUpdatedBy(java.lang.String lastUpdatedBy)
Set the identifier of the client that last updated the zone object. |
void |
setLastUpdatedDate(java.util.Date lastUpdatedDate)
Set the zone last updated date. |
void |
setName(java.lang.String name)
Set name of zone. |
void |
setPhases(java.util.List phases)
Set List of zone phases. |
void |
setRelated(EPPRegistryRelated aRelated)
Sets the related zones. |
void |
setServices(EPPRegistryServices services)
Set services supported by the zone |
void |
setSlaInfo(EPPRegistrySLAInfo slaInfo)
Set the Service-Level Agreement (SLA) information for the zone. |
void |
setSubProduct(java.lang.String subProduct)
Set the sub-product identifier used for the zone. |
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 EPPRegistryZoneInfo()
null
. phases
is initialized to empty List
. encode(Document)
method:
setName(String)
setCreatedDate(Date)
setDomain(EPPRegistryDomain)
setHost(EPPRegistryHost)
setContact(EPPRegistryContact)
public EPPRegistryZoneInfo(java.lang.String name)
EPPRegistryZoneInfo
instance using a zone name. null
.
phases
is initialized to empty List
. encode(Document)
method:
setCreatedDate(Date)
setDomain(EPPRegistryDomain)
setHost(EPPRegistryHost)
setContact(EPPRegistryContact)
name
- fully qualified name of the zone objectpublic EPPRegistryZoneInfo(java.lang.String name, java.lang.String aCreatedBy, java.util.Date aCreatedDate)
EPPRegistryZoneInfo
instance using a zone name, a
create id and a create date. null
.
phases
is initialized to empty List
. encode(Document)
method:
name
- fully qualified name of the zoneaCreatedBy
- identifier of the client that created the zoneaCreatedDate
- creation date of the zoneMethod Detail |
---|
public org.w3c.dom.Element encode(org.w3c.dom.Document aDocument) throws EPPEncodeException
EPPRegistryZoneInfo
instance.
encode
in interface EPPCodecComponent
aDocument
- DOM Document that is being built. Used as an Element factory.
EPPRegistryZoneInfo
instance.
EPPEncodeException
- - Unable to encode EPPRegistryZoneInfo
instance.public void decode(org.w3c.dom.Element aElement) throws EPPDecodeException
EPPRegistryZoneInfo
attributes from the aElement DOM
Element tree.
decode
in interface EPPCodecComponent
aElement
- Root DOM Element to decode EPPRegistryZoneInfo
from.
EPPDecodeException
- Unable to decode aElementpublic boolean equals(java.lang.Object aObject)
EPPRegistryZoneInfo
compare.
equals
in class java.lang.Object
aObject
- EPPRegistryZoneInfo
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
EPPRegistryZoneInfo
.
clone
in interface EPPCodecComponent
clone
in class java.lang.Object
EPPRegistryZoneInfo
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 zone namepublic EPPRegistryRelated getRelated()
null
otherwise.public boolean hasRelated()
true
if related is defined; false
otherwise.public void setRelated(EPPRegistryRelated aRelated)
aRelated
- Related zonespublic java.util.List getPhases()
List
of zone phases.
public void setPhases(java.util.List phases)
List
of zone phases.
phases
- List of zone phases defined in the "Launch Phase Mapping for
the Extensible Provisioning Protocol (EPP)"public void addPhase(EPPRegistryPhase phase)
List
of phases.
phase
- define attributes of one phasepublic EPPRegistryServices getServices()
EPPRegistryServices
that lists namespace URIs
of the objects and object extensions supported by the zonepublic void setServices(EPPRegistryServices services)
services
- instance of EPPRegistryServices
that lists namespace
URIs of the objects and object extensions supported by the
zonepublic java.lang.String getCreatedBy()
public void setCreatedBy(java.lang.String createdBy)
createdBy
- the identifier of the client that created the zonepublic java.util.Date getCreatedDate()
public void setCreatedDate(java.util.Date createdDate)
createdDate
- zone creation datepublic java.lang.String getLastUpdatedBy()
null
if the zone object has never been updated.public void setLastUpdatedBy(java.lang.String lastUpdatedBy)
lastUpdatedBy
- the identifier of the client that last updated the zone objectpublic java.util.Date getLastUpdatedDate()
null
if the
zone has never been updated.public void setLastUpdatedDate(java.util.Date lastUpdatedDate)
lastUpdatedDate
- the last updated date of the zone objectpublic EPPRegistryDomain getDomain()
public void setDomain(EPPRegistryDomain domain)
domain
- the domain name object policy information per RFC 5731public EPPRegistryHost getHost()
public void setHost(EPPRegistryHost host)
host
- the host object policy information per RFC 5732public EPPRegistryContact getContact()
public void setContact(EPPRegistryContact contact)
contact
- the contact object policy information per RFC 5733.public EPPRegistrySLAInfo getSlaInfo()
public void setSlaInfo(EPPRegistrySLAInfo slaInfo)
slaInfo
- the Service-Level Agreement (SLA) information for the zone.public java.lang.String getSubProduct()
public void setSubProduct(java.lang.String subProduct)
subProduct
- sub-product identifier used for the zone and used as the value
of the <namestoreExt:subProduct> element of the
NameStore Extensionpublic java.lang.String getGroup()
public void setGroup(java.lang.String group)
group
- server defined grouping of zones that the zone belongs to with
similar features and policies
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |