|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.jdo.impl.model.java.AbstractJavaType
org.apache.jdo.impl.model.java.NullType
An instance of class NullType represents the type of the null expression in Java. It is compatible to all reference types.
| Field Summary | |
static NullType |
nullType
The singleton NullType instance. |
| Constructor Summary | |
protected |
NullType()
Creates new a NullType instance. |
| Method Summary | |
java.lang.String |
getName()
Returns the name of the type. |
boolean |
isCompatibleWith(JavaType javaType)
Returns true if this JavaType is compatible with the specified JavaType. |
| Methods inherited from class org.apache.jdo.impl.model.java.AbstractJavaType |
equals, getArrayComponentType, getDeclaredJavaFields, getDeclaredJavaProperties, getJavaField, getJavaProperty, getJDOClass, getModifiers, getSuperclass, getUnderlyingObject, hashCode, isArray, isFloatingPoint, isIntegral, isInterface, isJDOSupportedCollection, isJDOSupportedMap, isOrderable, isPersistenceCapable, isPrimitive, isTrackable, isValue, isWrapperClass, toString |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final NullType nullType
| Constructor Detail |
protected NullType()
nullType
should be used.
| Method Detail |
public boolean isCompatibleWith(JavaType javaType)
true, if the
specified javaType is a not a primitive type, because the type of
null is compatiple with all reference types.
isCompatibleWith in interface JavaTypeisCompatibleWith in class AbstractJavaTypejavaType - the type this JavaType is checked with.
true if this is compatible with the specified
type; false otherwise.public java.lang.String getName()
getName in interface JavaTypegetName in class AbstractJavaType
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||