public class FormInfo
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
FormInfo() |
FormInfo(java.lang.String name,
java.lang.String description,
java.lang.String latestVersion,
java.lang.String activeVersion) |
Modifier and Type | Method and Description |
---|---|
void |
addFormField(FormField formField)
This method adds the form field in the list of form field associated to this process form.
|
java.lang.String |
getActiveVersion()
This method gets the active version of the process form (SDK_ACTIVE_VERSION).
|
java.lang.String |
getDescription()
This method gets the description of the process form (SDK_FORM_DESCRIPTION).
|
FormField |
getFormField(java.lang.String fldName)
This method gets the specific form field details provided a form field name.
|
java.util.List |
getFormFields()
This method gets the form fields of this process form.
|
long |
getFormKey()
This method gets the primary key of the form (SDK_KEY).
|
java.lang.String |
getLatestVersion()
This method gets the latest version of the process form (SDK_LATEST_VERSION).
|
java.lang.String |
getName()
This method gets the name of the process form (SDK_NAME).
|
boolean |
isChild()
This method returns if the form is a child form.
|
void |
setActiveVersion(java.lang.String activeVersion)
This method sets the active version of the process form (SDK_ACTIVE_VERSION).
|
void |
setChild(boolean isChild)
This method sets if the form is a child form.
|
void |
setDescription(java.lang.String description)
This method sets the description of the process form (SDK_FORM_DESCRIPTION).
|
void |
setFormFields(java.util.List formFields)
This method gets the details of the list of form field provided a list of form field name.
|
void |
setFormKey(long formKey)
This method sets the primary key of the form (SDK_KEY) in the value object.
|
void |
setLatestVersion(java.lang.String latestVersion)
This method sets the latest version of the process form (SDK_LATEST_VERSION).
|
void |
setName(java.lang.String name)
This method sets the name of the process form (SDK_NAME).
|
public static final long serialVersionUID
public FormInfo()
public FormInfo(java.lang.String name, java.lang.String description, java.lang.String latestVersion, java.lang.String activeVersion)
name
- name of the process form. (SDK_NAME)description
- description of the process form (SDK_FORM_DESCRIPTION)latestVersion
- the latest version of the process form (SDK_LATEST_VERSION).activeVersion
- the active version of the process form (SDK_ACTIVE_VERSION).public java.lang.String getName()
public void setName(java.lang.String name)
name
- the name of the process form (SDK_NAME).public java.lang.String getDescription()
public void setDescription(java.lang.String description)
description
- the description of the process form (SDK_FORM_DESCRIPTION).public java.lang.String getLatestVersion()
public void setLatestVersion(java.lang.String latestVersion)
latestVersion
- the latest version of the process form (SDK_LATEST_VERSION).public java.lang.String getActiveVersion()
public void setActiveVersion(java.lang.String activeVersion)
activeVersion
- the active version of the process form (SDK_ACTIVE_VERSION).public boolean isChild()
public void setChild(boolean isChild)
isChild
- set true if the form is a child form.public java.util.List getFormFields()
public FormField getFormField(java.lang.String fldName)
fldName
- the process form field namepublic void setFormFields(java.util.List formFields)
formFields
- the details of the list of form field provided a list of form field name.public void addFormField(FormField formField)
formField
- the form field that needs to be added in the list of form field associated to this process form.public long getFormKey()
public void setFormKey(long formKey)
formKey
- the primary key of the form (SDK_KEY).