Class ErrorType
- java.lang.Object
-
- com.sun.jdo.spi.persistence.support.sqlstore.query.util.type.Type
-
- com.sun.jdo.spi.persistence.support.sqlstore.query.util.type.ErrorType
-
public class ErrorType extends Type
This class represents the internal error type used during semantic analysis.- Version:
- 0.1
- Author:
- Michael Bouschen
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isCompatibleWith(Type type)
Checks type compatibility.boolean
isOrderable()
Returns whether this represents a type with an defined order.-
Methods inherited from class com.sun.jdo.spi.persistence.support.sqlstore.query.util.type.Type
equals, getEnumType, getJavaClass, getName, toString
-
-
-
-
Method Detail
-
isCompatibleWith
public boolean isCompatibleWith(Type type)
Description copied from class:Type
Checks type compatibility.- Specified by:
isCompatibleWith
in classType
- Parameters:
type
- the type this is checked with.- Returns:
- true if this is compatible with type; false otherwise.
-
isOrderable
public boolean isOrderable()
Description copied from class:Type
Returns whether this represents a type with an defined order.- Overrides:
isOrderable
in classType
- Returns:
- true if an order is defined for this; false otherwise.
-
-