public static class RegistryHandler.RegistryZone
extends java.lang.Object
RegistryZone
represents an in-memory version of a Registry Zone
with the base zone information along with all policy extensions.Constructor and Description |
---|
RegistryZone()
Default constructor.
|
RegistryZone(EPPRegistryZone aZoneInfo)
RegistryZone constructor that takes the required zone
information. |
RegistryZone(EPPRegistryZone aZoneInfo,
java.util.List<EPPRegistryZoneInterface> aExtensions)
RegistryZone constructor that takes both attributes (zone
information and extensions). |
Modifier and Type | Method and Description |
---|---|
void |
addExtension(EPPRegistryZoneInterface aExtension)
Adds a policy extension to the list of extensions.
|
EPPRegistryZoneInterface |
getExtension(java.lang.Class aExtClass)
Gets the policy extension by
Class . |
java.util.List<EPPRegistryZoneInterface> |
getExtensions()
Gets the extensions list.
|
EPPRegistryZone |
getZoneInfo()
Gets the zone information as defined in
draft-gould-carney-regext-registry . |
boolean |
hasExtensions()
Is the extensions list defined?
|
boolean |
hasZoneInfo()
Is the zone information defined?
|
void |
setExtension(EPPRegistryZoneInterface aExtension)
Sets an policy extension in the list of extensions.
|
void |
setExtensions(java.util.List<EPPRegistryZoneInterface> aExtensions)
Sets the extensions list.
|
void |
setZoneInfo(EPPRegistryZone aZoneInfo)
Sets the zone information as defined in
draft-gould-carney-regext-registry . |
java.lang.String |
toString()
Convert the
RegistryZone into a String for printing. |
public RegistryZone()
public RegistryZone(EPPRegistryZone aZoneInfo)
RegistryZone
constructor that takes the required zone
information.aZoneInfo
- Zone information as defined in
draft-gould-carney-regext-registry
.public RegistryZone(EPPRegistryZone aZoneInfo, java.util.List<EPPRegistryZoneInterface> aExtensions)
RegistryZone
constructor that takes both attributes (zone
information and extensions).aZoneInfo
- Zone information as defined in
draft-gould-carney-regext-registry
.aExtensions
- Policy extensions included in the commandpublic boolean hasZoneInfo()
true
if the zone information is defined;
false
otherwise.public EPPRegistryZone getZoneInfo()
draft-gould-carney-regext-registry
.null
otherwise.public void setZoneInfo(EPPRegistryZone aZoneInfo)
draft-gould-carney-regext-registry
.aZoneInfo
- Zone information as defined in
draft-gould-carney-regext-registry
.public boolean hasExtensions()
true
if the extensions list is defined; false
otherwise.public java.util.List<EPPRegistryZoneInterface> getExtensions()
null
otherwise.public void setExtensions(java.util.List<EPPRegistryZoneInterface> aExtensions)
aExtensions
- Policy extensions included with the command. Set to
null
if undefined.public void setExtension(EPPRegistryZoneInterface aExtension)
aExtension
- The policy extension to set (add or replace)public EPPRegistryZoneInterface getExtension(java.lang.Class aExtClass)
Class
.aExtClass
- The policy extension Class
to look fornull
otherwisepublic void addExtension(EPPRegistryZoneInterface aExtension)
aExtension
- Policy extension to addpublic java.lang.String toString()
RegistryZone
into a String
for printing.toString
in class java.lang.Object
RegistryZone
instance as a String
.Copyright © VeriSign Inc. All Rights Reserved.