Uses of Interface
org.apache.jdo.model.java.JavaType

Packages that use JavaType
org.apache.jdo.impl.enhancer.meta.model   
org.apache.jdo.impl.jdoql.jdoqlc   
org.apache.jdo.impl.jdoql.scope   
org.apache.jdo.impl.model.java This package contains classes that are for use across all kinds of JavaModel implementations. 
org.apache.jdo.impl.model.java.reflection   
org.apache.jdo.impl.model.java.runtime This package contains a runtime specific JavaModel implementation based on reflection. 
org.apache.jdo.impl.model.jdo This package contains classes that implement the JDO model interfaces and provide access to JDO metadata. 
org.apache.jdo.impl.model.jdo.caching   
org.apache.jdo.impl.model.jdo.util   
org.apache.jdo.model.java This package defines the JavaModel API. 
org.apache.jdo.model.jdo This package defines the JDOModel API. 
 

Uses of JavaType in org.apache.jdo.impl.enhancer.meta.model
 

Classes in org.apache.jdo.impl.enhancer.meta.model that implement JavaType
 class EnhancerJavaType
          Provides some basic Java type information based on JVM descriptors.
 

Methods in org.apache.jdo.impl.enhancer.meta.model that return JavaType
protected  JavaType EnhancerJavaType.getJavaTypeInternal(java.lang.Class clazz)
          Returns a JavaType instance for the specified Class object.
protected  JavaType EnhancerJavaModel.createJavaType(java.lang.Class clazz)
          Creates a new JavaType instance for the specified Class object.
 

Uses of JavaType in org.apache.jdo.impl.jdoql.jdoqlc
 

Fields in org.apache.jdo.impl.jdoql.jdoqlc declared as JavaType
protected  JavaType JDOQLAST.typeInfo
          The type info
protected  JavaType Semantic.candidateClass
          Candidate class.
 

Methods in org.apache.jdo.impl.jdoql.jdoqlc that return JavaType
 JavaType JDOQLAST.getTypeInfo()
           
 JavaType TypeSupport.checkType(java.lang.String name)
          Returns the JavaType representation for the type with the specified name.
 JavaType TypeSupport.checkType(java.lang.Class clazz)
          Checks for the Java Type with the specified class object.
static JavaType TypeSupport.binaryNumericPromotion(JavaType left, JavaType right)
          Implements binary numeric promotion as defined in the Java Language Specification section 5.6.2
static JavaType TypeSupport.unaryNumericPromotion(JavaType type)
          Implements unray numeric promotion as defined in the Java Language Specification section 5.6.1
static JavaType TypeSupport.getElementType(JavaField field)
           
protected  JavaType Semantic.analyseBitwiseExpr(JDOQLAST op, JDOQLAST leftAST, JDOQLAST rightAST)
          Analyses a bitwise/logical operation (&, |, ^)
protected  JavaType Semantic.analyseConditionalExpr(JDOQLAST op, JDOQLAST leftAST, JDOQLAST rightAST)
          Analyses a boolean conditional operation (&&, ||)
protected  JavaType Semantic.getCommonOperandType(JavaType left, JavaType right)
          Returns the common type info for the specified operand types.
protected  JavaType Semantic.analyseUnaryArithmeticExprType(JDOQLAST op, JDOQLAST argAST)
          Analyses a unary expression + and -
protected  JavaType Semantic.analyseComplementExprType(JDOQLAST op, JDOQLAST argAST)
          Analyses a complement expression.
 

Methods in org.apache.jdo.impl.jdoql.jdoqlc with parameters of type JavaType
 void JDOQLAST.initialize(int type, java.lang.String text, JavaType typeInfo)
           
 void JDOQLAST.setTypeInfo(JavaType typeInfo)
           
static JavaType TypeSupport.binaryNumericPromotion(JavaType left, JavaType right)
          Implements binary numeric promotion as defined in the Java Language Specification section 5.6.2
static JavaType TypeSupport.unaryNumericPromotion(JavaType type)
          Implements unray numeric promotion as defined in the Java Language Specification section 5.6.1
static java.lang.Class TypeSupport.getJavaClass(JavaType type)
          Returns the java.lang.Class instance for the specified type.
static boolean TypeSupport.isBooleanType(JavaType type)
          Returns true if the specified type is boolean or java.lang.Boolean.
static boolean TypeSupport.isCharType(JavaType type)
          Returns true if the specified type is char or java.lang.Character
