Class TaskData
java.lang.Object
com.webmethods.caf.faces.data.task.impl.TaskData
- All Implemented Interfaces:
IContentProvider
,ITaskData
,ITaskData
,Serializable
TaskData is the concrete implementation of
ITaskData
and IContentProvider
.
NOTE: implements com.webmethods.caf.faces.data.task.ITaskData only for backward compatibility for already existing code- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PropertyDescriptor[]
getPropertyDescriptors
(Class<?> instanceClass) Returns property descriptor list for a given object class selected object instance.Object[]
Returns list of properties supported by this content provider.Class<?>
Returns java type of the given propertyReturns value of the given propertyboolean
hasProperty
(Object propertyKey) Checks if the given property is supported by this content providerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.webmethods.caf.faces.data.IContentProvider
toString
-
Field Details
-
m_propertyKeyList
-
-
Constructor Details
-
TaskData
public TaskData()
-
-
Method Details
-
getPropertyKeys
Returns list of properties supported by this content provider. Can returnObject[0]
, never null.- Specified by:
getPropertyKeys
in interfaceIContentProvider
- Returns:
- array of property keys which is typically of type
String
orInteger
-
getType
Returns java type of the given property- Specified by:
getType
in interfaceIContentProvider
- Parameters:
propertyKey
- the property key of typeString
orInteger
- Returns:
- property java
Class
- Throws:
PropertyNotFoundException
- if property is not supported
-
getValue
Returns value of the given property- Specified by:
getValue
in interfaceIContentProvider
- Parameters:
propertyKey
- the property key of typeString
orInteger
- Returns:
- value of the property, can be
null
- Throws:
PropertyNotFoundException
- if property is not supportedELException
-
hasProperty
Checks if the given property is supported by this content provider- Specified by:
hasProperty
in interfaceIContentProvider
- Parameters:
propertyKey
- property key of typeString
orInteger
- Returns:
true
if property is supported
-
getPropertyKeyList
-
getPropertyDescriptors
Returns property descriptor list for a given object class selected object instance.- Parameters:
instanceClass
-- Returns:
- PropertyDescriptor[] for passed in class
-