Package mondrian.olap.type
Class NumericType
java.lang.Object
mondrian.olap.type.ScalarType
mondrian.olap.type.NumericType
- All Implemented Interfaces:
 Type
- Direct Known Subclasses:
 DecimalType
The type of a numeric expression.
- Since:
 - Feb 17, 2005
 - Author:
 - jhyde
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanisInstance(Object value) Returns whether a value is valid for a type.Methods inherited from class mondrian.olap.type.ScalarType
computeCommonType, getArity, getDimension, getHierarchy, getLevel, hashCode, toString, usesDimension, usesHierarchy 
- 
Constructor Details
- 
NumericType
public NumericType()Creates a numeric type. - 
NumericType
 
 - 
 - 
Method Details
- 
equals
- Overrides:
 equalsin classScalarType
 - 
isInstance
Description copied from interface:TypeReturns whether a value is valid for a type.- Specified by:
 isInstancein interfaceType- Overrides:
 isInstancein classScalarType- Parameters:
 value- Value- Returns:
 - Whether value is valid for this type
 
 
 -