mondrian.olap.type
Class BooleanType

java.lang.Object
  extended by mondrian.olap.type.ScalarType
      extended by mondrian.olap.type.BooleanType
All Implemented Interfaces:
Type

public class BooleanType
extends ScalarType

The type of a boolean expression.

Since:
Feb 17, 2005
Version:
$Id: //open/mondrian/src/main/mondrian/olap/type/BooleanType.java#7 $
Author:
jhyde

Constructor Summary
BooleanType()
          Creates a BooleanType.
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 boolean isInstance(java.lang.Object value)
          Returns whether a value is valid for a type.
 
Methods inherited from class mondrian.olap.type.ScalarType
computeCommonType, getDimension, getHierarchy, getLevel, hashCode, toString, usesDimension, usesHierarchy
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BooleanType

public BooleanType()
Creates a BooleanType.

Method Detail

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class ScalarType

isInstance

public boolean isInstance(java.lang.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

Get Mondrian at SourceForge.net. Fast, secure and free Open Source software downloads