static boolean TypeSupport.isIntegralType(JavaType type)
          Returns true if the specified type is an interal type or a Java wrapper class for an interal type.
static boolean TypeSupport.isNumberType(JavaType type)
          Returns true if specified type is a number type:
a numeric primitive
a numeric wrapper class
java.math.BigDecimal, java.math.BigInteger.
static boolean TypeSupport.isNumericWrapperClassType(JavaType type)
          Returns true if the specified type is a Java wrapper class type for a numeric primitive type.
static boolean TypeSupport.isNumericType(JavaType type)
          Returns true if the specified type is a either a integral or a floating point type.
static boolean TypeSupport.isMathType(JavaType type)
          Returns true if the specified type is either java.math.BigDecimal or java.math.BigInteger.
protected  JDOQLAST Semantic.analyseFieldAccess(JDOQLAST objectExpr, JDOQLAST ident, JavaType classType, JavaField javaField)
           
protected  JDOQLAST Semantic.analyseStaticFieldAccess(JDOQLAST typename, JDOQLAST ident, JavaType classType, JavaField javaField)
           
protected  JDOQLAST Semantic.addCharacterCast(JDOQLAST ast, JavaType common)
          The query runtime has a problem with binary or relational expressions having an operand of type char or Character.
protected  JavaType Semantic.getCommonOperandType(JavaType left, JavaType right)
          Returns the common type info for the specified operand types.
 

Constructors in org.apache.jdo.impl.jdoql.jdoqlc with parameters of type JavaType
JDOQLAST(int type, java.lang.String text, JavaType typeInfo)
           
 

Uses of JavaType in org.apache.jdo.impl.jdoql.scope
 

Methods in org.apache.jdo.impl.jdoql.scope that return JavaType
 JavaType TypeNames.resolve(java.lang.String name)
          Resolves a type name.
 

Uses of JavaType in org.apache.jdo.impl.model.java
 

Classes in org.apache.jdo.impl.model.java that implement JavaType
 class AbstractJavaType
          Abstract super class for JavaType implementations.
 class BaseReflectionJavaType
          This class provides a basic JavaType implementation using a reflection Class instance.
 class ErrorType
          An instance of class ErrorType represents an erroneous type.
 class FloatingPointType
          A FloatingPointType instance represents a floating point type as defined in the Java language.
 class IntegralType
          A IntegralType instance represents an integral type as defined in the Java language.
 class JDOSupportedCollectionType
          A JDOSupportedCollectionType instance represents a JDO supported collection type.
 class JDOSupportedMapType
          A JDOSupportedMapType instance represents a JDO supported map type.
 class MutableValueClassType
          A MutableValueClassType instance represents a mutable class whoses values may be treated as values rather than refernces during storing.
 class NullType
          An instance of class NullType represents the type of the null expression in Java.
 class PredefinedType
          Instances of this class represent a type that is not a persistence capable class, but is known by JDO.
 class PrimitiveType
          A PrimitiveType instance represents a primitive type as defined in the Java language.
 class ValueClassType
          A ValueClassType instance represents a class whoses values may be treated as values rather than refernces during storing.
 class WrapperClassType
          A WrapperClassType instance represents a Java wrapper class type.
 

Fields in org.apache.jdo.impl.model.java declared as JavaType
protected  JavaType BaseReflectionJavaField.type
          The type of the field.
protected  JavaType BaseReflectionJavaType.superclass
          The superclass JavaType.
 

Methods in org.apache.jdo.impl.model.java that return JavaType
 JavaType AbstractJavaType.getSuperclass()
           
 JavaType AbstractJavaType.getArrayComponentType()
           
abstract  JavaType AbstractJavaField.getType()
          Returns the JavaType representation of the field type.
 JavaType AbstractJavaField.getDeclaringClass()
          Returns the JavaType instance representing the class or interface that declares the field represented by this JavaField instance.
 JavaType BaseReflectionJavaField.getType()
          Returns the JavaType representation of the field type.
 JavaType BaseReflectionJavaType.getSuperclass()
          Returns the JavaType representing the superclass of the entity represented by this JavaType.
abstract  JavaType AbstractJavaModel.getJavaType(java.lang.String name)
          The method returns the JavaType instance for the specified type name.
 JavaType AbstractJavaModel.getJavaType(java.lang.Class clazz)
          The method returns the JavaType instance for the type name of the specified class object.
 JavaType AbstractJavaModelFactory.getJavaType(java.lang.Object typeDesc)
          Returns a JavaType instance for the specified type description (optional operation).
