Save This Page
Home » jdo2-model-2.3-ea-src » org.apache.jdo.impl.model.java » [javadoc | source]
org.apache.jdo.impl.model.java
public class: NullType [javadoc | source]
java.lang.Object
   org.apache.jdo.impl.model.java.AbstractJavaType
      org.apache.jdo.impl.model.java.NullType

All Implemented Interfaces:
    JavaType

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. 
Constructor:
 protected NullType() 
Method from org.apache.jdo.impl.model.java.NullType Summary:
getName,   isCompatibleWith
Methods from org.apache.jdo.impl.model.java.AbstractJavaType:
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 org.apache.jdo.impl.model.java.NullType 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.