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, getDeclaredJavaFields, getDeclaredJavaProperties, getJavaField, getJavaProperty, getJDOClass, getModifiers, getSuperclass, getUnderlyingObject, hashCode, isArray, isFloatingPoint, isIntegral, isInterface, isJDOSupportedCollection, isJDOSupportedMap, isOrderable, isPersistenceCapable, isPrimitive, isTrackable, isValue, isWrapperClass, toString
public 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 JavaType
isCompatibleWith
in class AbstractJavaType
javaType
- 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 JavaType
getName
in class AbstractJavaType
Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.