mondrian.olap.type
Class NumericType
java.lang.Object
mondrian.olap.type.ScalarType
mondrian.olap.type.NumericType
- All Implemented Interfaces:
- Type
- Direct Known Subclasses:
- DecimalType
public class NumericType
- extends ScalarType
The type of a numeric expression.
- Since:
- Feb 17, 2005
- Version:
- $Id: //open/mondrian/src/main/mondrian/olap/type/NumericType.java#7 $
- Author:
- jhyde
NumericType
public NumericType()
- Creates a numeric type.
NumericType
protected NumericType(String digest)
equals
public boolean equals(Object obj)
- Overrides:
equals
in class ScalarType
isInstance
public boolean isInstance(Object value)
- Description copied from interface:
Type
- Returns whether a value is valid for a type.
- Specified by:
isInstance
in interface Type
- Overrides:
isInstance
in class ScalarType
- Parameters:
value
- Value
- Returns:
- Whether value is valid for this type