public class EPPRegistryZone extends java.lang.Object implements EPPCodecComponent, EPPRegistryZoneInterface
getName() and setName(String) to get and set the element.
getGroup() and setGroup(String) to get and set the element.
getServices() and setServices(EPPRegistryServices) 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.| Modifier and Type | Class and Description |
|---|---|
static class |
EPPRegistryZone.UnsupportedData
Possible values for the
unsupportedData attribute. |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ELM_LOCALNAME
XML local name for
EPPRegistryZone. |
static java.lang.String |
ELM_NAME
XML root tag for
EPPRegistryZone. |
| Constructor and Description |
|---|
EPPRegistryZone()
Default constructor.
|
EPPRegistryZone(EPPRegistryZoneName aName)
Construct an
EPPRegistryZone instance using a zone name. |
EPPRegistryZone(EPPRegistryZoneName aName,
java.lang.String aCreatedBy,
java.util.Date aCreatedDate)
Construct an
EPPRegistryZone instance using a zone name, a
create id and a create date. |
EPPRegistryZone(java.lang.String aName)
Construct an
EPPRegistryZone instance using a zone name as an
aLabel. |
EPPRegistryZone(java.lang.String aName,
java.lang.String aCreatedBy,
java.util.Date aCreatedDate)
Construct an
EPPRegistryZone instance using a zone name as an
aLabel, a create id and a create date. |
| Modifier and Type | Method and Description |
|---|---|
void |
addBatchJob(EPPRegistryBatchJob aBatchJob)
Add a batch job to the list of batch jobs.
|
void |
addSystemZone(EPPRegistryZoneName aSystemZone)
Add a zone to the list of system zones.
|
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.List<EPPRegistryBatchJob> |
getBatchJobs()
Get the
List of EPPRegistryBatchJob that specifies the
batch jobs. |
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()
Gets the 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.
|
EPPRegistryZoneName |
getName()
Gets the name of zone.
|
java.lang.String |
getNamespace()
Returns the XML namespace associated with the
EPPCodecComponent. |
EPPRegistryServices |
getServices()
Get services supported by the zone
|
java.util.List<EPPRegistryZoneName> |
getSystemZones()
Get the
List of EPPRegistryZoneName that specifies the
system zones. |
EPPRegistryZone.UnsupportedData |
getUnsupportedData()
Gets the unsupported data policy.
|
boolean |
hasBatchJobs()
Is the batch jobs defined?
|
boolean |
hasContact()
Is the contact defined?
|
boolean |
hasCreatedBy()
Is the created by defined?
|
boolean |
hasCreatedDate()
Is the created date defined?
|
boolean |
hasDomain()
Is the domain defined?
|
boolean |
hasGroup()
Is the zone group defined?
|
boolean |
hasHost()
Is the host defined?
|
boolean |
hasLastUpdatedBy()
Is the last updated by defined?
|
boolean |
hasLastUpdatedDate()
Is the last updated date defined?
|
boolean |
hasName()
Is the name defined?
|
boolean |
hasServices()
Is the services defined?
|
boolean |
hasSystemZones()
Is the system zones defined?
|
boolean |
hasUnsupportedData()
Is the unsupported data policy defined?
|
void |
setBatchJobs(java.util.List<EPPRegistryBatchJob> aBatchJobs)
Set the
List of EPPRegistryBatchJob that includes all of
the batch jobs. |
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 aGroup)
Sets the 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(EPPRegistryZoneName aName)
Sets the name of zone.
|
void |
setName(java.lang.String aName)
Sets the name of zone as an aLabel.
|
void |
setServices(EPPRegistryServices services)
Set services supported by the zone
|
void |
setSystemZones(java.util.List<EPPRegistryZoneName> aSystemZones)
Set the
List of EPPRegistryZoneName that includes all of
the system zones. |
void |
setUnsupportedData(EPPRegistryZone.UnsupportedData aUnsupportedData)
Sets the unsupported data policy.
|
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
EPPRegistryZone.public static final java.lang.String ELM_NAME
EPPRegistryZone.public EPPRegistryZone()
null.encode(Document) method:
public EPPRegistryZone(java.lang.String aName)
EPPRegistryZone instance using a zone name as an
aLabel.null. encode(Document) method:
aName - fully qualified name of the zone object as an aLabelpublic EPPRegistryZone(EPPRegistryZoneName aName)
EPPRegistryZone instance using a zone name.null. encode(Document) method:
aName - fully qualified name of the zone objectpublic EPPRegistryZone(java.lang.String aName,
java.lang.String aCreatedBy,
java.util.Date aCreatedDate)
EPPRegistryZone instance using a zone name as an
aLabel, a create id and a create date. null.
phases is initialized to empty List. encode(Document) method:
aName - fully qualified name of the zone as an aLabelaCreatedBy - identifier of the client that created the zoneaCreatedDate - creation date of the zonepublic EPPRegistryZone(EPPRegistryZoneName aName, java.lang.String aCreatedBy, java.util.Date aCreatedDate)
EPPRegistryZone instance using a zone name, a
create id and a create date. null.
phases is initialized to empty List. encode(Document) method:
aName - fully qualified name of the zoneaCreatedBy - identifier of the client that created the zoneaCreatedDate - creation date of the zonepublic org.w3c.dom.Element encode(org.w3c.dom.Document aDocument)
throws EPPEncodeException
EPPRegistryZone instance.encode in interface EPPCodecComponentaDocument - 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 EPPCodecComponentaElement - 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.ObjectaObject - 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 EPPCodecComponentclone in class java.lang.ObjectEPPRegistryZonejava.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 hasName()
true if the name is defined; false otherwise.public EPPRegistryZoneName getName()
public void setName(EPPRegistryZoneName aName)
aName - fully qualified zone name.public void setName(java.lang.String aName)
aName - fully qualified zone name as an aLabel.public boolean hasServices()
true if the services is defined; false otherwise.public 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 boolean hasCreatedBy()
true if the created by is defined; false
otherwise.public java.lang.String getCreatedBy()
public void setCreatedBy(java.lang.String createdBy)
createdBy - the identifier of the client that created the zonepublic boolean hasCreatedDate()
true if the created date is defined; false
otherwise.public java.util.Date getCreatedDate()
public void setCreatedDate(java.util.Date createdDate)
createdDate - zone creation datepublic boolean hasLastUpdatedBy()
true if the last updated by is defined; false
otherwise.public 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 boolean hasLastUpdatedDate()
true if the last updated date is defined; false
otherwise.public 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 boolean hasUnsupportedData()
true if the unsupported data policy is defined; false
otherwise.public EPPRegistryZone.UnsupportedData getUnsupportedData()
null otherwise.public void setUnsupportedData(EPPRegistryZone.UnsupportedData aUnsupportedData)
aUnsupportedData - Unsupported data policy. Set to null to clear it.public boolean hasBatchJobs()
true if the batch jobs is defined; false
otherwise.public java.util.List<EPPRegistryBatchJob> getBatchJobs()
List of EPPRegistryBatchJob that specifies the
batch jobs.List of EPPRegistryBatchJob that specifies the
batch jobspublic void setBatchJobs(java.util.List<EPPRegistryBatchJob> aBatchJobs)
List of EPPRegistryBatchJob that includes all of
the batch jobs.aBatchJobs - the List of EPPRegistryBatchJob includes all of
the batch jobs.public void addBatchJob(EPPRegistryBatchJob aBatchJob)
aBatchJob - Batch job to add to the listpublic boolean hasSystemZones()
true if the system zones is defined; false
otherwise.public java.util.List<EPPRegistryZoneName> getSystemZones()
List of EPPRegistryZoneName that specifies the
system zones.List of EPPRegistryZoneName that specifies the
system zonespublic void setSystemZones(java.util.List<EPPRegistryZoneName> aSystemZones)
List of EPPRegistryZoneName that includes all of
the system zones.aSystemZones - the List of EPPRegistryBatchJob includes all of
the batch jobs.public void addSystemZone(EPPRegistryZoneName aSystemZone)
aSystemZone - Zone to add to the list of system zonespublic boolean hasDomain()
true if the domain is defined; false otherwise.public EPPRegistryDomain getDomain()
public void setDomain(EPPRegistryDomain domain)
domain - the domain name object policy information per RFC 5731public boolean hasHost()
true if the host is defined; false otherwise.public EPPRegistryHost getHost()
public void setHost(EPPRegistryHost host)
host - the host object policy information per RFC 5732public boolean hasContact()
true if the contact is defined; false otherwise.public EPPRegistryContact getContact()
public void setContact(EPPRegistryContact contact)
contact - the contact object policy information per RFC 5733.public boolean hasGroup()
true if the zone group is defined; false
otherwise.public java.lang.String getGroup()
public void setGroup(java.lang.String aGroup)
aGroup - server defined grouping of zones that the zone belongs to with
similar features and policiespublic java.lang.String getNamespace()
EPPCodecComponent.getNamespace in interface EPPCodecComponentEPPCodecComponent.Copyright © VeriSign Inc. All Rights Reserved.