public class JDK5RuntimeJavaProperty
extends org.apache.jdo.impl.model.java.JavaPropertyImpl
| Constructor and Description |
|---|
JDK5RuntimeJavaProperty(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,
org.apache.jdo.model.java.JavaType declaringClass) |
| 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.
|
org.apache.jdo.model.java.JavaType |
getJavaTypeForClass(java.lang.Class clazz)
Returns a JavaType instance for the specified Class object.
|
getGetterMethod, getModifiers, getSetterMethod, getType, getUnderlyingObjectequals, getDeclaringClass, getName, hashCode, toStringpublic JDK5RuntimeJavaProperty(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,
org.apache.jdo.model.java.JavaType declaringClass)
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.AbstractJavaMemberpublic org.apache.jdo.model.java.JavaType getJavaTypeForClass(java.lang.Class clazz)
Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.