Package org.apache.ofbiz.widget.model
Class ModelFormFieldBuilder
- java.lang.Object
-
- org.apache.ofbiz.widget.model.ModelFormFieldBuilder
-
public class ModelFormFieldBuilder extends java.lang.Object
AModelFormField
builder.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
module
-
Constructor Summary
Constructors Constructor Description ModelFormFieldBuilder()
ModelFormFieldBuilder(ModelFormField modelFormField)
ModelFormFieldBuilder(ModelFormFieldBuilder builder)
ModelFormFieldBuilder(org.w3c.dom.Element fieldElement, ModelForm modelForm, ModelReader entityModelReader, DispatchContext dispatchContext)
XML Constructor
-
Method Summary
-
-
-
Constructor Detail
-
ModelFormFieldBuilder
public ModelFormFieldBuilder()
-
ModelFormFieldBuilder
public ModelFormFieldBuilder(org.w3c.dom.Element fieldElement, ModelForm modelForm, ModelReader entityModelReader, DispatchContext dispatchContext)
XML Constructor
-
ModelFormFieldBuilder
public ModelFormFieldBuilder(ModelFormField modelFormField)
-
ModelFormFieldBuilder
public ModelFormFieldBuilder(ModelFormFieldBuilder builder)
-
-
Method Detail
-
addOnChangeUpdateArea
public ModelFormFieldBuilder addOnChangeUpdateArea(ModelForm.UpdateArea onChangeUpdateArea)
-
addOnClickUpdateArea
public ModelFormFieldBuilder addOnClickUpdateArea(ModelForm.UpdateArea onClickUpdateArea)
-
build
public ModelFormField build()
-
getAction
public FlexibleStringExpander getAction()
-
getAttributeName
public java.lang.String getAttributeName()
-
getEncodeOutput
public boolean getEncodeOutput()
-
getEntityName
public java.lang.String getEntityName()
-
getEntryAcsr
public FlexibleMapAccessor<java.lang.Object> getEntryAcsr()
-
getEvent
public java.lang.String getEvent()
-
getFieldInfo
public FieldInfo getFieldInfo()
-
getFieldName
public java.lang.String getFieldName()
-
getFieldType
public java.lang.String getFieldType()
-
getHeaderLink
public java.lang.String getHeaderLink()
-
getHeaderLinkStyle
public java.lang.String getHeaderLinkStyle()
-
getIdName
public java.lang.String getIdName()
-
getMapAcsr
public FlexibleMapAccessor<java.util.Map<java.lang.String,? extends java.lang.Object>> getMapAcsr()
-
getModelForm
public ModelForm getModelForm()
-
getName
public java.lang.String getName()
-
getOnChangeUpdateAreas
public java.util.List<ModelForm.UpdateArea> getOnChangeUpdateAreas()
-
getOnClickUpdateAreas
public java.util.List<ModelForm.UpdateArea> getOnClickUpdateAreas()
-
getParameterName
public FlexibleStringExpander getParameterName()
-
getPosition
public java.lang.Integer getPosition()
-
getRedWhen
public java.lang.String getRedWhen()
-
getRequiredField
public java.lang.Boolean getRequiredField()
-
getRequiredFieldStyle
public java.lang.String getRequiredFieldStyle()
-
getSeparateColumn
public boolean getSeparateColumn()
-
getServiceName
public java.lang.String getServiceName()
-
getSortField
public java.lang.Boolean getSortField()
-
getSortFieldAscStyle
public java.lang.String getSortFieldAscStyle()
-
getSortFieldDescStyle
public java.lang.String getSortFieldDescStyle()
-
getSortFieldHelpText
public java.lang.String getSortFieldHelpText()
-
getSortFieldStyle
public java.lang.String getSortFieldStyle()
-
getTitle
public FlexibleStringExpander getTitle()
-
getTitleAreaStyle
public java.lang.String getTitleAreaStyle()
-
getTitleStyle
public java.lang.String getTitleStyle()
-
getTooltip
public FlexibleStringExpander getTooltip()
-
getTooltipStyle
public java.lang.String getTooltipStyle()
-
getUseWhen
public FlexibleStringExpander getUseWhen()
-
getIgnoreWhen
public FlexibleStringExpander getIgnoreWhen()
-
getWidgetAreaStyle
public java.lang.String getWidgetAreaStyle()
-
getWidgetStyle
public java.lang.String getWidgetStyle()
-
getParentFormName
public java.lang.String getParentFormName()
-
getTabindex
public java.lang.String getTabindex()
-
getConditionGroup
public java.lang.String getConditionGroup()
-
induceFieldInfoFromEntityField
public boolean induceFieldInfoFromEntityField(ModelEntity modelEntity, ModelField modelField, java.lang.String defaultFieldType)
-
induceFieldInfoFromServiceParam
public boolean induceFieldInfoFromServiceParam(ModelService modelService, ModelParam modelParam, java.lang.String defaultFieldType)
-
mergeOverrideModelFormField
public void mergeOverrideModelFormField(ModelFormFieldBuilder builder)
-
setAction
public ModelFormFieldBuilder setAction(java.lang.String action)
-
setAttributeName
public ModelFormFieldBuilder setAttributeName(java.lang.String attributeName)
-
setEncodeOutput
public ModelFormFieldBuilder setEncodeOutput(boolean encodeOutput)
-
setEntityName
public ModelFormFieldBuilder setEntityName(java.lang.String entityName)
-
setEntryName
public ModelFormFieldBuilder setEntryName(java.lang.String entryName)
-
setEvent
public ModelFormFieldBuilder setEvent(java.lang.String event)
-
setFieldInfo
public ModelFormFieldBuilder setFieldInfo(FieldInfo fieldInfo)
-
setFieldName
public ModelFormFieldBuilder setFieldName(java.lang.String fieldName)
-
setFieldType
public ModelFormFieldBuilder setFieldType(java.lang.String fieldType)
-
setHeaderLink
public ModelFormFieldBuilder setHeaderLink(java.lang.String headerLink)
-
setHeaderLinkStyle
public ModelFormFieldBuilder setHeaderLinkStyle(java.lang.String headerLinkStyle)
-
setIdName
public ModelFormFieldBuilder setIdName(java.lang.String idName)
-
setMapName
public ModelFormFieldBuilder setMapName(java.lang.String mapName)
-
setModelForm
public ModelFormFieldBuilder setModelForm(ModelForm modelForm)
-
setName
public ModelFormFieldBuilder setName(java.lang.String name)
-
setParameterName
public ModelFormFieldBuilder setParameterName(java.lang.String parameterName)
-
setPosition
public ModelFormFieldBuilder setPosition(java.lang.Integer position)
-
setRedWhen
public ModelFormFieldBuilder setRedWhen(java.lang.String redWhen)
-
setRequiredField
public ModelFormFieldBuilder setRequiredField(java.lang.Boolean requiredField)
-
setRequiredFieldStyle
public ModelFormFieldBuilder setRequiredFieldStyle(java.lang.String requiredFieldStyle)
-
setSeparateColumn
public ModelFormFieldBuilder setSeparateColumn(boolean separateColumn)
-
setServiceName
public ModelFormFieldBuilder setServiceName(java.lang.String serviceName)
-
setSortField
public ModelFormFieldBuilder setSortField(java.lang.Boolean sortField)
-
setSortFieldAscStyle
public ModelFormFieldBuilder setSortFieldAscStyle(java.lang.String sortFieldAscStyle)
-
setSortFieldDescStyle
public ModelFormFieldBuilder setSortFieldDescStyle(java.lang.String sortFieldDescStyle)
-
setSortFieldHelpText
public ModelFormFieldBuilder setSortFieldHelpText(java.lang.String sortFieldHelpText)
-
setSortFieldStyle
public ModelFormFieldBuilder setSortFieldStyle(java.lang.String sortFieldStyle)
-
setTitle
public ModelFormFieldBuilder setTitle(java.lang.String title)
-
setTitleAreaStyle
public ModelFormFieldBuilder setTitleAreaStyle(java.lang.String titleAreaStyle)
-
setTitleStyle
public ModelFormFieldBuilder setTitleStyle(java.lang.String titleStyle)
-
setTooltip
public ModelFormFieldBuilder setTooltip(java.lang.String tooltip)
-
setTooltipStyle
public ModelFormFieldBuilder setTooltipStyle(java.lang.String tooltipStyle)
-
setUseWhen
public ModelFormFieldBuilder setUseWhen(java.lang.String useWhen)
-
setWidgetAreaStyle
public ModelFormFieldBuilder setWidgetAreaStyle(java.lang.String widgetAreaStyle)
-
setWidgetStyle
public ModelFormFieldBuilder setWidgetStyle(java.lang.String widgetStyle)
-
setParentFormName
public ModelFormFieldBuilder setParentFormName(java.lang.String parentFormName)
-
setTabindex
public ModelFormFieldBuilder setTabindex(java.lang.String tabindex)
-
setConditionGroup
public ModelFormFieldBuilder setConditionGroup(java.lang.String conditionGroup)
-
-