org.apache.jdo.impl.model.java.runtime
Class RuntimeJavaType
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.model.java.runtime.RuntimeJavaType
- All Implemented Interfaces:
- JavaType
- public class RuntimeJavaType
- extends ReflectionJavaType
/**
A reflection based JavaType implementation used at runtime.
The implementation takes java.lang.Class
and
java.lang.reflect.Field
instances to get Java related
metadata about types and fields.
- 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 |
RuntimeJavaType
public RuntimeJavaType(java.lang.Class clazz,
JDOModel jdoModel)
- Constructor.
getJavaTypeInternal
protected JavaType getJavaTypeInternal(java.lang.Class clazz)
- Returns a JavaType instance for the specified Class object.
This method provides a hook such that RuntimeJavaType subclasses can
implement their own mapping of Class objects to JavaType instances.
This implementation delegates the call to the javaModelFactory.
- 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 Apache Software Foundation. All Rights Reserved.