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) 2005-2005 Julian Hyde 008// Copyright (C) 2005-2009 Pentaho 009// All Rights Reserved. 010*/ 011package mondrian.olap.type; 012 013/** 014 * The type of a null expression. 015 * 016 * @author medstat 017 * @since Aug 21, 2006 018 */ 019public class NullType extends ScalarType 020{ 021 /** 022 * Creates a null type. 023 */ 024 public NullType() 025 { 026 super("<NULLTYPE>"); 027 } 028 029 public boolean equals(Object obj) { 030 return obj instanceof NullType; 031 } 032} 033 034// End NullType.java