001 /*
002 // $Id: BooleanType.java 229 2009-05-08 19:11:29Z jhyde $
003 // This software is subject to the terms of the Eclipse Public License v1.0
004 // Agreement, available at the following URL:
005 // http://www.eclipse.org/legal/epl-v10.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 org.olap4j.type;
011
012 /**
013 * The type of a boolean (logical) expression.
014 *
015 * <p>An example of a boolean expression is the predicate
016 *
017 * <blockquote>
018 * <code>[Measures].[Unit Sales] > 1000</code>
019 * </blockquote>
020 *
021 * @author jhyde
022 * @since Feb 17, 2005
023 * @version $Id: BooleanType.java 229 2009-05-08 19:11:29Z jhyde $
024 */
025 public class BooleanType extends ScalarType {
026 /**
027 * Creates a boolean type.
028 */
029 public BooleanType() {
030 }
031
032 public String toString() {
033 return "BOOLEAN";
034 }
035 }
036
037 // End BooleanType.java