|
Agentflow V3.1 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpe.pase.PASEartState
public class PASEartState
An abstract representation of Artifact State.
The Artifact State is used for Artifact routing in the Agentflow System. The ArtStateID and ArtStateName represent the identifier and name of the Artifact State. Then the ArtifactID and ProjectID show the ID of the Artifact and Project that the Artifact is belong to. At lase, The ArtStateCond is a special field to determine whether the Artifact State is achieved. The introduction of the ArtStateCond is introduced in next paragraph.
In the Agentflow System, when a end-user finishes its work and want to complete the Task, the process of 'condition verifying' is in progress. The verifying is used to determint whether the task fits the 'complete' condition of the Task. If fit, the user is permitted to complete the Task; otherwise, the System will inform the end-user that the task can't be completed. The ArtStateCond is used as the rule for 'condition verifying'. It is composed of several 'ComponentValue expression'. The operator of the expression is the value of the Component; then the operand is the '<', '>', '==', '<=', '>=', and '!='. The 'ComponentValue expression' are combined by 'AND' or 'OR'. The followiong is an example of the ArtStateCond:
TextArea1 > 400 AND RadioButton1 != true AND PasswordField1 ==
'supermane'
Artifact
,
Serialized FormField Summary | |
---|---|
static java.lang.String |
CSEntArtStateID
|
Constructor Summary | |
---|---|
PASEartState()
|
|
PASEartState(java.lang.String astID)
Constructor. |
Method Summary | |
---|---|
java.lang.Object |
clone()
Make a copy of the PASEartState object |
java.lang.String |
getArtifactID()
Get the artifact id |
java.lang.String |
getCondition()
Get the artifact state condition. |
java.lang.String |
getDescription()
Get the artifact state description. |
java.lang.Object |
getHashKey()
|
java.lang.String |
getID()
Get the artifact state id |
java.lang.String |
getName()
Get the artifact state name |
java.lang.String |
getProjectID()
Get the project id |
void |
setArtifactID(java.lang.String artf)
Set the artifact id |
void |
setCondition(java.lang.String cond)
Set the artifact state condition. |
void |
setDescription(java.lang.String des)
Set the artifact state description. |
void |
setID(java.lang.String id)
Set the artifact state id |
void |
setName(java.lang.String name)
Set the artifact state name |
void |
setProjectID(java.lang.String id)
Set the project id |
java.lang.String |
toString()
Returns a string representation of the artifact state |
void |
update(java.lang.Object obj)
Update the data of PASEartState instance |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static java.lang.String CSEntArtStateID
Constructor Detail |
---|
public PASEartState()
public PASEartState(java.lang.String astID)
PASEartState
with the
specified artifact state id.
id
- the artifact state idMethod Detail |
---|
public java.lang.Object clone()
PASEartState
object
clone
in class java.lang.Object
public java.lang.String getArtifactID()
public java.lang.String getCondition()
public java.lang.String getDescription()
public java.lang.Object getHashKey()
getHashKey
in interface com.flowring.entity.Entity
public java.lang.String getID()
public java.lang.String getName()
public java.lang.String getProjectID()
public void setArtifactID(java.lang.String artf)
artf
- the given artifact idpublic void setCondition(java.lang.String cond)
cond
- the given artifact state conditionpublic void setDescription(java.lang.String des)
cond
- the given artifact state descriptionpublic void setID(java.lang.String id)
id
- the given artifact state idpublic void setName(java.lang.String name)
name
- the given artifact state namepublic void setProjectID(java.lang.String id)
id
- the given project idpublic java.lang.String toString()
toString
in class java.lang.Object
public void update(java.lang.Object obj)
PASEartState
instance
update
in interface com.flowring.entity.Entity
obj
- the given PASEartState
instance
|
Agentflow V3.1 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |