Package org.flowable.form.model
Class SimpleFormModel
java.lang.Object
org.flowable.form.model.SimpleFormModel
- All Implemented Interfaces:
Serializable
,FormModel
- Author:
- Joram Barrez, Tijs Rademakers
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
collectSubFields
(List<FormField> fields, List<FormField> listOfAllFields) Do not use this method for logical operations since it only return the top level fields.getKey()
getName()
int
void
setDescription
(String description) void
void
void
void
setOutcomes
(List<FormOutcome> outcomes) void
setOutcomeVariableName
(String outcomeVariableName) void
setVersion
(int version)
-
Field Details
-
name
-
key
-
version
protected int version -
description
-
fields
-
outcomes
-
outcomeVariableName
-
-
Constructor Details
-
SimpleFormModel
public SimpleFormModel()
-
-
Method Details
-
getName
-
setName
-
getKey
-
setKey
-
getVersion
public int getVersion() -
setVersion
public void setVersion(int version) -
getDescription
-
setDescription
-
getFields
Do not use this method for logical operations since it only return the top level fields. I.e. A "container" field's sub fields are not returned. For verifying and listing all fields from a form use instead listAllFields().- Returns:
- The top level fields, a container's sub fields are not returned.
-
setFields
-
getOutcomes
-
setOutcomes
-
getOutcomeVariableName
-
setOutcomeVariableName
-
allFieldsAsMap
-
listAllFields
-
collectSubFields
-