|
EclipseLink 2.4.2, build 'v20130514-5956486' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.persistence.jpa.jpql.GenericTypeHelper
public class GenericTypeHelper
This generic implementation of ITypeHelper
wraps ITypeHelper
and delegates the
calls to it.
Constructor Summary | |
---|---|
GenericTypeHelper(TypeHelper delegate)
Creates a new GenericTypeHelper . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GenericTypeHelper(TypeHelper delegate)
GenericTypeHelper
.
delegate
- The TypeHelper
that is wrapped by this one and all the calls are
delegated to itMethod Detail |
---|
public IType bigDecimal()
bigDecimal
in interface ITypeHelper
BigDecimal
classpublic IType bigInteger()
bigInteger
in interface ITypeHelper
BigInteger
classpublic IType booleanType()
booleanType
in interface ITypeHelper
Boolean
classpublic IType byteType()
byteType
in interface ITypeHelper
Byte
classpublic IType characterType()
characterType
in interface ITypeHelper
Character
classpublic IType collectionType()
collectionType
in interface ITypeHelper
Collection
classpublic IType convertPrimitive(java.lang.Object type)
convertPrimitive
in interface ITypeHelper
type
- Type to possibly convert from the primitive into the class
public IType dateType()
dateType
in interface ITypeHelper
Date
classpublic IType doubleType()
doubleType
in interface ITypeHelper
Double
classpublic IType enumType()
enumType
in interface ITypeHelper
Enum
classpublic IType floatType()
floatType
in interface ITypeHelper
Float
classpublic IType getType(java.lang.Class<?> type)
getType
in interface ITypeHelper
type
- The Java type for which its external form will be returned
public IType getType(java.lang.String typeName)
getType
in interface ITypeHelper
typeName
- The fully qualified class name of the class to retrieve
public IType integerType()
integerType
in interface ITypeHelper
Integer
classpublic boolean isBooleanType(java.lang.Object type)
isBooleanType
in interface ITypeHelper
type
- The type to check it's assignability
true
if the given;@link IType} is a;@link Boolean}; false
otherwisepublic boolean isCollectionType(java.lang.Object type)
isCollectionType
in interface ITypeHelper
type
- The type to check it's assignability
true
if the given;@link IType} is an instance of;@link Collection};
false
otherwisepublic boolean isDateType(java.lang.Object type)
isDateType
in interface ITypeHelper
type
- The type to check it's assignability
true
if the given;@link IType} is a;@link Date},;@link Timestamp} or
;@link Calendar}public boolean isEnumType(java.lang.Object type)
isEnumType
in interface ITypeHelper
type
- The type to check it's assignability
true
if the given;@link IType} is an instance of;@link Enum};
false
otherwisepublic boolean isFloatingType(java.lang.Object type)
isFloatingType
in interface ITypeHelper
type
- The type to check it's assignability
true
if the given;@link IType} is a floating type; false
otherwisepublic boolean isIntegralType(java.lang.Object type)
isIntegralType
in interface ITypeHelper
type
- The type to check it's assignability
true
if the given;@link IType} is a integral type; false
otherwisepublic boolean isMapType(java.lang.Object type)
isMapType
in interface ITypeHelper
type
- The type to check it's assignability
true
if the given;@link IType} is an instance of;@link Map};
false
otherwisepublic boolean isNumericType(java.lang.Object type)
isNumericType
in interface ITypeHelper
type
- The type to check it's assignability
true
if the given;@link IType} is an instance of;@link Numeric};
false
otherwisepublic boolean isObjectType(java.lang.Object type)
isObjectType
in interface ITypeHelper
type
- The type to check it's assignability
true
if the given;@link IType} is the external form of;@link Object}public boolean isPrimitiveType(java.lang.Object type)
isPrimitiveType
in interface ITypeHelper
type
- The type to check it's assignability
true
if the given;@link IType} represents a primitive; false
otherwisepublic boolean isStringType(java.lang.Object type)
isStringType
in interface ITypeHelper
type
- The type to check it's assignability
true
if the given;@link IType} represents the String
class;
false
otherwisepublic IType longType()
longType
in interface ITypeHelper
Long
classpublic IType longType(java.lang.Object type)
longType
in interface ITypeHelper
type
- The;@link IType} to possibly convert
Long
public IType mapType()
mapType
in interface ITypeHelper
Map
classpublic IType numberType()
numberType
in interface ITypeHelper
Number
classpublic IType objectType()
objectType
in interface ITypeHelper
Object
classpublic ITypeDeclaration objectTypeDeclaration()
objectTypeDeclaration
in interface ITypeHelper
Object
classpublic IType primitiveBoolean()
primitiveBoolean
in interface ITypeHelper
public IType primitiveByte()
primitiveByte
in interface ITypeHelper
public IType primitiveChar()
primitiveChar
in interface ITypeHelper
public IType primitiveDouble()
primitiveDouble
in interface ITypeHelper
public IType primitiveFloat()
primitiveFloat
in interface ITypeHelper
public IType primitiveInteger()
primitiveInteger
in interface ITypeHelper
public IType primitiveLong()
primitiveLong
in interface ITypeHelper
public IType primitiveShort()
primitiveShort
in interface ITypeHelper
public IType shortType()
shortType
in interface ITypeHelper
Short
classpublic IType stringType()
stringType
in interface ITypeHelper
String
classpublic IType timestampType()
timestampType
in interface ITypeHelper
Timestamp
classpublic IType toBooleanType(java.lang.Object type)
toBooleanType
in interface ITypeHelper
type
- The;@link IType} to possibly convert
Boolean
public IType toByteType(java.lang.Object type)
toByteType
in interface ITypeHelper
type
- The;@link IType} to possibly convert
Byte
public IType toDoubleType(java.lang.Object type)
toDoubleType
in interface ITypeHelper
type
- The;@link IType} to possibly convert
Double
public IType toFloatType(java.lang.Object type)
toFloatType
in interface ITypeHelper
type
- The;@link IType} to possibly convert
Float
public IType toIntegerType(java.lang.Object type)
toIntegerType
in interface ITypeHelper
type
- The;@link IType} to possibly convert
Integer
public IType toShortType(java.lang.Object type)
toShortType
in interface ITypeHelper
type
- The;@link IType} to possibly convert
Short
public IType unknownType()
unknownType
in interface ITypeHelper
public ITypeDeclaration unknownTypeDeclaration()
unknownTypeDeclaration
in interface ITypeHelper
|
EclipseLink 2.4.2, build 'v20130514-5956486' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |