public abstract class MetadataTarget extends Object
Constructor and Description |
---|
MetadataTarget() |
Modifier and Type | Method and Description |
---|---|
abstract PropertyDescriptor |
getProperty(String name)
Return a beans
|
abstract Class |
getPropertyType(String name)
Return a |
abstract Method |
getReadMethod(String name)
Return a |
abstract Class |
getTargetClass()
Return the |
abstract Method |
getWriteMethod(String name)
Return a |
abstract boolean |
isTargetInstanceOf(Class type)
Return true if the target for this metadata
element is an instance of the argument |
public abstract PropertyDescriptor getProperty(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.PropertyDescriptor
.public abstract boolean isTargetInstanceOf(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 Class getTargetClass()
Return the Class
of the
metadata target.
public abstract Class getPropertyType(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 Method getWriteMethod(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.Method
.Copyright © 2019 Eclipse Foundation.
Use is subject to license terms.