001 /* 002 // $Id: //open/mondrian/src/main/mondrian/olap/type/NullType.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 /** 013 * The type of a null expression. 014 * 015 * @author medstat 016 * @version $Id: //open/mondrian/src/main/mondrian/olap/type/NullType.java#3 $ 017 * @since Aug 21, 2006 018 */ 019 public 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