DataTypes, which are a way to apply restrictions to and
annotate certain data.See: Description
| Interface | Description |
|---|---|
| DataType<C> |
A value in MMBase (such as the value of a field, or function parameter) is associated with a
'datatype'.
|
| DataType.Restriction<D extends Serializable> |
A restriction controls (one aspect of) the acceptable values of a DataType.
|
| LengthDataType<E> |
A LengthDataType is a datatype that defines a length for its values (
LengthDataType.getLength(Object)) ,
and restrictions on that (minimal an maximal length). |
| Class | Description |
|---|---|
| AbstractLengthDataType<E> |
A LengthDataType is a datatype that defines a length for its values (
AbstractLengthDataType.getLength(Object)) ,
and restrictions on that (minimal an maximal length). |
| AbstractLengthDataType.MaxRestriction | |
| AbstractLengthDataType.MinRestriction | |
| BasicDataType<C> |
Every DataType extends this one.
|
| BasicDataType.DataTypeComparator<D> | |
| BasicDataType.StaticAbstractRestriction<D extends Serializable> |
A Restriction is represented by these kind of objects.
|
| BinaryDataType |
The datatype associated with byte arrays ('blobs').
|
| BinaryStringDataType | |
| BooleanDataType |
The DataType associated with a boolean value.
|
| CaptchaDataType | |
| CaptchaDataType.CaptchaImage | |
| CaptchaDataType.Handler | |
| CheckEqualityDataType |
A confirmed datatype must have the same value as another field of the node (and makes
only sense as a field of a node).
|
| ComparableDataType<E extends Serializable & Comparable<E>> |
Comparable datatypes have values which are
Comparable, so can be ordered, and
therefore can have a minimum and a maximum value. |
| ComponentNamesDataType |
A StringDataType with the names of all installed components.
|
| ConfirmPasswordDataType |
A confirmed password datatype must have the same value as another field of the node (and makes
only sense as a field of a node).
|
| Constants | |
| DataTypeCollector |
A DataTypeCollector is a collection of named DataTypes.
|
| DataTypes |
This class contains various methods for manipulating DataType objects.
|
| DateTimeDataType |
The date-time datatype further describes
Date objects. |
| DateTimePattern |
This is a bit like SimpleDateFormat, because it accepts the same pattern String.
|
| DateTimePattern.Element |
A wrapper arround a field in a
Calendar object. |
| DecimalDataType |
DataType associated with
BigDecimal, a NumberDataType. |
| DoubleDataType |
DataType associated with
Double, as NumberDataType, but provides getMin and getMax as double. |
| EmailValidated | |
| FloatDataType |
DataType associated with
Float, as NumberDataType, but provides getMin and getMax as float. |
| IntegerDataType |
DataType associated with
Integer, a NumberDataType, but provides getMin and getMax as int. |
| InternetAddressDataType |
Validates a value by putting it into
InternetAddress.parse(String),
if no exception is caused by that, the value is valid. |
| LanguageDataType |
Returns the current language as a default value.
|
| LanguageDataType.Getter | |
| ListDataType | |
| LongDataType |
DataType associated with
Long, as NumberDataType, but provides getMin and getMax as long. |
| MustBeTrueDataType |
A boolean datatype of which the value must be true.
|
| NodeDataType |
The Node data type describes a data type which is based on an MMBase 'node' field.
|
| NodeManagerNamesDataType |
A StringDataType with can take all possible node manager as values.
|
| NumberDataType<E extends Number & Comparable<E>> |
A DataType representing some kind of numeric value, like a floating point number or an integer number.
|
| SecurityContextDataType |
A StringDataType with all security contexts strings as possible value.
|
| StringDataType |
The datatype for String fields.
|
| UniqueStringDataType |
Like
StringDataType, but with an alternative implementation for the default value,
namely, ensuring that it is unique already. |
| UserNodeDataType |
This 'Node' datatypes uses the framework to determin the currently logged in user object.
|
| VerifyEmailProcessor |
Using this class a Processor and as CommitProcessor on a certain field, adds 'email verification'
functionality for another field.
|
| WeekdaysDataType |
An enumeration datatype representing all days of a week, so an integer with the value 1 through
7.
|
| XmlDataType |
The data associated with 'XML' values (
Document). |
| Exception | Description |
|---|---|
| CastException | |
| DataTypes.FieldNotFoundException |
DataTypes, which are a way to apply restrictions to and
annotate certain data. DataTypes are most commonly associated with Fields and function Parameters.
DataTypes are usually defined via a piece of XML. DataTypes can extend other datatypes. A set of
basic datatypes which can be used or extend from are defined in datatypes.xml
(of wich multiple can exist simultanously).
Whether a certain value is a valid value for a certain datatype can also be checked via
javascript
. Further information about that is also available in the DataTypes documentation.MMBase 1.9-SNAPSHOT - ${javadoctimestamp}