Package mondrian.olap.type
Class BooleanType
- java.lang.Object
-
- mondrian.olap.type.ScalarType
-
- mondrian.olap.type.BooleanType
-
- All Implemented Interfaces:
Type
public class BooleanType extends ScalarType
The type of a boolean expression.- Since:
- Feb 17, 2005
- Author:
- jhyde
-
-
Constructor Summary
Constructors Constructor Description BooleanType()
Creates a BooleanType.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
boolean
isInstance(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
-
-
-
-
Method Detail
-
equals
public boolean equals(Object obj)
- Overrides:
equals
in classScalarType
-
isInstance
public boolean isInstance(Object value)
Description copied from interface:Type
Returns whether a value is valid for a type.- Specified by:
isInstance
in interfaceType
- Overrides:
isInstance
in classScalarType
- Parameters:
value
- Value- Returns:
- Whether value is valid for this type
-
-