Package org.imixs.workflow.office.forms
Class CustomFormItem
- java.lang.Object
-
- org.imixs.workflow.office.forms.CustomFormItem
-
public class CustomFormItem extends Object
This CustomFormItem provides the informations from a single item inside a custom form sectionThe optional 'options' contains a list of select options. Example:
SEPA|sepa_transfer;Bankeinzug/ Kreditkarte|direct_debit"- Version:
- 1.0
- Author:
- rsoika
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetLabel()StringgetName()StringgetOptions()Optional option string.StringgetPath()optional path for custom items.List<javax.faces.model.SelectItem>getSelectItems()SelectItem getter Method provides a getter method to an ArrayList ofobjects for a given options String. StringgetType()booleanisHide()booleanisReadonly()booleanisRequired()voidsetHide(boolean hide)voidsetLabel(String label)voidsetName(String name)voidsetOptions(String options)voidsetPath(String path)voidsetReadonly(boolean readonly)voidsetRequired(boolean required)voidsetType(String type)
-
-
-
Method Detail
-
getName
public String getName()
-
setName
public void setName(String name)
-
getType
public String getType()
-
setType
public void setType(String type)
-
getLabel
public String getLabel()
-
setLabel
public void setLabel(String label)
-
isRequired
public boolean isRequired()
-
setRequired
public void setRequired(boolean required)
-
isReadonly
public boolean isReadonly()
-
setReadonly
public void setReadonly(boolean readonly)
-
isHide
public boolean isHide()
-
setHide
public void setHide(boolean hide)
-
getSelectItems
public List<javax.faces.model.SelectItem> getSelectItems() throws Exception
SelectItem getter Method provides a getter method to an ArrayList ofobjects for a given options String. The options String contains multiple options spearated by ; One option can be devided by a | into a label and a value component. Example: SEPA|sepa_transfer;Bankeinzug/ Kreditkarte|direct_debit"- Returns:
- Throws:
Exception
-
getOptions
public String getOptions()
Optional option string.Can contain custom parts data
- Returns:
-
setOptions
public void setOptions(String options)
-
getPath
public String getPath()
optional path for custom items.- Returns:
-
setPath
public void setPath(String path)
-
-