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:
org.apache.jdo.model.java.JavaElement, org.apache.jdo.model.java.JavaType

public class EnhancerJavaType
extends org.apache.jdo.impl.model.java.reflection.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.reflection.ReflectionJavaType
declaredJavaFields, declaredJavaProperties, declaringJavaModel
 
Fields inherited from class org.apache.jdo.impl.model.java.BaseReflectionJavaType
clazz, superclass
 
Constructor Summary
EnhancerJavaType(java.lang.Class clazz, EnhancerJavaModel declaringJavaModel)
          Creates an instance.
 
Method Summary
 org.apache.jdo.model.java.JavaType getJavaTypeForClass(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
createJavaMethod, createJavaProperty, getArrayComponentType, getDeclaredJavaField, getDeclaredJavaFields, getDeclaredJavaProperties, getDeclaredJavaProperty, getJavaField, getJavaProperty, getJDOClass, getSuperclass, introspectClass, isArray, isPersistenceCapable, newJavaFieldInstance, newJavaFieldInstance, newJavaMethodInstance, newJavaPropertyInstance
 
Methods inherited from class org.apache.jdo.impl.model.java.BaseReflectionJavaType
getJavaClass, getModifiers, getName, getUnderlyingObject, 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,
                        EnhancerJavaModel declaringJavaModel)
Creates an instance.

Method Detail

getJavaTypeForClass

public org.apache.jdo.model.java.JavaType getJavaTypeForClass(java.lang.Class clazz)
Returns a JavaType instance for the specified Class object.

This implementation delegates the call to the declaringJavaModel.

Overrides:
getJavaTypeForClass in class org.apache.jdo.impl.model.java.reflection.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.