| Modifier and Type | Field and Description |
|---|---|
protected Type |
JQLAST.jqlType |
| Modifier and Type | Method and Description |
|---|---|
Type |
JQLAST.getJQLType() |
| Modifier and Type | Method and Description |
|---|---|
void |
ParameterTable.add(String name,
Type type)
Adds a new query parameter with the specified type to the query
parameter table.
|
void |
JQLAST.initialize(int type,
String text,
Type jqlType) |
void |
JQLAST.initialize(int type,
String text,
Type jqlType,
Object value) |
void |
JQLAST.setJQLType(Type jqlType) |
| Constructor and Description |
|---|
JQLAST(int type,
String text,
Type jqlType) |
JQLAST(int type,
String text,
Type jqlType,
Object value) |
| Modifier and Type | Field and Description |
|---|---|
protected Type |
Definition.type
Type of the identifier
|
| Modifier and Type | Method and Description |
|---|---|
Type |
Definition.getType()
Returns the type of the identifiers's definition.
|
| Constructor and Description |
|---|
Definition(Type type)
Creates a new definition.
|
Parameter(Type type) |
TypeName(Type type,
String qualifiedName) |
Variable(Type type) |
| Modifier and Type | Class and Description |
|---|---|
class |
BooleanType
This class represents the type boolean
|
class |
ClassType |
class |
DateType
Instances of this type represent the types java.util.Date,
java.sql.Date, java.sql.Time or java.sql.Timestamp.
|
class |
ErrorType
This class represents the internal error type used during semantic analysis.
|
class |
FloatingPointType
This class represents the types float and double.
|
class |
IntegralType
This class represents the types
byte, short int, long and char
|
class |
MathType
This class represents the types java.math.BigDecimal and java.math.BigInteger.
|
class |
NullType
This class represents the type of null.
|
class |
NumericType
This class is the super class for all integral and floating point types.
|
class |
NumericWrapperClassType |
class |
PrimitiveType
Super class for boolean type, char type,
and all numeric types.
|
class |
StringType |
class |
WrapperClassType |
| Modifier and Type | Method and Description |
|---|---|
Type |
TypeTable.binaryNumericPromotion(Type left,
Type right)
Implements binary numeric promotion as defined in the Java Language Specification section 5.6.2
|
Type |
TypeTable.checkType(Class clazz)
Checks for the type with the specified name.
|
Type |
TypeTable.checkType(String name)
Checks for the type with the specified name.
|
Type |
FieldInfo.getAssociatedClass() |
Type |
TypeTable.getAvgReturnType(Type type)
Return JDO QL return type for Avg function for a given type.
|
Type |
TypeTable.getMinMaxReturnType(Type type)
Return JDO QL return type for Min/Max function for a given type.
|
Type |
TypeTable.getSumReturnType(Type type)
Return JDO QL return type for Sum function for a given type.
|
Type |
FieldInfo.getType()
Returns the Type representation of the type of the field.
|
Type |
TypeTable.unaryNumericPromotion(Type type)
Implements unray numeric promotion as defined in the Java Language Specification section 5.6.1
|
| Modifier and Type | Method and Description |
|---|---|
Type |
TypeTable.binaryNumericPromotion(Type left,
Type right)
Implements binary numeric promotion as defined in the Java Language Specification section 5.6.2
|
Type |
TypeTable.getAvgReturnType(Type type)
Return JDO QL return type for Avg function for a given type.
|
Type |
TypeTable.getMinMaxReturnType(Type type)
Return JDO QL return type for Min/Max function for a given type.
|
Type |
TypeTable.getSumReturnType(Type type)
Return JDO QL return type for Sum function for a given type.
|
boolean |
TypeTable.isBooleanType(Type type)
Returns true if type is boolean or java.lang.Boolean
|
boolean |
TypeTable.isCharType(Type type)
Returns true if type is char or java.lang.Character
|
boolean |
TypeTable.isCollectionType(Type type)
Returns true if type denotes a collection type.
|
boolean |
NullType.isCompatibleWith(Type type)
An NullType object is compatible to
- the errorType object
- an object of type NullType (to itself)
- an object of type ClassType
|
boolean |
PrimitiveType.isCompatibleWith(Type type) |
boolean |
ClassType.isCompatibleWith(Type type)
Checks the compatibility of this with the specified type.
|
boolean |
ErrorType.isCompatibleWith(Type type) |
abstract boolean |
Type.isCompatibleWith(Type type)
Checks type compatibility.
|
boolean |
TypeTable.isDoubleType(Type type)
Returns true if type is double or java.lang.Double
|
boolean |
TypeTable.isFloatingPointType(Type type)
Returns true if type is a floating point type or a Java wrapper
class type wrapping a floating point integral type.
|
boolean |
TypeTable.isIntegralType(Type type)
Returns true if type is an integral type or a Java wrapper class
type wrapping an integral type.
|
boolean |
TypeTable.isIntType(Type type)
Returns true if type is int or java.lang.Integer
|
boolean |
TypeTable.isJavaLangMathType(Type type)
Returns true if type denotes a collection type.
|
boolean |
TypeTable.isNumberType(Type type)
Returns true if type is a NumericType or compatible to java.lang.Number
|
boolean |
TypeTable.isPersistenceCapableType(Type type)
Returns true if type denotes a pertsistence capable class
Note, it returns false for non ClassType values, especially for
NullType and ErrorType.
|
Type |
TypeTable.unaryNumericPromotion(Type type)
Implements unray numeric promotion as defined in the Java Language Specification section 5.6.1
|
Copyright © 2017. All rights reserved.