org.apache.jdo.impl.enhancer.meta.model
Class EnhancerJavaType

java.lang.Object
  extended by org.apache.jdo.impl.model.java.AbstractJavaType
      extended by org.apache.jdo.impl.model.java.BaseReflectionJavaType
          extended by org.apache.jdo.impl.model.java.reflection.ReflectionJavaType
              extended by org.apache.jdo.impl.enhancer.meta.model.EnhancerJavaType
All Implemented Interfaces:
JavaType

public class EnhancerJavaType
extends ReflectionJavaType

Provides some basic Java type information based on JVM descriptors.

Since:
JDO 1.0.1
Author:
Michael Bouschen

Field Summary
 
Fields inherited from class org.apache.jdo.impl.model.java.BaseReflectionJavaType
clazz, superclass
 
Constructor Summary
EnhancerJavaType(java.lang.Class clazz, JDOModel jdoModel, JavaModel javaModel)
          Creates an instance.
 
Method Summary
protected  JavaType getJavaTypeInternal(java.lang.Class clazz)
          Returns a JavaType instance for the specified Class object.
 
Methods inherited from class org.apache.jdo.impl.model.java.reflection.ReflectionJavaType
createJavaField, getArrayComponentType, getDeclaredJavaField, getJavaField, getJDOClass, getSuperclass, isArray, isPersistenceCapable
 
Methods inherited from class org.apache.jdo.impl.model.java.BaseReflectionJavaType
getJavaClass, getModifiers, getName, isCompatibleWith, isInterface
 
Methods inherited from class org.apache.jdo.impl.model.java.AbstractJavaType
equals, hashCode, isFloatingPoint, isIntegral, isJDOSupportedCollection, isJDOSupportedMap, isOrderable, isPrimitive, isTrackable, isValue, isWrapperClass, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EnhancerJavaType

public EnhancerJavaType(java.lang.Class clazz,
                        JDOModel jdoModel,
                        JavaModel javaModel)
Creates an instance.

Method Detail

getJavaTypeInternal

protected JavaType getJavaTypeInternal(java.lang.Class clazz)
Returns a JavaType instance for the specified Class object.

This implementation delegates the call to the javaModel.

Specified by:
getJavaTypeInternal in class ReflectionJavaType
Parameters:
clazz - the Class instance representing the type
Returns:
a JavaType instance for the name of the specified class object or null if not present in this model instance.


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