Package org.apache.ofbiz.widget.model
Class ModelFormField.EntityOptions
java.lang.Object
org.apache.ofbiz.widget.model.ModelFormField.OptionSource
org.apache.ofbiz.widget.model.ModelFormField.EntityOptions
- Enclosing class:
- ModelFormField
Models the <entity-options> element.
- See Also:
-
widget-form.xsd
-
Constructor Summary
ConstructorsConstructorDescriptionEntityOptions
(ModelFormField modelFormField) EntityOptions
(Element entityOptionsElement, ModelFormField modelFormField) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addOptionValues
(List<ModelFormField.OptionValue> optionValues, Map<String, Object> context, Delegator delegator) copy
(ModelFormField modelFormField) boolean
getCache()
Gets cache.Gets constraint list.Gets description.Gets entity name.Gets filter by date.Gets key field name.Gets order by list.Methods inherited from class org.apache.ofbiz.widget.model.ModelFormField.OptionSource
getModelFormField
-
Constructor Details
-
EntityOptions
-
EntityOptions
-
-
Method Details
-
addOptionValues
public void addOptionValues(List<ModelFormField.OptionValue> optionValues, Map<String, Object> context, Delegator delegator) - Specified by:
addOptionValues
in classModelFormField.OptionSource
-
copy
- Specified by:
copy
in classModelFormField.OptionSource
-
getCache
public boolean getCache()Gets cache.- Returns:
- the cache
-
getConstraintList
Gets constraint list.- Returns:
- the constraint list
-
getDescription
Gets description.- Returns:
- the description
-
getEntityName
Gets entity name.- Returns:
- the entity name
-
getFilterByDate
Gets filter by date.- Returns:
- the filter by date
-
getKeyFieldName
Gets key field name.- Returns:
- the key field name
-
getOrderByList
Gets order by list.- Returns:
- the order by list
-