Top Description Fields Constructors Methods
org.eclipse.persistence.jpa.jpql.tools

public Class GenericTypeHelper

extends Object
implements ITypeHelper
Class Inheritance
All Implemented Interfaces
org.eclipse.persistence.jpa.jpql.ITypeHelper
Imports
org.eclipse.persistence.jpa.jpql.ITypeHelper, org.eclipse.persistence.jpa.jpql.tools.spi.IType, .ITypeDeclaration

This generic implementation of ITypeHelper wraps ITypeHelper and delegates the calls to it.
Author
Pascal Filion
Since
2.4
Version
2.4

Field Summary

Modifier and TypeField and Description
private final TypeHelper
delegate

The TypeHelper that is wrapped by this one and all the calls are delegated to it.

Constructor Summary

AccessConstructor and Description
public
GenericTypeHelper(TypeHelper
The TypeHelper that is wrapped by this one and all the calls are delegated to it
delegate
)

Creates a new GenericTypeHelper.

Method Summary

Modifier and TypeMethod and Description
public IType
bigDecimal()

Implements org.eclipse.persistence.jpa.jpql.ITypeHelper.bigDecimal.

Retrieves the;@link IType} for;@link BigDecimal}.
public IType
bigInteger()

Implements org.eclipse.persistence.jpa.jpql.ITypeHelper.bigInteger.

Retrieves the;@link IType} for;@link BigInteger}.
public IType
booleanType()

Implements org.eclipse.persistence.jpa.jpql.ITypeHelper.booleanType.

Retrieves the;@link IType} for;@link Boolean}.
public IType
byteType()

Implements org.eclipse.persistence.jpa.jpql.ITypeHelper.byteType.

Retrieves the;@link IType} for;@link Byte}.
public IType
characterType()

Implements org.eclipse.persistence.jpa.jpql.ITypeHelper.characterType.

Retrieves the;@link IType} for;@link Character}.
public IType
collectionType()

Implements org.eclipse.persistence.jpa.jpql.ITypeHelper.collectionType.

Retrieves the;@link IType} for;@link Collection}.
public IType
convertPrimitive(Object
Type to possibly convert from the primitive into the class
type
)

Implements org.eclipse.persistence.jpa.jpql.ITypeHelper.convertPrimitive.

Converts the given;@link IType}, if it's representing a primitive type, into the class of the same type.
public IType
dateType()

Implements org.eclipse.persistence.jpa.jpql.ITypeHelper.dateType.

Retrieves the;@link IType} for;@link Date}.
public IType
doubleType()

Implements org.eclipse.persistence.jpa.jpql.ITypeHelper.doubleType.

Retrieves the;@link IType} for;@link Double}.
public IType
enumType()

Implements org.eclipse.persistence.jpa.jpql.ITypeHelper.enumType.

Retrieves the;@link IType} for;@link Enum}.
public IType
floatType()

Implements org.eclipse.persistence.jpa.jpql.ITypeHelper.floatType.

Retrieves the;@link IType} for;@link Float}.
public IType
getType(Class<?>
The Java type for which its external form will be returned
type
)

Implements org.eclipse.persistence.jpa.jpql.ITypeHelper.getType.

Returns the;@link IType} of the given Java type.
public IType
getType(String
The fully qualified class name of the class to retrieve
typeName
)

Implements org.eclipse.persistence.jpa.jpql.ITypeHelper.getType.

Retrieves the external class for the given fully qualified class name.
public IType
integerType()

Implements org.eclipse.persistence.jpa.jpql.ITypeHelper.integerType.

Retrieves the;@link IType} for;@link Integer}.
public boolean
isBooleanType(Object
The type to check it's assignability
type
)

Implements org.eclipse.persistence.jpa.jpql.ITypeHelper.isBooleanType.

Determines whether the given;@link IType} is a;@link Boolean}.
public boolean
isCollectionType(Object
The type to check it's assignability
type
)

Implements org.eclipse.persistence.jpa.jpql.ITypeHelper.isCollectionType.

Determines whether the given;@link IType} is an instance of;@link Collection}.
public boolean
isDateType(Object
The type to check it's assignability
type
)

Implements org.eclipse.persistence.jpa.jpql.ITypeHelper.isDateType.

Determines whether the given;@link IType} is a;@link Date},;@link Timestamp} or ;@link Calendar}.
public boolean
isEnumType(Object
The type to check it's assignability
type
)

Implements org.eclipse.persistence.jpa.jpql.ITypeHelper.isEnumType.

Determines whether the given;@link IType} is an instance of;@link Enum}.
public boolean
isFloatingType(Object
The type to check it's assignability
type
)

Implements org.eclipse.persistence.jpa.jpql.ITypeHelper.isFloatingType.

Determines whether the given;@link IType} is an instance of a floating type, which is either Float, Double, float or double.
public boolean
isIntegralType(Object
The type to check it's assignability
type
)

Implements org.eclipse.persistence.jpa.jpql.ITypeHelper.isIntegralType.

Determines whether the given;@link IType} is an instance of a floating type, which is either Integer, Long, int or float.
public boolean
isMapType(Object
The type to check it's assignability
type
)

Implements org.eclipse.persistence.jpa.jpql.ITypeHelper.isMapType.

Determines whether the given;@link IType} is an instance of;@link Map}.
public boolean
isNumericType(Object
The type to check it's assignability
type
)

Implements org.eclipse.persistence.jpa.jpql.ITypeHelper.isNumericType.

Determines whether the given;@link IType} is an instance of;@link Numeric}.
public boolean
isObjectType(Object
The type to check it's assignability
type
)

Implements org.eclipse.persistence.jpa.jpql.ITypeHelper.isObjectType.

Determines whether the given;@link IType} is the external form of;@link Object}.
public boolean
isPrimitiveType(Object
The type to check it's assignability
type
)

Implements org.eclipse.persistence.jpa.jpql.ITypeHelper.isPrimitiveType.

Determines whether the given;@link IType} represents a primitive type.
public boolean
isStringType(Object
The type to check it's assignability
type
)

Implements org.eclipse.persistence.jpa.jpql.ITypeHelper.isStringType.

Determines whether the given;@link IType} represents the String class.
public IType
longType()

Implements org.eclipse.persistence.jpa.jpql.ITypeHelper.longType.

Retrieves the;@link IType} for;@link Long}.
public IType
longType(Object
The;@link IType} to possibly convert
type
)

Implements org.eclipse.persistence.jpa.jpql.ITypeHelper.longType.

Converts the given;@link IType}, if it's the primitive long, into the Long type.
public IType
mapType()

Implements org.eclipse.persistence.jpa.jpql.ITypeHelper.mapType.

Retrieves the;@link IType} for;@link Map}.
public IType
numberType()

Implements org.eclipse.persistence.jpa.jpql.ITypeHelper.numberType.

Retrieves the;@link IType} for;@link Number}.
public IType
objectType()

Implements org.eclipse.persistence.jpa.jpql.ITypeHelper.objectType.

Retrieves the;@link IType} for;@link Object}.
public ITypeDeclaration
objectTypeDeclaration()

Implements org.eclipse.persistence.jpa.jpql.ITypeHelper.objectTypeDeclaration.

Returns the;@link Object } for the;@link IType} representing the Object class.
public IType
primitiveBoolean()

Implements org.eclipse.persistence.jpa.jpql.ITypeHelper.primitiveBoolean.

Retrieves the;@link IType} for the primitive boolean.
public IType
primitiveByte()

Implements org.eclipse.persistence.jpa.jpql.ITypeHelper.primitiveByte.

Retrieves the;@link IType} for the primitive byte.
public IType
primitiveChar()

Implements org.eclipse.persistence.jpa.jpql.ITypeHelper.primitiveChar.

Retrieves the;@link IType} for the primitive char.
public IType
primitiveDouble()

Implements org.eclipse.persistence.jpa.jpql.ITypeHelper.primitiveDouble.

Retrieves the;@link IType} for the primitive double.
public IType
primitiveFloat()

Implements org.eclipse.persistence.jpa.jpql.ITypeHelper.primitiveFloat.

Retrieves the;@link IType} for the primitive float.
public IType
primitiveInteger()

Implements org.eclipse.persistence.jpa.jpql.ITypeHelper.primitiveInteger.

Retrieves the;@link IType} for the primitive int.
public IType
primitiveLong()

Implements org.eclipse.persistence.jpa.jpql.ITypeHelper.primitiveLong.

Retrieves the;@link IType} for the primitive long.
public IType
primitiveShort()

Implements org.eclipse.persistence.jpa.jpql.ITypeHelper.primitiveShort.

Retrieves the;@link IType} for the primitive short.
public IType
shortType()

Implements org.eclipse.persistence.jpa.jpql.ITypeHelper.shortType.

Retrieves the;@link IType} for;@link Short}.
public IType
stringType()

Implements org.eclipse.persistence.jpa.jpql.ITypeHelper.stringType.

Retrieves the;@link IType} for;@link String}.
public IType
timestampType()

Implements org.eclipse.persistence.jpa.jpql.ITypeHelper.timestampType.

Retrieves the;@link IType} for;@link Timestamp}.
public IType
toBooleanType(Object
The;@link IType} to possibly convert
type
)

Implements org.eclipse.persistence.jpa.jpql.ITypeHelper.toBooleanType.

Converts the given;@link IType}, if it's the primitive boolean, into the Boolean type.
public IType
toByteType(Object
The;@link IType} to possibly convert
type
)

Implements org.eclipse.persistence.jpa.jpql.ITypeHelper.toByteType.

Converts the given;@link IType}, if it's the primitive byte, into the Byte type.
public IType
toDoubleType(Object
The;@link IType} to possibly convert
type
)

Implements org.eclipse.persistence.jpa.jpql.ITypeHelper.toDoubleType.

Converts the given;@link IType}, if it's the primitive double, into the Double type.
public IType
toFloatType(Object
The;@link IType} to possibly convert
type
)

Implements org.eclipse.persistence.jpa.jpql.ITypeHelper.toFloatType.

Converts the given;@link IType}, if it's the primitive float, into the Float type.
public IType
toIntegerType(Object
The;@link IType} to possibly convert
type
)

Implements org.eclipse.persistence.jpa.jpql.ITypeHelper.toIntegerType.

Converts the given;@link IType}, if it's the primitive int, into the Integer type.
public IType
toShortType(Object
The;@link IType} to possibly convert
type
)

Implements org.eclipse.persistence.jpa.jpql.ITypeHelper.toShortType.

Converts the given;@link IType}, if it's the primitive short, into the Short type.
public IType
unknownType()

Implements org.eclipse.persistence.jpa.jpql.ITypeHelper.unknownType.

Retrieves the;@link IType} that represents an unknown type.
public ITypeDeclaration
unknownTypeDeclaration()

Implements org.eclipse.persistence.jpa.jpql.ITypeHelper.unknownTypeDeclaration.

Returns the;@link Object } for the;@link IType} representing an unknown type.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

delegateback to summary
private final TypeHelper delegate

The TypeHelper that is wrapped by this one and all the calls are delegated to it.

Constructor Detail

GenericTypeHelperback to summary
public GenericTypeHelper(TypeHelper delegate)

Creates a new GenericTypeHelper.

Parameters
delegate:TypeHelper

The TypeHelper that is wrapped by this one and all the calls are delegated to it

Method Detail

bigDecimalback to summary
public IType bigDecimal()

Implements org.eclipse.persistence.jpa.jpql.ITypeHelper.bigDecimal.

Doc from org.eclipse.persistence.jpa.jpql.ITypeHelper.bigDecimal.

Retrieves the;@link IType} for;@link BigDecimal}.

Returns:IType

The external form of the BigDecimal class

Annotations
@Override
bigIntegerback to summary
public IType bigInteger()

Implements org.eclipse.persistence.jpa.jpql.ITypeHelper.bigInteger.

Doc from org.eclipse.persistence.jpa.jpql.ITypeHelper.bigInteger.

Retrieves the;@link IType} for;@link BigInteger}.

Returns:IType

The external form of the BigInteger class

Annotations
@Override
booleanTypeback to summary
public IType booleanType()

Implements org.eclipse.persistence.jpa.jpql.ITypeHelper.booleanType.

Doc from org.eclipse.persistence.jpa.jpql.ITypeHelper.booleanType.

Retrieves the;@link IType} for;@link Boolean}.

Returns:IType

The external form of the Boolean class

Annotations
@Override
byteTypeback to summary
public IType byteType()

Implements org.eclipse.persistence.jpa.jpql.ITypeHelper.byteType.

Doc from org.eclipse.persistence.jpa.jpql.ITypeHelper.byteType.

Retrieves the;@link IType} for;@link Byte}.

Returns:IType

The external form of the Byte class

Annotations
@Override
characterTypeback to summary
public IType characterType()

Implements org.eclipse.persistence.jpa.jpql.ITypeHelper.characterType.

Doc from org.eclipse.persistence.jpa.jpql.ITypeHelper.characterType.

Retrieves the;@link IType} for;@link Character}.

Returns:IType

The external form of the Character class

Annotations
@Override
collectionTypeback to summary
public IType collectionType()

Implements org.eclipse.persistence.jpa.jpql.ITypeHelper.collectionType.

Doc from org.eclipse.persistence.jpa.jpql.ITypeHelper.collectionType.

Retrieves the;@link IType} for;@link Collection}.

Returns:IType

The external form of the Collection class

Annotations
@Override
convertPrimitiveback to summary
public IType convertPrimitive(Object type)

Implements org.eclipse.persistence.jpa.jpql.ITypeHelper.convertPrimitive.

Doc from org.eclipse.persistence.jpa.jpql.ITypeHelper.convertPrimitive.

Converts the given;@link IType}, if it's representing a primitive type, into the class of the same type.

Parameters
type:Object

Type to possibly convert from the primitive into the class

Returns:IType

The given;@link IType} if it's not a primitive type otherwise the primitive type will have been converted into the class of that primitive

Annotations
@Override
dateTypeback to summary
public IType dateType()

Implements org.eclipse.persistence.jpa.jpql.ITypeHelper.dateType.

Doc from org.eclipse.persistence.jpa.jpql.ITypeHelper.dateType.

Retrieves the;@link IType} for;@link Date}.

Returns:IType

The external form of the Date class

Annotations
@Override
doubleTypeback to summary
public IType doubleType()

Implements org.eclipse.persistence.jpa.jpql.ITypeHelper.doubleType.

Doc from org.eclipse.persistence.jpa.jpql.ITypeHelper.doubleType.

Retrieves the;@link IType} for;@link Double}.

Returns:IType

The external form of the Double class

Annotations
@Override
enumTypeback to summary
public IType enumType()

Implements org.eclipse.persistence.jpa.jpql.ITypeHelper.enumType.

Doc from org.eclipse.persistence.jpa.jpql.ITypeHelper.enumType.

Retrieves the;@link IType} for;@link Enum}.

Returns:IType

The external form of the Enum class

Annotations
@Override
floatTypeback to summary
public IType floatType()

Implements org.eclipse.persistence.jpa.jpql.ITypeHelper.floatType.

Doc from org.eclipse.persistence.jpa.jpql.ITypeHelper.floatType.

Retrieves the;@link IType} for;@link Float}.

Returns:IType

The external form of the Float class

Annotations
@Override
getTypeback to summary
public IType getType(Class<?> type)

Implements org.eclipse.persistence.jpa.jpql.ITypeHelper.getType.

Doc from org.eclipse.persistence.jpa.jpql.ITypeHelper.getType.

Returns the;@link IType} of the given Java type.

Parameters
type:Class<?>

The Java type for which its external form will be returned

Returns:IType

The;@link IType} representing the given Java type

Annotations
@Override
getTypeback to summary
public IType getType(String typeName)

Implements org.eclipse.persistence.jpa.jpql.ITypeHelper.getType.

Doc from org.eclipse.persistence.jpa.jpql.ITypeHelper.getType.

Retrieves the external class for the given fully qualified class name.

Parameters
typeName:String

The fully qualified class name of the class to retrieve

Returns:IType

The external form of the class to retrieve

Annotations
@Override
integerTypeback to summary
public IType integerType()

Implements org.eclipse.persistence.jpa.jpql.ITypeHelper.integerType.

Doc from org.eclipse.persistence.jpa.jpql.ITypeHelper.integerType.

Retrieves the;@link IType} for;@link Integer}.

Returns:IType

The external form of the Integer class

Annotations
@Override
isBooleanTypeback to summary
public boolean isBooleanType(Object type)

Implements org.eclipse.persistence.jpa.jpql.ITypeHelper.isBooleanType.

Doc from org.eclipse.persistence.jpa.jpql.ITypeHelper.isBooleanType.

Determines whether the given;@link IType} is a;@link Boolean}.

Parameters
type:Object

The type to check it's assignability

Returns:boolean

true if the given;@link IType} is a;@link Boolean}; false otherwise

Annotations
@Override
isCollectionTypeback to summary
public boolean isCollectionType(Object type)

Implements org.eclipse.persistence.jpa.jpql.ITypeHelper.isCollectionType.

Doc from org.eclipse.persistence.jpa.jpql.ITypeHelper.isCollectionType.

Determines whether the given;@link IType} is an instance of;@link Collection}.

Parameters
type:Object

The type to check it's assignability

Returns:boolean

true if the given;@link IType} is an instance of;@link Collection}; false otherwise

Annotations
@Override
isDateTypeback to summary
public boolean isDateType(Object type)

Implements org.eclipse.persistence.jpa.jpql.ITypeHelper.isDateType.

Doc from org.eclipse.persistence.jpa.jpql.ITypeHelper.isDateType.

Determines whether the given;@link IType} is a;@link Date},;@link Timestamp} or ;@link Calendar}.

Parameters
type:Object

The type to check it's assignability

Returns:boolean

true if the given;@link IType} is a;@link Date},;@link Timestamp} or ;@link Calendar}

Annotations
@Override
isEnumTypeback to summary
public boolean isEnumType(Object type)

Implements org.eclipse.persistence.jpa.jpql.ITypeHelper.isEnumType.

Doc from org.eclipse.persistence.jpa.jpql.ITypeHelper.isEnumType.

Determines whether the given;@link IType} is an instance of;@link Enum}.

Parameters
type:Object

The type to check it's assignability

Returns:boolean

true if the given;@link IType} is an instance of;@link Enum}; false otherwise

Annotations
@Override
isFloatingTypeback to summary
public boolean isFloatingType(Object type)

Implements org.eclipse.persistence.jpa.jpql.ITypeHelper.isFloatingType.

Doc from org.eclipse.persistence.jpa.jpql.ITypeHelper.isFloatingType.

Determines whether the given;@link IType} is an instance of a floating type, which is either Float, Double, float or double.

Parameters
type:Object

The type to check it's assignability

Returns:boolean

true if the given;@link IType} is a floating type; false otherwise

Annotations
@Override
isIntegralTypeback to summary
public boolean isIntegralType(Object type)

Implements org.eclipse.persistence.jpa.jpql.ITypeHelper.isIntegralType.

Doc from org.eclipse.persistence.jpa.jpql.ITypeHelper.isIntegralType.

Determines whether the given;@link IType} is an instance of a floating type, which is either Integer, Long, int or float.

Parameters
type:Object

The type to check it's assignability

Returns:boolean

true if the given;@link IType} is a integral type; false otherwise

Annotations
@Override
isMapTypeback to summary
public boolean isMapType(Object type)

Implements org.eclipse.persistence.jpa.jpql.ITypeHelper.isMapType.

Doc from org.eclipse.persistence.jpa.jpql.ITypeHelper.isMapType.

Determines whether the given;@link IType} is an instance of;@link Map}.

Parameters
type:Object

The type to check it's assignability

Returns:boolean

true if the given;@link IType} is an instance of;@link Map}; false otherwise

Annotations
@Override
isNumericTypeback to summary
public boolean isNumericType(Object type)

Implements org.eclipse.persistence.jpa.jpql.ITypeHelper.isNumericType.

Doc from org.eclipse.persistence.jpa.jpql.ITypeHelper.isNumericType.

Determines whether the given;@link IType} is an instance of;@link Numeric}.

Parameters
type:Object

The type to check it's assignability

Returns:boolean

true if the given;@link IType} is an instance of;@link Numeric}; false otherwise

Annotations
@Override
isObjectTypeback to summary
public boolean isObjectType(Object type)

Implements org.eclipse.persistence.jpa.jpql.ITypeHelper.isObjectType.

Doc from org.eclipse.persistence.jpa.jpql.ITypeHelper.isObjectType.

Determines whether the given;@link IType} is the external form of;@link Object}.

Parameters
type:Object

The type to check it's assignability

Returns:boolean

true if the given;@link IType} is the external form of;@link Object}

Annotations
@Override
isPrimitiveTypeback to summary
public boolean isPrimitiveType(Object type)

Implements org.eclipse.persistence.jpa.jpql.ITypeHelper.isPrimitiveType.

Doc from org.eclipse.persistence.jpa.jpql.ITypeHelper.isPrimitiveType.

Determines whether the given;@link IType} represents a primitive type.

Parameters
type:Object

The type to check it's assignability

Returns:boolean

true if the given;@link IType} represents a primitive; false otherwise

Annotations
@Override
isStringTypeback to summary
public boolean isStringType(Object type)

Implements org.eclipse.persistence.jpa.jpql.ITypeHelper.isStringType.

Doc from org.eclipse.persistence.jpa.jpql.ITypeHelper.isStringType.

Determines whether the given;@link IType} represents the String class.

Parameters
type:Object

The type to check it's assignability

Returns:boolean

true if the given;@link IType} represents the String class; false otherwise

Annotations
@Override
longTypeback to summary
public IType longType()

Implements org.eclipse.persistence.jpa.jpql.ITypeHelper.longType.

Doc from org.eclipse.persistence.jpa.jpql.ITypeHelper.longType.

Retrieves the;@link IType} for;@link Long}.

Returns:IType

The external form of the Long class

Annotations
@Override
longTypeback to summary
public IType longType(Object type)

Implements org.eclipse.persistence.jpa.jpql.ITypeHelper.longType.

Doc from org.eclipse.persistence.jpa.jpql.ITypeHelper.longType.

Converts the given;@link IType}, if it's the primitive long, into the Long type.

Parameters
type:Object

The;@link IType} to possibly convert

Returns:IType

The given type if it's not the primitive long or the;@link IType} for the class Long

Annotations
@Override
mapTypeback to summary
public IType mapType()

Implements org.eclipse.persistence.jpa.jpql.ITypeHelper.mapType.

Doc from org.eclipse.persistence.jpa.jpql.ITypeHelper.mapType.

Retrieves the;@link IType} for;@link Map}.

Returns:IType

The external form of the Map class

Annotations
@Override
numberTypeback to summary
public IType numberType()

Implements org.eclipse.persistence.jpa.jpql.ITypeHelper.numberType.

Doc from org.eclipse.persistence.jpa.jpql.ITypeHelper.numberType.

Retrieves the;@link IType} for;@link Number}.

Returns:IType

The external form of the Number class

Annotations
@Override
objectTypeback to summary
public IType objectType()

Implements org.eclipse.persistence.jpa.jpql.ITypeHelper.objectType.

Doc from org.eclipse.persistence.jpa.jpql.ITypeHelper.objectType.

Retrieves the;@link IType} for;@link Object}.

Returns:IType

The external form of the Object class

Annotations
@Override
objectTypeDeclarationback to summary
public ITypeDeclaration objectTypeDeclaration()

Implements org.eclipse.persistence.jpa.jpql.ITypeHelper.objectTypeDeclaration.

Doc from org.eclipse.persistence.jpa.jpql.ITypeHelper.objectTypeDeclaration.

Returns the;@link Object } for the;@link IType} representing the Object class.

Returns:ITypeDeclaration

The;@link Object } of the Object class

Annotations
@Override
primitiveBooleanback to summary
public IType primitiveBoolean()

Implements org.eclipse.persistence.jpa.jpql.ITypeHelper.primitiveBoolean.

Doc from org.eclipse.persistence.jpa.jpql.ITypeHelper.primitiveBoolean.

Retrieves the;@link IType} for the primitive boolean.

Returns:IType

The external form of the primitive boolean

Annotations
@Override
primitiveByteback to summary
public IType primitiveByte()

Implements org.eclipse.persistence.jpa.jpql.ITypeHelper.primitiveByte.

Doc from org.eclipse.persistence.jpa.jpql.ITypeHelper.primitiveByte.

Retrieves the;@link IType} for the primitive byte.

Returns:IType

The external form of the primitive byte

Annotations
@Override
primitiveCharback to summary
public IType primitiveChar()

Implements org.eclipse.persistence.jpa.jpql.ITypeHelper.primitiveChar.

Doc from org.eclipse.persistence.jpa.jpql.ITypeHelper.primitiveChar.

Retrieves the;@link IType} for the primitive char.

Returns:IType

The external form of the primitive char

Annotations
@Override
primitiveDoubleback to summary
public IType primitiveDouble()

Implements org.eclipse.persistence.jpa.jpql.ITypeHelper.primitiveDouble.

Doc from org.eclipse.persistence.jpa.jpql.ITypeHelper.primitiveDouble.

Retrieves the;@link IType} for the primitive double.

Returns:IType

The external form of the primitive double

Annotations
@Override
primitiveFloatback to summary
public IType primitiveFloat()

Implements org.eclipse.persistence.jpa.jpql.ITypeHelper.primitiveFloat.

Doc from org.eclipse.persistence.jpa.jpql.ITypeHelper.primitiveFloat.

Retrieves the;@link IType} for the primitive float.

Returns:IType

The external form of the primitive float

Annotations
@Override
primitiveIntegerback to summary
public IType primitiveInteger()

Implements org.eclipse.persistence.jpa.jpql.ITypeHelper.primitiveInteger.

Doc from org.eclipse.persistence.jpa.jpql.ITypeHelper.primitiveInteger.

Retrieves the;@link IType} for the primitive int.

Returns:IType

The external form of the primitive int

Annotations
@Override
primitiveLongback to summary
public IType primitiveLong()

Implements org.eclipse.persistence.jpa.jpql.ITypeHelper.primitiveLong.

Doc from org.eclipse.persistence.jpa.jpql.ITypeHelper.primitiveLong.

Retrieves the;@link IType} for the primitive long.

Returns:IType

The external form of the primitive long

Annotations
@Override
primitiveShortback to summary
public IType primitiveShort()

Implements org.eclipse.persistence.jpa.jpql.ITypeHelper.primitiveShort.

Doc from org.eclipse.persistence.jpa.jpql.ITypeHelper.primitiveShort.

Retrieves the;@link IType} for the primitive short.

Returns:IType

The external form of the primitive short

Annotations
@Override
shortTypeback to summary
public IType shortType()

Implements org.eclipse.persistence.jpa.jpql.ITypeHelper.shortType.

Doc from org.eclipse.persistence.jpa.jpql.ITypeHelper.shortType.

Retrieves the;@link IType} for;@link Short}.

Returns:IType

The external form of the Short class

Annotations
@Override
stringTypeback to summary
public IType stringType()

Implements org.eclipse.persistence.jpa.jpql.ITypeHelper.stringType.

Doc from org.eclipse.persistence.jpa.jpql.ITypeHelper.stringType.

Retrieves the;@link IType} for;@link String}.

Returns:IType

The external form of the String class

Annotations
@Override
timestampTypeback to summary
public IType timestampType()

Implements org.eclipse.persistence.jpa.jpql.ITypeHelper.timestampType.

