|
||||||||||
| 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.EPPRegistryContactOrg
public class EPPRegistryContactOrg
<registry:org> - The minimum and maximum length of the <contact:org> element defined in RFC 5733 using the <registry:minLength> and <registry:maxLength> child elements, respectively.
| Field Summary | |
|---|---|
static java.lang.String |
ELM_NAME
XML Element Name of EPPRegistryContactOrg 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 | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object aObject)
implements a deep EPPRegistryContactOrg compare. |
protected void |
validateState()
Validate the state of the EPPRegistryContactOrg 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
EPPRegistryContactOrg root element.
| Constructor Detail |
|---|
public EPPRegistryContactOrg()
public EPPRegistryContactOrg(java.lang.Integer min,
java.lang.Integer max)
min - minimum length of the contact namemax - maximum length of the contact name
public EPPRegistryContactOrg(int min,
int max)
min - minimum length of the contact namemax - maximum length of the contact name| Method Detail |
|---|
public boolean equals(java.lang.Object aObject)
EPPRegistryContactOrg compare.
equals in class EPPRegistryMinMaxLengthaObject - EPPRegistryContactOrg instance to compare with
true if this object is the same as the aObject argument;
false otherwise
protected 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 EPPRegistryMinMaxLengthEPPCodecException
EPPEncodeException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||