mondrian.olap.type
Class StringType

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

public class StringType
extends ScalarType

The type of a string expression.

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

Constructor Summary
StringType()
          Creates a string type.
 
Method Summary
 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, getDimension, getHierarchy, getLevel, hashCode, toString, usesDimension, usesHierarchy
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StringType

public StringType()
Creates a string type.

Method Detail

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

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