class InternetAddressDataType.InternetAddressRestriction extends BasicDataType.AbstractRestriction<Integer>
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
local |
absoluteParent, enforceStrength, errorDescription, fixed, name, parent, value| Constructor and Description |
|---|
InternetAddressRestriction(int max) |
InternetAddressRestriction(InternetAddressDataType.InternetAddressRestriction source) |
| Modifier and Type | Method and Description |
|---|---|
LocalizedString |
getErrorDescription()
If the restriction does not hold, the following error description can be used.
|
boolean |
isLocal() |
void |
setLocal(boolean l) |
protected boolean |
simpleValid(Object v,
Node node,
Field field) |
addError, enforce, getEnforceStrength, getErrorDescriptionBundle, getName, getValue, inherit, inherit, isFixed, setEnforceStrength, setErrorDescription, setFixed, setValue, toString, toString, valid, validate, valueStringInternetAddressRestriction(InternetAddressDataType.InternetAddressRestriction source)
InternetAddressRestriction(int max)
public LocalizedString getErrorDescription()
DataType.RestrictiongetErrorDescription in interface DataType.Restriction<Integer>getErrorDescription in class BasicDataType.StaticAbstractRestriction<Integer>public void setLocal(boolean l)
public boolean isLocal()
protected boolean simpleValid(Object v, Node node, Field field)
simpleValid in class BasicDataType.StaticAbstractRestriction<Integer>MMBase 1.9-SNAPSHOT - ${javadoctimestamp}