static JavaType PredefinedType.getPredefinedType(java.lang.String name)
          Returns the JavaType instance for a predefined type with the specified name.
 

Methods in org.apache.jdo.impl.model.java with parameters of type JavaType
 boolean AbstractJavaType.isCompatibleWith(JavaType javaType)
           
 boolean ErrorType.isCompatibleWith(JavaType javaType)
          Returns true if this JavaType is compatible with the specified JavaType.
 boolean BaseReflectionJavaType.isCompatibleWith(JavaType javaType)
          Returns true if this JavaType is compatible with the specified JavaType.
 boolean NullType.isCompatibleWith(JavaType javaType)
          Returns true if this JavaType is compatible with the specified JavaType.
 

Constructors in org.apache.jdo.impl.model.java with parameters of type JavaType
JDOSupportedMapType(java.lang.Class clazz, JavaType superclass)
          Constructor for JDOSupportedMap types having a superclass.
AbstractJavaField(java.lang.String name, JavaType declaringClass)
          Constructor setting the name and declaringClass property.
JDOSupportedCollectionType(java.lang.Class clazz, JavaType superclass)
          Constructor for JDOSupportedCollection types having a superclass.
MutableValueClassType(java.lang.Class clazz, JavaType superclass, boolean orderable)
          Constructor.
BaseReflectionJavaField(java.lang.reflect.Field field, JavaType declaringClass)
          Constructor taking a reflection field representation.
BaseReflectionJavaField(java.lang.String fieldName, JavaType declaringClass)
          Constructor taking the field name.
BaseReflectionJavaType(java.lang.Class clazz, JavaType superclass)
          Constructor.
ValueClassType(java.lang.Class clazz, JavaType superclass, boolean orderable)
          Constructor.
WrapperClassType(java.lang.Class clazz, JavaType superclass, boolean orderable)
           
PredefinedType(java.lang.Class clazz, JavaType superclass)
          Constructor taking a Class instance and a JavaType representing the superclass of the new JavaType instance.
 

Uses of JavaType in org.apache.jdo.impl.model.java.reflection
 

Classes in org.apache.jdo.impl.model.java.reflection that implement JavaType
 class ReflectionJavaType
          /** A reflection based JavaType implementation used at runtime.
 

Methods in org.apache.jdo.impl.model.java.reflection that return JavaType
 JavaType ReflectionJavaField.getType()
          Returns the JavaType representation of the field type.
protected  JavaType ReflectionJavaField.getJavaTypeInternal(java.lang.Class clazz)
          Returns a JavaType instance for the specified Class object.
 JavaType ReflectionJavaModel.getJavaType(java.lang.String name)
          The method returns the JavaType instance for the specified type name.
 JavaType ReflectionJavaModel.getJavaType(java.lang.Class clazz)
          The method returns the JavaType instance for the type name of the specified class object.
 JavaType ReflectionJavaModel.getJavaTypeInternal(java.lang.Class clazz)
          The method returns the JavaType instance for the type name of the specified class object.
protected abstract  JavaType ReflectionJavaModel.createJavaType(java.lang.Class clazz)
          Creates a new JavaType instance for the specified Class object.
 JavaType ReflectionJavaType.getSuperclass()
          Returns the JavaType representing the superclass of the entity represented by this JavaType.
 JavaType ReflectionJavaType.getArrayComponentType()
          Returns the JavaType representing the component type of an array.
protected abstract  JavaType ReflectionJavaType.getJavaTypeInternal(java.lang.Class clazz)
          Returns a JavaType instance for the specified Class object.
 

Methods in org.apache.jdo.impl.model.java.reflection with parameters of type JavaType
 JavaField ReflectionJavaType.createJavaField(JDOField jdoField, JavaType type)
          RegisterClassListener calls this method to create a ReflectionJavaField instance when processing the enhancer generated metadata.
 

Constructors in org.apache.jdo.impl.model.java.reflection with parameters of type JavaType
ReflectionJavaField(java.lang.reflect.Field field, JavaType declaringClass)
          Constructor for fields w/o JDO metadata.
ReflectionJavaField(JDOField jdoField, JavaType declaringClass)
          Constructor for fields having JDO metadata.
ReflectionJavaField(JDOField jdoField, JavaType type, JavaType declaringClass)
          Constructor for fields having JDO metadata.
 

Uses of JavaType in org.apache.jdo.impl.model.java.runtime
 

Classes in org.apache.jdo.impl.model.java.runtime that implement JavaType
 class RuntimeJavaType
          /** A reflection based JavaType implementation used at runtime.
 

Methods in org.apache.jdo.impl.model.java.runtime that return JavaType
protected  JavaType RuntimeJavaType.getJavaTypeInternal(java.lang.Class clazz)
          Returns a JavaType instance for the specified Class object.
 JavaType RuntimeJavaModel.getJavaType(java.lang.String name)
          The method returns the JavaType instance for the specified type name.
 JavaType RuntimeJavaModel.getJavaType(java.lang.Class clazz)
          The method returns the JavaType instance for the type name of the specified class object.
protected  JavaType RuntimeJavaModel.createJavaType(java.lang.Class clazz)
          Creates a new JavaType instance for the specified Class object.
 JavaType RuntimeJavaModelFactory.getJavaType(java.lang.Object typeDesc)
          Returns a JavaType instance for the specified type description (optional operation).
 

Methods in org.apache.jdo.impl.model.java.runtime with parameters of type JavaType
 java.lang.Class RuntimeJavaModelFactory.getJavaClass(JavaType javaType)
          Returns the java.lang.Class wrapped in the specified JavaType.
 

Uses of JavaType in org.apache.jdo.impl.model.jdo
 

Fields in org.apache.jdo.impl.model.jdo declared as JavaType
protected  JavaType JDOMapImplDynamic.keyType
          Property keyType.
protected  JavaType JDOMapImplDynamic.valueType
          Property valueType.
protected  JavaType JDOClassImplDynamic.objectIdClass
          Property objectIdClass.
protected  JavaType JDOClassImplDynamic.javaType
          Property javaType.
protected  JavaType JDOCollectionImplDynamic.elementType
          Property elementType.
 

Methods in org.apache.jdo.impl.model.jdo that return JavaType
 JavaType JDOMapImplDynamic.getKeyType()
          Get the type representation of the keys for this JDOMap.
 JavaType JDOMapImplDynamic.getValueType()
          Get the type representation of the values for this JDOMap.
 JavaType JDOArrayImplDynamic.getElementType()
          Get the type representation of the array component type.
 JavaType JDOClassImplDynamic.getObjectIdClass()
          Get the JavaType representation of the object identity class (primary key class) for this JDOClass.
 JavaType JDOClassImplDynamic.getJavaType()
          Provides the JavaType representaion corresponding to this JDOClass.
 JavaType JDOCollectionImplDynamic.getElementType()
          Get the type representation of the collection elements.
 JavaType JDOFieldImplDynamic.getType()
          Get the JavaType representation of the type of the field.
 

Methods in org.apache.jdo.impl.model.jdo with parameters of type JavaType
 JDOClass JDOModelImplDynamic.getJDOClassForObjectIdClass(JavaType objectIdClass)
          This method returns the JDOClass instance that defines the specified type as its objectId class.
 void JDOMapImplDynamic.setKeyType(JavaType keyType)
          Set the type representation of the keys for this JDOMap.
 void JDOMapImplDynamic.setValueType(JavaType valueType)
          Set the type representation of the values for this JDOMap.
 void JDOClassImplDynamic.setObjectIdClass(JavaType objectIdClass)
          Set the JavaType representation of the object identity class (primary key class) for this JDOClass.
 void JDOClassImplDynamic.setJavaType(JavaType javaType)
          Set the JavaType representation corresponding to this JDOClass.
 void JDOCollectionImplDynamic.setElementType(JavaType elementType)
          Set the type representation of the collection elements.
 

Uses of JavaType in org.apache.jdo.impl.model.jdo.caching
 

Methods in org.apache.jdo.impl.model.jdo.caching that return JavaType
 JavaType JDOArrayImplCaching.getElementType()
          Get the type representation of the array component type.
 JavaType JDOMapImplCaching.getKeyType()
          Get the type representation of the keys for this JDOMap.
 JavaType JDOMapImplCaching.getValueType()
          Get the type representation of the values for this JDOMap.
 JavaType JDOCollectionImplCaching.getElementType()
          Get the type representation of the collection elements.
 JavaType JDOClassImplCaching.getObjectIdClass()
          Get the JavaType representation of the object identity class (primary key class) for this JDOClass.
 JavaType JDOClassImplCaching.getJavaType()
          Provides the JavaType representaion corresponding to this JDOClass.
 

Methods in org.apache.jdo.impl.model.jdo.caching with parameters of type JavaType
 JDOClass JDOModelImplCaching.getJDOClassForObjectIdClass(JavaType objectIdClass)
          This method returns the JDOClass instance that defines the specified type as its objectId class.
 

Uses of JavaType in org.apache.jdo.impl.model.jdo.util
 

Methods in org.apache.jdo.impl.model.jdo.util that return JavaType
static JavaType TypeSupport.resolveType(JDOModel jdoModel, java.lang.String typeName, java.lang.String packagePrefix)
          Returns a JavaType representation for the specified type name.
 

Methods in org.apache.jdo.impl.model.jdo.util with parameters of type JavaType
static boolean TypeSupport.isPersistenceFieldType(JavaType type)
          Returns true if the persistence-modifier of a field having the specified type defaults to true.
static boolean TypeSupport.isEmbeddedElementType(JavaType type)
          Returns true if the embedded-element property of a field having the specified type defaults to true.
static boolean TypeSupport.isEmbeddedFieldType(JavaType type)
          Returns true if the embedded property of a field having the specified type defaults to true.
static boolean TypeSupport.isValueArrayType(JavaType type)
          Returns true if the specified type represents an array and its element type is a value type.
 

Uses of JavaType in org.apache.jdo.model.java
 

Methods in org.apache.jdo.model.java that return JavaType
 JavaType JavaModel.getJavaType(java.lang.String name)
          The method returns the JavaType instance for the specified type name.
 JavaType JavaModel.getJavaType(java.lang.Class clazz)
          The method returns the JavaType instance for the type name of the specified class object.
 JavaType JavaModelFactory.getJavaType(java.lang.Object typeDesc)
          Returns a JavaType instance for the specified type description (optional operation).
 JavaType JavaType.getSuperclass()
          Returns the JavaType representing the superclass of the entity represented by this JavaType.
 JavaType JavaType.getArrayComponentType()
          Returns the JavaType representing the component type of an array.
 JavaType JavaField.getType()
          Returns the JavaType representation of the field type.
 JavaType JavaField.getDeclaringClass()
          Returns the JavaType instance representing the class or interface that declares the field represented by this JavaField instance.
 

Methods in org.apache.jdo.model.java with parameters of type JavaType
 boolean JavaType.isCompatibleWith(JavaType javaType)
          Returns true if this JavaType is compatible with the specified JavaType.
 

Uses of JavaType in org.apache.jdo.model.jdo
 

Methods in org.apache.jdo.model.jdo that return JavaType
 JavaType JDOField.getType()
          Get the JavaType representation of the type of the field.
 JavaType JDOCollection.getElementType()
          Get the type representation of the collection elements.
 JavaType JDOMap.getKeyType()
          Get the type representation of the keys for this JDOMap.
 JavaType JDOMap.getValueType()
          Get the type representation of the values for this JDOMap.
 JavaType JDOClass.getObjectIdClass()
          Get the JavaType representation of the object identity class (primary key class) for this JDOClass.
 JavaType JDOClass.getJavaType()
          Provides the JavaType representaion corresponding to this JDOClass.
 JavaType JDOArray.getElementType()
          Get the type representation of the array component type.
 

Methods in org.apache.jdo.model.jdo with parameters of type JavaType
 void JDOCollection.setElementType(JavaType elementType)
          Set the type representation of the collection elements.
 void JDOMap.setKeyType(JavaType keyType)
          Set the type representation of the keys for this JDOMap.
 void JDOMap.setValueType(JavaType valueType)
          Set the type representation of the values for this JDOMap.
 void JDOClass.setObjectIdClass(JavaType objectIdClass)
          Set the JavaType representation of the object identity class (primary key class) for this JDOClass.
 void JDOClass.setJavaType(JavaType javaType)
          Set the JavaType representation corresponding to this JDOClass.
 JDOClass JDOModel.getJDOClassForObjectIdClass(JavaType objectIdClass)
          This method returns the JDOClass instance that defines the specified type as its objectId class.
 



Copyright © 2005-2007 Apache Software Foundation. All Rights Reserved.