|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.verisign.epp.codec.registry.EPPRegistryRelated
public class EPPRegistryRelated
Class to hold the related zone information that include the list of related zone members and an optional definition of the fields that are shared or that are required to be synchronized.
Field Summary | |
---|---|
static java.lang.String |
ELM_LOCALNAME
Constant for the related root element local name. |
static java.lang.String |
ELM_NAME
Constant for the related root element name. |
Constructor Summary | |
---|---|
EPPRegistryRelated()
Default constructor with an empty list of related zone members. |
|
EPPRegistryRelated(java.util.List<EPPRegistryZoneMember> aMembers)
Constructor for EPPRegistryRelated that takes the required
members field. |
|
EPPRegistryRelated(java.util.List<EPPRegistryZoneMember> aMembers,
EPPRegistryFields aFields)
Constructor for EPPRegistryRelated that takes the required
members field and the optional fields field. |
Method Summary | |
---|---|
void |
addMember(EPPRegistryZoneMember aMember)
Adds a zone member to the list of related zone members. |
java.lang.Object |
clone()
Clone EPPRegistryRelated . |
void |
decode(org.w3c.dom.Element aElement)
Decode the DOM element to the EPPRegistryRelated . |
org.w3c.dom.Element |
encode(org.w3c.dom.Document aDocument)
Encode the EPPRegistryRelated to a DOM Element |
boolean |
equals(java.lang.Object aObject)
implements a deep EPPRegistryRelated compare. |
EPPRegistryFields |
getFields()
Gets the related fields definition. |
java.util.List<EPPRegistryZoneMember> |
getMembers()
Gets the related zone members. |
boolean |
hasFields()
Are fields defined? |
void |
setFields(EPPRegistryFields aFields)
Sets the related fields definition. |
void |
setMembers(java.util.List<EPPRegistryZoneMember> aMembers)
Sets the related zone members. |
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 |
Field Detail |
---|
public static final java.lang.String ELM_LOCALNAME
public static final java.lang.String ELM_NAME
Constructor Detail |
---|
public EPPRegistryRelated()
public EPPRegistryRelated(java.util.List<EPPRegistryZoneMember> aMembers)
EPPRegistryRelated
that takes the required
members field.
aMembers
- Zone members list.public EPPRegistryRelated(java.util.List<EPPRegistryZoneMember> aMembers, EPPRegistryFields aFields)
EPPRegistryRelated
that takes the required
members field and the optional fields field.
aMembers
- Zone members list.aFields
- Definition of how the related zone fields are managed.Method Detail |
---|
public org.w3c.dom.Element encode(org.w3c.dom.Document aDocument) throws EPPEncodeException
EPPRegistryRelated
to a DOM Element
encode
in interface EPPCodecComponent
aDocument
- a DOM Document to attach data to.
EPPEncodeException
- Thrown if any errors prevent encoding.public void decode(org.w3c.dom.Element aElement) throws EPPDecodeException
EPPRegistryRelated
.
decode
in interface EPPCodecComponent
aElement
- DOM Element to decode the attribute values
EPPDecodeException
- Error decoding the DOM Elementpublic java.lang.Object clone() throws java.lang.CloneNotSupportedException
EPPRegistryRelated
.
clone
in interface EPPCodecComponent
clone
in class java.lang.Object
EPPRegistryRelated
java.lang.CloneNotSupportedException
- standard Object.clone exceptionpublic boolean equals(java.lang.Object aObject)
EPPRegistryRelated
compare.
equals
in class java.lang.Object
aObject
- EPPRegistryRelated
instance to compare with
true
if equal false
otherwisepublic EPPRegistryFields getFields()
null
otherwise.public void setFields(EPPRegistryFields aFields)
aFields
- Related fieldspublic boolean hasFields()
true
if fields are defined; false
otherwise.public java.util.List<EPPRegistryZoneMember> getMembers()
null
otherwise.public void setMembers(java.util.List<EPPRegistryZoneMember> aMembers)
aMembers
- Related zone memberspublic void addMember(EPPRegistryZoneMember aMember)
aMember
- Zone member to add to the list of related zone members.public 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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |