|
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 it| Method Detail |
|---|
public IType bigDecimal()
bigDecimal in interface ITypeHelperBigDecimal classpublic IType bigInteger()
bigInteger in interface ITypeHelperBigInteger classpublic IType booleanType()
booleanType in interface ITypeHelperBoolean classpublic IType byteType()
byteType in interface ITypeHelperByte classpublic IType characterType()
characterType in interface ITypeHelperCharacter classpublic IType collectionType()
collectionType in interface ITypeHelperCollection classpublic IType convertPrimitive(java.lang.Object type)
convertPrimitive in interface ITypeHelpertype - Type to possibly convert from the primitive into the class
public IType dateType()
dateType in interface ITypeHelperDate classpublic IType doubleType()
doubleType in interface ITypeHelperDouble classpublic IType enumType()
enumType in interface ITypeHelperEnum classpublic IType floatType()
floatType in interface ITypeHelperFloat classpublic IType getType(java.lang.Class<?> type)
getType in interface ITypeHelpertype - The Java type for which its external form will be returned
public IType getType(java.lang.String typeName)
getType in interface ITypeHelpertypeName - The fully qualified class name of the class to retrieve
public IType integerType()
integerType in interface ITypeHelperInteger classpublic boolean isBooleanType(java.lang.Object type)
isBooleanType in interface ITypeHelpertype - 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 ITypeHelpertype - 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 ITypeHelpertype - 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 ITypeHelpertype - 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 ITypeHelpertype - 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 ITypeHelpertype - 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 ITypeHelpertype - 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 ITypeHelpertype - 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 ITypeHelpertype - 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 ITypeHelpertype - 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 ITypeHelpertype - The type to check it's assignability
true if the given;@link IType} represents the String class;
false otherwisepublic IType longType()
longType in interface ITypeHelperLong classpublic IType longType(java.lang.Object type)
longType in interface ITypeHelpertype - The;@link IType} to possibly convert
Longpublic IType mapType()
mapType in interface ITypeHelperMap classpublic IType numberType()
numberType in interface ITypeHelperNumber classpublic IType objectType()
objectType in interface ITypeHelperObject classpublic ITypeDeclaration objectTypeDeclaration()
objectTypeDeclaration in interface ITypeHelperObject classpublic IType primitiveBoolean()
primitiveBoolean in interface ITypeHelperpublic IType primitiveByte()
primitiveByte in interface ITypeHelperpublic IType primitiveChar()
primitiveChar in interface ITypeHelperpublic IType primitiveDouble()
primitiveDouble in interface ITypeHelperpublic IType primitiveFloat()
primitiveFloat in interface ITypeHelperpublic IType primitiveInteger()
primitiveInteger in interface ITypeHelperpublic IType primitiveLong()
primitiveLong in interface ITypeHelperpublic IType primitiveShort()
primitiveShort in interface ITypeHelperpublic IType shortType()
shortType in interface ITypeHelperShort classpublic IType stringType()
stringType in interface ITypeHelperString classpublic IType timestampType()
timestampType in interface ITypeHelperTimestamp classpublic IType toBooleanType(java.lang.Object type)
toBooleanType in interface ITypeHelpertype - The;@link IType} to possibly convert
Booleanpublic IType toByteType(java.lang.Object type)
toByteType in interface ITypeHelpertype - The;@link IType} to possibly convert
Bytepublic IType toDoubleType(java.lang.Object type)
toDoubleType in interface ITypeHelpertype - The;@link IType} to possibly convert
Doublepublic IType toFloatType(java.lang.Object type)
toFloatType in interface ITypeHelpertype - The;@link IType} to possibly convert
Floatpublic IType toIntegerType(java.lang.Object type)
toIntegerType in interface ITypeHelpertype - The;@link IType} to possibly convert
Integerpublic IType toShortType(java.lang.Object type)
toShortType in interface ITypeHelpertype - The;@link IType} to possibly convert
Shortpublic IType unknownType()
unknownType in interface ITypeHelperpublic 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 | ||||||||