001 /* 002 // $Id: //open/mondrian/src/main/mondrian/olap/type/StringType.java#3 $ 003 // This software is subject to the terms of the Common Public License 004 // Agreement, available at the following URL: 005 // http://www.opensource.org/licenses/cpl.html. 006 // Copyright (C) 2005-2008 Julian Hyde 007 // All Rights Reserved. 008 // You must accept the terms of that agreement to use this software. 009 */ 010 package mondrian.olap.type; 011 012 import mondrian.olap.Dimension; 013 import mondrian.olap.Hierarchy; 014 015 /** 016 * The type of a string expression. 017 * 018 * @author jhyde 019 * @since Feb 17, 2005 020 * @version $Id: //open/mondrian/src/main/mondrian/olap/type/StringType.java#3 $ 021 */ 022 public class StringType extends ScalarType { 023 024 /** 025 * Creates a string type. 026 */ 027 public StringType() { 028 super("STRING"); 029 } 030 031 public boolean equals(Object obj) { 032 return obj instanceof StringType; 033 } 034 } 035 036 // End StringType.java