Doc from org.eclipse.persistence.jpa.jpql.ITypeHelper.timestampType.

Retrieves the;@link IType} for;@link Timestamp}.

Returns:IType

The external form of the Timestamp class

Annotations
@Override
toBooleanTypeback to summary
public IType toBooleanType(Object type)

Implements org.eclipse.persistence.jpa.jpql.ITypeHelper.toBooleanType.

Doc from org.eclipse.persistence.jpa.jpql.ITypeHelper.toBooleanType.

Converts the given;@link IType}, if it's the primitive boolean, into the Boolean type.

Parameters
type:Object

The;@link IType} to possibly convert

Returns:IType

The given type if it's not the primitive boolean or the;@link IType} for the class Boolean

Annotations
@Override
toByteTypeback to summary
public IType toByteType(Object type)

Implements org.eclipse.persistence.jpa.jpql.ITypeHelper.toByteType.

Doc from org.eclipse.persistence.jpa.jpql.ITypeHelper.toByteType.

Converts the given;@link IType}, if it's the primitive byte, into the Byte type.

Parameters
type:Object

The;@link IType} to possibly convert

Returns:IType

The given type if it's not the primitive byte or the;@link IType} for the class Byte

Annotations
@Override
toDoubleTypeback to summary
public IType toDoubleType(Object type)

Implements org.eclipse.persistence.jpa.jpql.ITypeHelper.toDoubleType.

Doc from org.eclipse.persistence.jpa.jpql.ITypeHelper.toDoubleType.

Converts the given;@link IType}, if it's the primitive double, into the Double type.

Parameters
type:Object

The;@link IType} to possibly convert

Returns:IType

The given type if it's not the primitive double or the;@link IType} for the class Double

Annotations
@Override
toFloatTypeback to summary
public IType toFloatType(Object type)

Implements org.eclipse.persistence.jpa.jpql.ITypeHelper.toFloatType.

Doc from org.eclipse.persistence.jpa.jpql.ITypeHelper.toFloatType.

Converts the given;@link IType}, if it's the primitive float, into the Float type.

Parameters
type:Object

The;@link IType} to possibly convert

Returns:IType

The given type if it's not the primitive float or the;@link IType} for the class Float

Annotations
@Override
toIntegerTypeback to summary
public IType toIntegerType(Object type)

Implements org.eclipse.persistence.jpa.jpql.ITypeHelper.toIntegerType.

Doc from org.eclipse.persistence.jpa.jpql.ITypeHelper.toIntegerType.

Converts the given;@link IType}, if it's the primitive int, into the Integer type.

Parameters
type:Object

The;@link IType} to possibly convert

Returns:IType

The given type if it's not the primitive int or the;@link IType} for the class Integer

Annotations
@Override
toShortTypeback to summary
public IType toShortType(Object type)

Implements org.eclipse.persistence.jpa.jpql.ITypeHelper.toShortType.

Doc from org.eclipse.persistence.jpa.jpql.ITypeHelper.toShortType.

Converts the given;@link IType}, if it's the primitive short, into the Short type.

Parameters
type:Object

The;@link IType} to possibly convert

Returns:IType

The given type if it's not the primitive short or the;@link IType} for the class Short

Annotations
@Override
unknownTypeback to summary
public IType unknownType()

Implements org.eclipse.persistence.jpa.jpql.ITypeHelper.unknownType.

Doc from org.eclipse.persistence.jpa.jpql.ITypeHelper.unknownType.

Retrieves the;@link IType} that represents an unknown type.

Returns:IType

The external form of an unknown type

Annotations
@Override
unknownTypeDeclarationback to summary
public ITypeDeclaration unknownTypeDeclaration()

Implements org.eclipse.persistence.jpa.jpql.ITypeHelper.unknownTypeDeclaration.

Doc from org.eclipse.persistence.jpa.jpql.ITypeHelper.unknownTypeDeclaration.

Returns the;@link Object } for the;@link IType} representing an unknown type.

Returns:ITypeDeclaration

The;@link Object } of the unknown type

Annotations
@Override