Class EPPRegistryContactCity
- java.lang.Object
-
- com.verisign.epp.codec.registry.v02.EPPRegistryAbstractMinMax
-
- com.verisign.epp.codec.registry.v02.EPPRegistryContactCity
-
- All Implemented Interfaces:
EPPCodecComponent,java.io.Serializable,java.lang.Cloneable
public class EPPRegistryContactCity extends EPPRegistryAbstractMinMax
The minimum and maximum length of the <contact:city> element defined in [RFC5733].- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringELM_LOCALNAMEXML local name forEPPRegistryContactCity.static java.lang.StringELM_NAMEXML root tag forEPPRegistryContactCity.-
Fields inherited from class com.verisign.epp.codec.registry.v02.EPPRegistryAbstractMinMax
ELM_MAX, ELM_MAX_LENGTH, ELM_MIN, ELM_MIN_LENGTH
-
-
Constructor Summary
Constructors Constructor Description EPPRegistryContactCity()Creates a newEPPRegistryContactCityobject.EPPRegistryContactCity(int aMin, int aMax)Creates a newEPPRegistryContactCityobject that takes both the minimum and maximum values asint's.EPPRegistryContactCity(java.lang.Integer aMin, java.lang.Integer aMax)Creates a newEPPRegistryContactCityobject that takes both the minimum and maximum values asInteger's.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.StringgetElmMax()Gets the maximum element local name.protected java.lang.StringgetElmMin()Gets the minimum element local name.protected org.slf4j.LoggergetLogger()Gets theLoggerto use.protected java.lang.StringgetRootName()Gets the root element local name.-
Methods inherited from class com.verisign.epp.codec.registry.v02.EPPRegistryAbstractMinMax
clone, decode, encode, equals, getMax, getMin, getNamespace, setMax, setMin, toString, validateState
-
-
-
-
Field Detail
-
ELM_LOCALNAME
public static final java.lang.String ELM_LOCALNAME
XML local name forEPPRegistryContactCity.- See Also:
- Constant Field Values
-
ELM_NAME
public static final java.lang.String ELM_NAME
XML root tag forEPPRegistryContactCity.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
EPPRegistryContactCity
public EPPRegistryContactCity()
Creates a newEPPRegistryContactCityobject.
-
EPPRegistryContactCity
public EPPRegistryContactCity(java.lang.Integer aMin, java.lang.Integer aMax)Creates a newEPPRegistryContactCityobject that takes both the minimum and maximum values asInteger's.- Parameters:
aMin- Minimum valueaMax- Maximum value
-
EPPRegistryContactCity
public EPPRegistryContactCity(int aMin, int aMax)Creates a newEPPRegistryContactCityobject that takes both the minimum and maximum values asint's.- Parameters:
aMin- Minimum valueaMax- Maximum value
-
-
Method Detail
-
getRootName
protected java.lang.String getRootName()
Gets the root element local name.- Specified by:
getRootNamein classEPPRegistryAbstractMinMax- Returns:
- Root element local name.
-
getElmMin
protected java.lang.String getElmMin()
Gets the minimum element local name.- Specified by:
getElmMinin classEPPRegistryAbstractMinMax- Returns:
- Minimum element local name.
-
getElmMax
protected java.lang.String getElmMax()
Gets the maximum element local name.- Specified by:
getElmMaxin classEPPRegistryAbstractMinMax- Returns:
- Maximum element local name.
-
getLogger
protected org.slf4j.Logger getLogger()
Gets theLoggerto use.- Specified by:
getLoggerin classEPPRegistryAbstractMinMax- Returns:
Loggerinstance to use for logging.
-
-