public class PASEartState
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
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 FormModifier and Type | Field and Description |
---|---|
static java.lang.String |
CSEntArtStateID |
java.lang.String |
name |
Constructor and Description |
---|
PASEartState() |
PASEartState(java.lang.String astID)
Constructor.
|
PASEartState(java.lang.String id,
java.lang.String name,
java.lang.String artifact,
int x,
int y,
boolean reject,
java.lang.String projectID) |
Modifier and Type | Method and Description |
---|---|
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.util.HashMap |
getLocaleInfo() |
java.lang.String |
getName()
Get the artifact state name
|
java.lang.String |
getName(java.lang.String locale) |
java.lang.String |
getProjectID()
Get the project id
|
int |
getX() |
int |
getY() |
boolean |
isReject() |
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 |
setLocaleInfo(java.util.HashMap localeInfo) |
void |
setLocation(int m_x,
int m_y) |
void |
setName(java.lang.String name)
Set the artifact state name
|
void |
setProjectID(java.lang.String id)
Set the project id
|
void |
setReject(boolean reject) |
void |
setX(int m_x) |
void |
setY(int m_y) |
java.lang.String |
toString()
Returns a string representation of the artifact state
|
void |
update(java.lang.Object obj)
Update the data of
PASEartState instance |
void |
updateByMap(java.util.Map<java.lang.String,java.lang.Object> params) |
public static java.lang.String CSEntArtStateID
public java.lang.String name
public PASEartState()
public PASEartState(java.lang.String astID)
PASEartState
with the
specified artifact state id.id
- the artifact state idpublic PASEartState(java.lang.String id, java.lang.String name, java.lang.String artifact, int x, int y, boolean reject, java.lang.String projectID)
public java.lang.String getID()
public void setID(java.lang.String id)
id
- the given artifact state idpublic java.lang.String getName()
public void setName(java.lang.String name)
name
- the given artifact state namepublic java.lang.String getProjectID()
public void setProjectID(java.lang.String id)
id
- the given project idpublic java.lang.String getArtifactID()
public void setArtifactID(java.lang.String artf)
artf
- the given artifact idpublic java.lang.String getCondition()
public void setCondition(java.lang.String cond)
cond
- the given artifact state conditionpublic java.lang.String getDescription()
public void setDescription(java.lang.String des)
cond
- the given artifact state descriptionpublic java.lang.String toString()
toString
in class java.lang.Object
public java.lang.Object clone()
PASEartState
objectclone
in class java.lang.Object
public void update(java.lang.Object obj)
PASEartState
instanceobj
- the given PASEartState
instancepublic void updateByMap(java.util.Map<java.lang.String,java.lang.Object> params)
public java.lang.Object getHashKey()
public java.util.HashMap getLocaleInfo()
public void setLocaleInfo(java.util.HashMap localeInfo)
public java.lang.String getName(java.lang.String locale)
locale
- public boolean isReject()
public void setReject(boolean reject)
public int getX()
public void setX(int m_x)
public int getY()
public void setY(int m_y)
public void setLocation(int m_x, int m_y)
Copyright ? 2022. All Rights Reserved.