|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectorg.mmbase.bridge.util.AbstractDescriptor
org.mmbase.datatypes.BasicDataType<E>
org.mmbase.datatypes.ComparableDataType<E>
org.mmbase.datatypes.NumberDataType<Double>
org.mmbase.datatypes.DoubleDataType
public class DoubleDataType
DataType associated with Double, as NumberDataType, but provides getMin and getMax as double.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.mmbase.datatypes.ComparableDataType |
|---|
ComparableDataType.MaxRestriction, ComparableDataType.MinRestriction |
| Nested classes/interfaces inherited from class org.mmbase.datatypes.BasicDataType |
|---|
BasicDataType.AbstractRestriction<D extends Serializable>, BasicDataType.DataTypeComparator<D>, BasicDataType.EnumerationRestriction, BasicDataType.RequiredRestriction, BasicDataType.RestrictedEnumerationIterator, BasicDataType.StaticAbstractRestriction<D extends Serializable>, BasicDataType.TypeRestriction, BasicDataType.UniqueRestriction |
| Nested classes/interfaces inherited from interface org.mmbase.datatypes.DataType |
|---|
DataType.Restriction<D extends Serializable> |
| Field Summary |
|---|
| Fields inherited from class org.mmbase.datatypes.NumberDataType |
|---|
allowSpecialNumbers |
| Fields inherited from class org.mmbase.datatypes.ComparableDataType |
|---|
maxRestriction, minRestriction |
| Fields inherited from class org.mmbase.datatypes.BasicDataType |
|---|
DATATYPE_BUNDLE, defaultValue, enumerationRestriction, origin, requiredRestriction, typeRestriction, uniqueRestriction |
| Fields inherited from class org.mmbase.bridge.util.AbstractDescriptor |
|---|
description, guiName, key |
| Fields inherited from interface org.mmbase.datatypes.DataType |
|---|
ENFORCE_ABSOLUTE, ENFORCE_ALWAYS, ENFORCE_NEVER, ENFORCE_ONCHANGE, ENFORCE_ONCREATE, ENFORCE_ONVALIDATE, PROCESS_GET, PROCESS_SET, VALID, XMLNS |
| Constructor Summary | |
|---|---|
DoubleDataType(String name,
boolean primitive)
|
|
| Method Summary | |
|---|---|
Double |
first()
Returns a natural 'first' value. |
double |
getMax()
|
double |
getMin()
|
| Methods inherited from class org.mmbase.datatypes.NumberDataType |
|---|
cast, castString, castToValidate, setAllowSpecialNumbers, toNumber |
| Methods inherited from class org.mmbase.datatypes.ComparableDataType |
|---|
clone, cloneRestrictions, compare, getComparator, getDefaultValue, getEnforceStrength, getMaxRestriction, getMinRestriction, inheritRestrictions, isMaxInclusive, isMinInclusive, setMax, setMin, toStringBuilder, toXml, validateCastValue |
| Methods inherited from class org.mmbase.bridge.util.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 DoubleDataType(String name,
boolean primitive)
primitive - indicate if a primitive type should be used| Method Detail |
|---|
public double getMin()
double, or Double.NEGATIVE_INFINITY if there is no minimum.public double getMax()
double, or Double.POSITIVE_INFINITY if there is no maximum.public Double first()
ComparableDataType0
first in class ComparableDataType<Double>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||