org.apache.jdo.impl.enhancer.meta.model
Class EnhancerJavaType
java.lang.Object
org.apache.jdo.impl.model.java.AbstractJavaType
org.apache.jdo.impl.model.java.BaseReflectionJavaType
org.apache.jdo.impl.model.java.reflection.ReflectionJavaType
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
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.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 |
javaModel
private JavaModel javaModel
- The declaring EnhancerJavaModel instance.
EnhancerJavaType
public EnhancerJavaType(java.lang.Class clazz,
JDOModel jdoModel,
JavaModel javaModel)
- Creates an instance.
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.