| Package | Description |
|---|---|
| org.mmbase.datatypes |
This package defines and implements
DataTypes, which are a way to apply restrictions to and
annotate certain data. |
| org.mmbase.datatypes.processors |
Plugins into set- and getValue methods on Node (Setting and getting Fields).
|
| org.mmbase.util.functions |
The function framework is all about the creation of
Function instances, from which
then, subsequently, function values can be acquired. |
| Modifier and Type | Method and Description |
|---|---|
protected String |
BinaryStringDataType.cast(Object value,
Cloud cloud,
Node node,
Field field) |
protected E |
NumberDataType.cast(Object value,
Cloud cloud,
Node node,
Field field) |
protected Boolean |
BooleanDataType.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.
|
protected C |
BasicDataType.cast(Object value,
Cloud cloud,
Node node,
Field field)
Utility to avoid repetitive calling of getCloud
|
protected InputStream |
BinaryDataType.cast(Object value,
Cloud cloud,
Node node,
Field field) |
protected Number |
NumberDataType.castString(Object preCast,
Cloud cloud) |
protected BigDecimal |
DecimalDataType.castString(Object preCast,
Cloud cloud) |
protected SerializableInputStream |
BinaryStringDataType.castToValidate(Object value,
Node node,
Field field) |
protected Object |
NumberDataType.castToValidate(Object value,
Node node,
Field field) |
protected Object |
NodeDataType.castToValidate(Object value,
Node node,
Field field) |
protected Object |
BasicDataType.castToValidate(Object value,
Node node,
Field field)
Before validating the value, the value will be 'cast', on default this will be to the
'correct' type, but it can be a more generic type sometimes.
|
protected Object |
DateTimeDataType.castToValidate(Object value,
Node node,
Field field) |
protected Number |
NumberDataType.toNumber(String s) |
protected Number |
DecimalDataType.toNumber(String s) |
| Modifier and Type | Method and Description |
|---|---|
protected Number |
Duration.DataType.castString(Object preCast,
Cloud cloud) |
| Modifier and Type | Method and Description |
|---|---|
protected C |
Parameter.autoCast(Object value)
Tries to 'cast' an object for use with this parameter.
|
MMBase 1.9-SNAPSHOT - ${javadoctimestamp}