|
Agentflow V3.1 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpe.pase.ArtFormItem
public class ArtFormItem
An abstract representation of Artifact Form Item.
The Form describes the facade of the electronic document in the Agentflow System. It is composed of a Panel and various Components such as label, textfield, chechbox, and so on. The class is used to represent these Components.
The fundamental fields of the Compnent include the FormItemID, FormItemName, and FormItemSynopsis. They represent the identifier, name, and synopsis of the Component. The FormItemDefaultValue is used to initialize the value of the Component.
The FormItemType represents the type of the Component. In Agentflow System, the following types are provided: Label, TextField, TextArea, Checkbox, RadioBox, Button, ComboBox, List, and Table.
The FormItemProperty is used to show the 'property' of the Component. The property defines the Component's position, color, range, opaqueness, font, savable, and so on. The property of 'savable' indicates whether to store the value of the Component into the database. If the Component is 'savable', the value will be stored while some task, whose operation artifact contains the Component, is completed. Then the value will set as the initial value in the next invoked task. We use FormItemIsInstance to represent the property.
Artifact
,
Serialized FormField Summary | |
---|---|
static java.lang.String |
CHAR_LENGTH_CHECK
|
static java.lang.String |
CHECK_DATA
|
static java.lang.String |
DATA_TYPE_CHECK
|
static java.lang.String[] |
dvPropertyNames
|
static java.lang.String |
EMAIL_CHECK
|
static java.lang.String |
EMPTY_CHECK
|
static java.lang.String |
ERROR_MSG
|
static java.lang.String |
EXECUTE_CHECK
|
static java.lang.String |
INVALID_CHAR_CHECK
|
static java.lang.String |
NUM_RANGE_CHECK
|
static java.lang.String |
Type_Button
Component type: Button |
static java.lang.String |
Type_CheckBox
Component type: CheckBox |
static java.lang.String |
Type_ComboBox
Component type: ComboBox |
static java.lang.String |
Type_FButton
|
static java.lang.String |
Type_FCheckBox
|
static java.lang.String |
Type_FComboBox
|
static java.lang.String |
Type_FLabel
|
static java.lang.String |
Type_FList
|
static java.lang.String |
Type_Form
|
static java.lang.String |
Type_FRadioBox
|
static java.lang.String |
Type_FTable
|
static java.lang.String |
Type_FTextArea
|
static java.lang.String |
Type_FTextField
|
static java.lang.String |
Type_Javabeans
|
static java.lang.String |
Type_Label
Component type: Label |
static java.lang.String |
Type_List
Component type: List |
static java.lang.String |
Type_OtherComponent
Component type: JAVABEANS |
static java.lang.String |
Type_RadioBox
Component type: RadioBox |
static java.lang.String |
Type_Table
Component type: Table |
static java.lang.String |
Type_Tablebeans
|
static java.lang.String |
Type_TextArea
Component type: TextArea |
static java.lang.String |
Type_TextField
Component type: TextField |
static java.lang.String |
VALID_CHAR_CHECK
|
Constructor Summary | |
---|---|
ArtFormItem(ArtFormItem item)
|
|
ArtFormItem(java.lang.String id)
Constructor. |
|
ArtFormItem(java.lang.String id,
java.lang.String name,
java.lang.Object value)
Constructor. |
Method Summary | |
---|---|
java.lang.String |
getArtFormID()
|
java.lang.String |
getCmpType()
Get type of the artifact form item. |
java.util.HashMap |
getDataValidateData(java.lang.String checkname)
|
java.lang.Object |
getDataValidateData(java.lang.String checkname,
java.lang.String data)
|
pe.pase.ArtFormItem.DataValidateHashtable |
getDataValidateHashtable()
|
java.lang.Object |
getDefaultValue()
Get the default value of the artifact form item. |
EFormScriptSet |
getEFormScriptSet()
|
java.lang.String |
getID()
Get the id of the artifact form item. |
java.lang.String |
getName()
Get the name of the artifact form item. |
java.lang.String |
getOrder()
|
java.util.Properties |
getProperties()
|
java.lang.String |
getProperty()
|
java.lang.String |
getPropertyData(java.lang.String prop)
Get specific property value of the property String |
java.lang.String |
getSynopsis()
Get the synopsis of the artifact form item. |
boolean |
isInstance()
Check whether the artifact form item is a instance. |
void |
setArtFormID(java.lang.String artFormID)
|
void |
setCmpType(java.lang.String type)
Set type of the artifact form item. |
void |
setDataValidateHashtable(pe.pase.ArtFormItem.DataValidateHashtable table)
|
void |
setDefaultValue(java.lang.Object value)
Set the default value of the artifact form item. |
void |
setEFormScriptSet(EFormScriptSet eFormScriptSet)
|
void |
setID(java.lang.String id)
Set the id of the artifact form item. |
void |
setInstance(boolean b)
Set the artifact form item is a instance or not. |
void |
setName(java.lang.String name)
Set the name of the artifact form item. |
void |
setOrder(java.lang.String o)
|
void |
setProperties(java.util.Properties properties)
|
void |
setSynopsis(java.lang.String syno)
Set the synopsis of the artifact form item. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String CHAR_LENGTH_CHECK
public static final java.lang.String CHECK_DATA
public static final java.lang.String DATA_TYPE_CHECK
public static java.lang.String[] dvPropertyNames
public static final java.lang.String EMAIL_CHECK
public static final java.lang.String EMPTY_CHECK
public static final java.lang.String ERROR_MSG
public static final java.lang.String EXECUTE_CHECK
public static final java.lang.String INVALID_CHAR_CHECK
public static final java.lang.String NUM_RANGE_CHECK
public static final java.lang.String Type_Button
public static final java.lang.String Type_CheckBox
public static final java.lang.String Type_ComboBox
public static final java.lang.String Type_FButton
public static final java.lang.String Type_FCheckBox
public static final java.lang.String Type_FComboBox
public static final java.lang.String Type_FLabel
public static final java.lang.String Type_FList
public static final java.lang.String Type_Form
public static final java.lang.String Type_FRadioBox
public static final java.lang.String Type_FTable
public static final java.lang.String Type_FTextArea
public static final java.lang.String Type_FTextField
public static final java.lang.String Type_Javabeans
public static final java.lang.String Type_Label
public static final java.lang.String Type_List
public static final java.lang.String Type_OtherComponent
public static final java.lang.String Type_RadioBox
public static final java.lang.String Type_Table
public static final java.lang.String Type_Tablebeans
public static final java.lang.String Type_TextArea
public static final java.lang.String Type_TextField
public static final java.lang.String VALID_CHAR_CHECK
Constructor Detail |
---|
public ArtFormItem(ArtFormItem item)
public ArtFormItem(java.lang.String id)
ArtFormItem
with the specified id of the artifact form item
and initial other variables.
id
- the form item id.public ArtFormItem(java.lang.String id, java.lang.String name, java.lang.Object value)
ArtFormItem
with the specified id, name, and value of the
artifact form item and initial other variables.
id
- the form item idname
- the form item namevalue
- the form item default valueMethod Detail |
---|
public java.lang.String getArtFormID()
public java.lang.String getCmpType()
public java.util.HashMap getDataValidateData(java.lang.String checkname)
public java.lang.Object getDataValidateData(java.lang.String checkname, java.lang.String data)
public pe.pase.ArtFormItem.DataValidateHashtable getDataValidateHashtable()
public java.lang.Object getDefaultValue()
public EFormScriptSet getEFormScriptSet()
public java.lang.String getID()
public java.lang.String getName()
public java.lang.String getOrder()
public java.util.Properties getProperties()
public java.lang.String getProperty()
public java.lang.String getPropertyData(java.lang.String prop)
public java.lang.String getSynopsis()
public boolean isInstance()
public void setArtFormID(java.lang.String artFormID)
public void setCmpType(java.lang.String type)
type
- the given typepublic void setDataValidateHashtable(pe.pase.ArtFormItem.DataValidateHashtable table)
public void setDefaultValue(java.lang.Object value)
value
- the given default valuepublic void setEFormScriptSet(EFormScriptSet eFormScriptSet)
public void setID(java.lang.String id)
id
- the given idpublic void setInstance(boolean b)
b
- the given boolean valuepublic void setName(java.lang.String name)
name
- the given namepublic void setOrder(java.lang.String o)
public void setProperties(java.util.Properties properties)
public void setSynopsis(java.lang.String syno)
syno
- the given synopsis
|
Agentflow V3.1 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |