|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.verisign.epp.codec.registry.EPPRegistryMinMaxLength
com.verisign.epp.codec.registry.EPPRegistryContactName
public class EPPRegistryContactName
Represents the minimum and maximum length of <contact:name> element defined RFC 5733 using the <registry:minLength> and <registry:maxLength> child elements, respectively.
EPPRegistryPostal
,
Serialized FormField Summary | |
---|---|
static java.lang.String |
ELM_NAME
XML Element Name of EPPRegistryContactName root element. |
Fields inherited from class com.verisign.epp.codec.registry.EPPRegistryMinMaxLength |
---|
ELM_MAX, ELM_MAX_LENGTH, ELM_MIN, ELM_MIN_LENGTH, elmMax, elmMin, max, min, rootName |
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object aObject)
implements a deep EPPRegistryContactName compare. |
protected void |
validateState()
Validate the state of the EPPRegistryContactName instance. |
Methods inherited from class com.verisign.epp.codec.registry.EPPRegistryMinMaxLength |
---|
clone, decode, encode, getElmMax, getElmMin, getMax, getMin, getRootName, setElmMax, setElmMin, setMax, setMin, setRootName, toString |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String ELM_NAME
EPPRegistryContactName
root element.
Constructor Detail |
---|
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 nameMethod Detail |
---|
public boolean equals(java.lang.Object aObject)
EPPRegistryContactName
compare.
equals
in class EPPRegistryMinMaxLength
aObject
- EPPRegistryContactName
instance to compare with
true
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
EPPCodecException
EPPEncodeException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |