001/*
002// This software is subject to the terms of the Eclipse Public License v1.0
003// Agreement, available at the following URL:
004// http://www.eclipse.org/legal/epl-v10.html.
005// You must accept the terms of that agreement to use this software.
006//
007// Copyright (C) 2009-2009 Pentaho
008// All Rights Reserved.
009*/
010package mondrian.olap.type;
011
012/**
013 * The type of a empty expression.
014 *
015 * <p>An example of an empty expression is the third argument to the call
016 * <code>DrilldownLevelTop({[Store].[USA]}, 2, , [Measures].[Unit
017 * Sales])</code>.
018 * </p>
019 *
020 * @author medstat
021 * @since Jan 26, 2009
022 */
023public class EmptyType extends ScalarType
024{
025    /**
026     * Creates an empty type.
027     */
028    public EmptyType()
029    {
030        super("<EMPTY>");
031    }
032
033    public boolean equals(Object obj) {
034        return obj instanceof EmptyType;
035    }
036}
037
038// End EmptyType.java