public class EPPRegistryContactName extends EPPRegistryMinMaxLength
EPPRegistryPostal
,
Serialized FormModifier and Type | Field and Description |
---|---|
static java.lang.String |
ELM_NAME
XML Element Name of
EPPRegistryContactName root element. |
ELM_MAX, ELM_MAX_LENGTH, ELM_MIN, ELM_MIN_LENGTH, elmMax, elmMin, max, min, rootName
Constructor and Description |
---|
EPPRegistryContactName()
Creates a new EPPRegistryContactName object.
|
EPPRegistryContactName(java.lang.Integer min,
java.lang.Integer max)
Creates a new EPPRegistryContactName object with min length and max
length.
|
EPPRegistryContactName(int min,
int max)
Creates a new EPPRegistryContactName object with min length and max
length.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object aObject)
implements a deep
EPPRegistryContactName compare. |
protected void |
validateState()
Validate the state of the
EPPRegistryContactName instance. |
clone, decode, encode, getElmMax, getElmMin, getMax, getMin, getNamespace, getRootName, setElmMax, setElmMin, setMax, setMin, setRootName, toString
public static final java.lang.String ELM_NAME
EPPRegistryContactName
root element.public EPPRegistryContactName()
public EPPRegistryContactName(java.lang.Integer min, java.lang.Integer max)
min
- minimum length of the contact namemax
- maximum length of the contact namepublic EPPRegistryContactName(int min, int max)
min
- minimum length of the contact namemax
- maximum length of the contact namepublic boolean equals(java.lang.Object aObject)
EPPRegistryContactName
compare.equals
in class EPPRegistryMinMaxLength
aObject
- EPPRegistryContactName
instance to compare withtrue
if this object is the same as the aObject argument;
false
otherwiseprotected void validateState() throws EPPEncodeException
EPPRegistryContactName
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 EPPRegistryMinMaxLength
EPPEncodeException
- On invalid state