public class JDK5RuntimeJavaField
extends org.apache.jdo.impl.model.java.reflection.ReflectionJavaField
| Constructor and Description |
|---|
JDK5RuntimeJavaField(java.lang.reflect.Field field,
org.apache.jdo.model.java.JavaType declaringClass)
Constructor for fields w/o JDO metadata.
|
JDK5RuntimeJavaField(java.lang.String name,
org.apache.jdo.model.java.JavaType type,
org.apache.jdo.model.java.JavaType declaringClass)
Constructor for fields having JDO metadata.
|
| Modifier and Type | Method and Description |
|---|---|
org.apache.jdo.model.java.JavaType |
getComponentType()
Returns the JavaType representation of the component type of the type
of the property, if the property type is an array or collection.
|
getJavaTypeForClass, getTypeensureInitializedField, getDeclaredFieldPrivileged, getDeclaredFieldsPrivileged, getField, getModifiers, getUnderlyingObjectequals, getDeclaringClass, getName, hashCode, toStringpublic JDK5RuntimeJavaField(java.lang.reflect.Field field,
org.apache.jdo.model.java.JavaType declaringClass)
field - the reflection field representation.declaringClass - the JavaType of the class that declares the field.public JDK5RuntimeJavaField(java.lang.String name,
org.apache.jdo.model.java.JavaType type,
org.apache.jdo.model.java.JavaType declaringClass)
name - the name of the field.type - the field type.declaringClass - the JavaType of the class that declares the field.public org.apache.jdo.model.java.JavaType getComponentType()
null, if the property type is not an array
or collection.getComponentType in interface org.apache.jdo.model.java.JavaMembergetComponentType in class org.apache.jdo.impl.model.java.AbstractJavaMemberCopyright © 2005-2012 Apache Software Foundation. All Rights Reserved.