public class JDK5RuntimeJavaType extends RuntimeJavaType
java.lang.Class and
java.lang.reflect.Field instances to get Java related
metadata about types and fields.| Constructor and Description |
|---|
JDK5RuntimeJavaType(java.lang.Class clazz,
JDK5RuntimeJavaModel javaModel)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.jdo.model.java.JavaField |
newJavaFieldInstance(java.lang.reflect.Field field)
Creates a new instance of the JavaField implementation class.
|
protected org.apache.jdo.model.java.JavaField |
newJavaFieldInstance(java.lang.String name,
org.apache.jdo.model.java.JavaType type)
Creates a new instance of the JavaField implementation class.
|
protected org.apache.jdo.model.java.JavaProperty |
newJavaPropertyInstance(java.lang.String name,
org.apache.jdo.model.java.JavaMethod getter,
org.apache.jdo.model.java.JavaMethod setter,
org.apache.jdo.model.java.JavaType type)
Creates a new instance of the JavaProperty implementation class.
|
createJavaFieldcreateJavaMethod, createJavaProperty, getArrayComponentType, getDeclaredJavaField, getDeclaredJavaFields, getDeclaredJavaProperties, getDeclaredJavaProperty, getJavaField, getJavaProperty, getJavaTypeForClass, getJDOClass, getSuperclass, introspectClass, isArray, isPersistenceCapable, newJavaMethodInstancegetJavaClass, getModifiers, getName, getUnderlyingObject, isCompatibleWith, isInterfacepublic JDK5RuntimeJavaType(java.lang.Class clazz,
JDK5RuntimeJavaModel javaModel)
protected org.apache.jdo.model.java.JavaField newJavaFieldInstance(java.lang.String name,
org.apache.jdo.model.java.JavaType type)
This implementation returns a JDK5RuntimeJavaField
instance.
newJavaFieldInstance in class org.apache.jdo.impl.model.java.reflection.ReflectionJavaTypeprotected org.apache.jdo.model.java.JavaField newJavaFieldInstance(java.lang.reflect.Field field)
This implementation returns a ReflectionJavaField
instance.
newJavaFieldInstance in class org.apache.jdo.impl.model.java.reflection.ReflectionJavaTypeprotected org.apache.jdo.model.java.JavaProperty newJavaPropertyInstance(java.lang.String name,
org.apache.jdo.model.java.JavaMethod getter,
org.apache.jdo.model.java.JavaMethod setter,
org.apache.jdo.model.java.JavaType type)
This implementation returns a JavaPropertyImpl
instance.
newJavaPropertyInstance in class org.apache.jdo.impl.model.java.reflection.ReflectionJavaTypeCopyright © 2005-2012 Apache Software Foundation. All Rights Reserved.