|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mmbase.core.AbstractDescriptor
org.mmbase.datatypes.BasicDataType
org.mmbase.datatypes.BooleanDataType
The DataType associated with a boolean value.
| Nested Class Summary |
| Nested classes inherited from class org.mmbase.datatypes.BasicDataType |
BasicDataType.AbstractRestriction, BasicDataType.EnumerationRestriction, BasicDataType.RequiredRestriction, BasicDataType.RestrictedEnumerationIterator, BasicDataType.StaticAbstractRestriction, BasicDataType.TypeRestriction, BasicDataType.UniqueRestriction |
| Nested classes inherited from class org.mmbase.datatypes.DataType |
DataType.Restriction |
| Field Summary |
| Fields inherited from class org.mmbase.datatypes.BasicDataType |
DATATYPE_BUNDLE, enumerationRestriction, origin, requiredRestriction, typeRestriction, uniqueRestriction |
| Fields inherited from class org.mmbase.core.AbstractDescriptor |
description, guiName, key |
| Fields inherited from interface org.mmbase.datatypes.DataType |
ENFORCE_ABSOLUTE, ENFORCE_ALWAYS, ENFORCE_NEVER, ENFORCE_ONCHANGE, ENFORCE_ONCREATE, PROCESS_GET, PROCESS_SET, VALID, XMLNS |
| Constructor Summary | |
BooleanDataType(String name,
boolean primitive)
Constructor for a boolean datatype (either a primitive boolean type or the Boolean class). |
|
| Method Summary | |
protected Object |
cast(Object value,
Cloud cloud,
Node node,
Field field)
Cast a bit more conservatively, because Casting aggressively casts everything to boolean, which would make nearly every value valid. |
| Methods inherited from class org.mmbase.core.AbstractDescriptor |
getDefaultLocale, getDescription, getDescription, getGUIName, getGUIName, getLocalizedDescription, getLocalizedGUIName, getName, setDescription, setDescription, setGUIName, setGUIName, setLocalizedDescription, setLocalizedGUIName |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.mmbase.bridge.Descriptor |
getDescription, getDescription, getGUIName, getGUIName, getLocalizedDescription, getLocalizedGUIName, getName, setDescription, setDescription, setGUIName, setGUIName |
| Constructor Detail |
public BooleanDataType(String name,
boolean primitive)
name - the name of the data typeprimitive - indicate if a primitive type should be used| Method Detail |
protected final Object cast(Object value,
Cloud cloud,
Node node,
Field field)
throws CastException
cast in class BasicDataTypeCastException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||