org.mmbase.datatypes
Class BasicDataType.UniqueRestriction

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.UniqueRestriction
All Implemented Interfaces:
Serializable, DataType.Restriction<Boolean>
Enclosing class:
BasicDataType<C>

protected class BasicDataType.UniqueRestriction
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.UniqueRestriction(BasicDataType.UniqueRestriction source)
           
BasicDataType.UniqueRestriction(boolean b)
           
 
Method Summary
(package private)  boolean isUnique()
           
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.UniqueRestriction

BasicDataType.UniqueRestriction(BasicDataType.UniqueRestriction source)

BasicDataType.UniqueRestriction

BasicDataType.UniqueRestriction(boolean b)
Method Detail

isUnique

final boolean isUnique()

simpleValid

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


MMBase 2.0-SNAPSHOT - null