public class EPPRegistryContactOrg extends EPPRegistryMinMaxLength
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ELM_NAME
XML Element Name of
EPPRegistryContactOrg root element. |
ELM_MAX, ELM_MAX_LENGTH, ELM_MIN, ELM_MIN_LENGTH, elmMax, elmMin, max, min, rootName| Constructor and Description |
|---|
EPPRegistryContactOrg()
Creates a new EPPRegistryContactOrg object.
|
EPPRegistryContactOrg(java.lang.Integer min,
java.lang.Integer max)
Creates a new EPPRegistryContactOrg object with min length and max
length.
|
EPPRegistryContactOrg(int min,
int max)
Creates a new EPPRegistryContactOrg object with min length and max
length.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object aObject)
implements a deep
EPPRegistryContactOrg compare. |
protected void |
validateState()
Validate the state of the
EPPRegistryContactOrg instance. |
clone, decode, encode, getElmMax, getElmMin, getMax, getMin, getNamespace, getRootName, setElmMax, setElmMin, setMax, setMin, setRootName, toStringpublic static final java.lang.String ELM_NAME
EPPRegistryContactOrg root element.public EPPRegistryContactOrg()
public EPPRegistryContactOrg(java.lang.Integer min,
java.lang.Integer max)
min - minimum length of the contact namemax - maximum length of the contact namepublic EPPRegistryContactOrg(int min,
int max)
min - minimum length of the contact namemax - maximum length of the contact namepublic boolean equals(java.lang.Object aObject)
EPPRegistryContactOrg compare.equals in class EPPRegistryMinMaxLengthaObject - EPPRegistryContactOrg instance to compare withtrue if this object is the same as the aObject argument;
false otherwiseprotected void validateState()
throws EPPEncodeException
EPPRegistryContactOrg instance. A
valid state means that all of the required attributes have been set. If
validateState returns without an exception, the state is valid. If the
state is not valid, the EPPCodecException will contain a description of
the error. throws EPPCodecException State error. This will contain the
name of the attribute that is not valid.validateState in class EPPRegistryMinMaxLengthEPPEncodeException - On invalid state