FileDocCategorySizeDatePackage
NullType.javaAPI DocGlassfish v2 API2685Fri May 04 22:35:08 BST 2007com.sun.jdo.spi.persistence.support.sqlstore.query.util.type

NullType

public class NullType extends Type
This class represents the type of null.
author
Michael Bouschen
version
0.1

Fields Summary
Constructors Summary
NullType()

        super("null", void.class); //NOI18N
    
Methods Summary
public booleanisCompatibleWith(Type type)
An NullType object is compatible to - the errorType object - an object of type NullType (to itself) - an object of type ClassType

        return (type.equals(TypeTable.errorType) ||
                (type instanceof NullType) ||
                (type instanceof ClassType));