mondrian.olap.type
Class StringType
java.lang.Object
mondrian.olap.type.ScalarType
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. |
StringType
public StringType()
- Creates a string type.
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