org.mmbase.datatypes
Class BasicDataType.RequiredRestriction

java.lang.Object
  extended by org.mmbase.datatypes.BasicDataType.StaticAbstractRestriction<D>
      extended by org.mmbase.datatypes.BasicDataType.AbstractRestriction<Boolean>
          extended by org.mmbase.datatypes.BasicDataType.RequiredRestriction
All Implemented Interfaces:
Serializable, DataType.Restriction<Boolean>
Enclosing class:
BasicDataType<C>

protected class BasicDataType.RequiredRestriction
extends BasicDataType.AbstractRestriction<Boolean>

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.mmbase.datatypes.BasicDataType.StaticAbstractRestriction
absoluteParent, enforceStrength, errorDescription, fixed, name, parent, value
 
Constructor Summary
BasicDataType.RequiredRestriction(BasicDataType.RequiredRestriction source)
           
BasicDataType.RequiredRestriction(boolean b)
           
 
Method Summary
(package private)  boolean isRequired()
           
protected  boolean simpleValid(Object v, Node node, Field field)
           
 
Methods inherited from class org.mmbase.datatypes.BasicDataType.StaticAbstractRestriction
addError, enforce, getEnforceStrength, getErrorDescription, getErrorDescriptionBundle, getName, getValue, inherit, inherit, isFixed, setEnforceStrength, setErrorDescription, setFixed, setValue, toString, toString, valid, validate, valueString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BasicDataType.RequiredRestriction

BasicDataType.RequiredRestriction(BasicDataType.RequiredRestriction source)

BasicDataType.RequiredRestriction

BasicDataType.RequiredRestriction(boolean b)
Method Detail

isRequired

final boolean isRequired()

simpleValid

protected boolean simpleValid(Object v,
                              Node node,
                              Field field)
Specified by:
simpleValid in class BasicDataType.StaticAbstractRestriction<Boolean>


MMBase 2.0-SNAPSHOT - null