Class PluginDataSourceRetVal
java.lang.Object
de.xima.fc.plugin.models.retval.form.PluginDataSourceRetVal
- All Implemented Interfaces:
IPluginReturnValue
,IPluginDataSourceRetVal
,Serializable
- See Also:
-
Field Summary
Fields inherited from interface de.xima.fc.interfaces.plugin.retval.form.IPluginDataSourceRetVal
TEXT, VALUE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionEach data source consists of a list of items.
-
Constructor Details
-
PluginDataSourceRetVal
-
-
Method Details
-
getJSONArray
Description copied from interface:IPluginDataSourceRetVal
Each data source consists of a list of items. This is the getter for the list of items provided by the corresponding data source plugin. Each item must be aJSONObject
with the following key-value pairs (both strings):IPluginDataSourceRetVal.TEXT
The text that is shown to the user.IPluginDataSourceRetVal.VALUE
The text that is sent when the form is submitted.title
(optional) The text that is used as the HTML title attribute.
- Specified by:
getJSONArray
in interfaceIPluginDataSourceRetVal
- Returns:
- A
SerializableJSONArray
with the items provided by the data source plugin.
-