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: ErrorType [javadoc | source]
java.lang.Object
   org.apache.jdo.impl.model.java.AbstractJavaType
      org.apache.jdo.impl.model.java.ErrorType

All Implemented Interfaces:
    JavaType

An instance of class ErrorType represents an erroneous type. Components such as the semantic analysis may use this type to indicate an error situtaion. It is compatible to all other types.
Field Summary
public static final  ErrorType errorType    The singleton ErrorType instance. 
Constructor:
 protected ErrorType() 
Method from org.apache.jdo.impl.model.java.ErrorType 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.ErrorType 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 always returns true, because ErrorType is compatible with any other type.