Save This Page
Home » jdo2-model-2.3-ea-src » » [javadoc | source]
public class: NullType [javadoc | source]

All Implemented Interfaces:

An instance of class NullType represents the type of the null expression in Java. It is compatible to all reference types.
Field Summary
public static final  NullType nullType    The singleton NullType instance. 
 protected NullType() 
Method from Summary:
getName,   isCompatibleWith
Methods from
equals,   getArrayComponentType,   getDeclaredJavaFields,   getDeclaredJavaProperties,   getJDOClass,   getJavaField,   getJavaProperty,   getModifiers,   getName,   getSuperclass,   getUnderlyingObject,   hashCode,   isArray,   isCompatibleWith,   isFloatingPoint,   isIntegral,   isInterface,   isJDOSupportedCollection,   isJDOSupportedMap,   isOrderable,   isPersistenceCapable,   isPrimitive,   isTrackable,   isValue,   isWrapperClass,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from Detail:
 public String getName() 
    Returns the name of the type.
 public boolean isCompatibleWith(JavaType javaType) 
    Returns true if this JavaType is compatible with the specified JavaType. This implementation returns true, if the specified javaType is a not a primitive type, because the type of null is compatiple with all reference types.