public class ErrorType extends AbstractJavaType
| Modifier and Type | Field and Description |
|---|---|
static ErrorType |
errorType
The singleton ErrorType instance.
|
| Modifier | Constructor and Description |
|---|---|
protected |
ErrorType()
Creates new a ErrorType instance.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
equals, getArrayComponentType, getJavaField, getJDOClass, getModifiers, getSuperclass, hashCode, isArray, isFloatingPoint, isIntegral, isInterface, isJDOSupportedCollection, isJDOSupportedMap, isOrderable, isPersistenceCapable, isPrimitive, isTrackable, isValue, isWrapperClass, toStringpublic static final ErrorType errorType
protected ErrorType()
errorType
should be used.public boolean isCompatibleWith(JavaType javaType)
true,
because ErrorType is compatible with any other type.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 AbstractJavaTypeCopyright © 2005-2012 Apache Software Foundation. All Rights Reserved.