Package org.mmbase.datatypes

Package class diagram package org.mmbase.datatypes
This package defines and implements DataTypes, which are a way to apply restrictions to and annotate certain data.

See:
          Description

Interface Summary
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).
SequentialDataType<E extends Comparable> A sequential datatype is a datatype of which the values are 'sequential', i.e.
 

Class Summary
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').
BooleanDataType The DataType associated with a boolean value.
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.
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.
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.
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.
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 Summary
CastException  
DataTypes.FieldNotFoundException  
 

Package org.mmbase.datatypes Description

This package defines and implements 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.

Since:
MMBase-1.8


MMBase2 Bridge 2.0-SNAPSHOT - 2013-03-30T06:34