public class TaskData extends Object implements ITaskData, IContentProvider
ITaskData
and IContentProvider
.Modifier and Type | Field and Description |
---|---|
protected List<String> |
m_propertyKeyList |
Constructor and Description |
---|
TaskData() |
Modifier and Type | Method and Description |
---|---|
static PropertyDescriptor[] |
getPropertyDescriptors(Class<?> instanceClass)
Returns property descriptor list for a given object class
selected object instance.
|
protected List |
getPropertyKeyList() |
Object[] |
getPropertyKeys()
Returns list of properties supported by this content provider.
|
Class<?> |
getType(Object propertyKey)
Returns java type of the given property
|
Object |
getValue(Object propertyKey)
Returns value of the given property
|
boolean |
hasProperty(Object propertyKey)
Checks if the given property is supported by this content provider
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
toString
public Object[] getPropertyKeys()
Object[0]
,
never null.getPropertyKeys
in interface IContentProvider
String
or Integer
public Class<?> getType(Object propertyKey) throws PropertyNotFoundException
getType
in interface IContentProvider
propertyKey
- the property key of type String
or Integer
Class
PropertyNotFoundException
- if property is not supportedpublic Object getValue(Object propertyKey) throws EvaluationException, PropertyNotFoundException
getValue
in interface IContentProvider
propertyKey
- the property key of type String
or Integer
null
EvaluationException
- if error during property evaluationPropertyNotFoundException
- if property is not supportedpublic boolean hasProperty(Object propertyKey)
hasProperty
in interface IContentProvider
propertyKey
- property key of type String
or Integer
true
if property is supportedprotected List getPropertyKeyList()
public static PropertyDescriptor[] getPropertyDescriptors(Class<?> instanceClass)
instanceClass
-