public abstract class MetadataTarget
extends java.lang.Object
| Constructor and Description |
|---|
MetadataTarget() |
| Modifier and Type | Method and Description |
|---|---|
abstract java.beans.PropertyDescriptor |
getProperty(java.lang.String name)
Return a beans
|
abstract java.lang.Class |
getPropertyType(java.lang.String name)
Return a
|
abstract java.lang.reflect.Method |
getReadMethod(java.lang.String name)
Return a |
abstract java.lang.Class |
getTargetClass()
Return the |
abstract java.lang.reflect.Method |
getWriteMethod(java.lang.String name)
Return a |
abstract boolean |
isTargetInstanceOf(java.lang.Class type)
Return true if the target for this
metadata element is an instance of the argument
|
public abstract java.beans.PropertyDescriptor getProperty(java.lang.String name)
Return a beans
PropertyDescriptor for the property with name given
by argument name.
name - the name of the property for which the
PropertyDescriptor must be returned.public abstract boolean isTargetInstanceOf(java.lang.Class type)
Return true if the target for this
metadata element is an instance of the argument
type.
type - the Class to test for the instance of.public abstract java.lang.Class getTargetClass()
Return the Class of the
metadata target.
public abstract java.lang.Class getPropertyType(java.lang.String name)
Return a
Class for the property with name given
by argument name.
name - the name of the property for which the
Class must be returned.public abstract java.lang.reflect.Method getWriteMethod(java.lang.String name)
Return a Method for the
setter of the property with name given by argument
name.
name - the name of the property for which the
Method must be returned.public abstract java.lang.reflect.Method getReadMethod(java.lang.String name)
Return a Method for the
getter of the property with name given by argument
name.
name - the name of the property for which the
Method must be returned.Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms