Package com.documentum.fc.bpm
Interface IDfTransitionCondition
- All Known Subinterfaces:
IDfAttributeValueCondition
,IDfXPathCondition
,IDfXPathConditionEx
public interface IDfTransitionCondition
Describes the properties common to all transition conditions.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Equality operator.static final int
"Greater than or equal to" operator.static final int
"Greater than" operator.static final int
"Less than or equal to" operator.static final int
"Less than" operator.static final int
Inequality operator.static final String
A well-known alias that refers to the workflow for this transition.static final String
A well-known alias that refers to the workitem for this transition. -
Method Summary
Modifier and TypeMethodDescriptionThe alias of the object upon which the transition condition is to be applied.int
Returns an integer specifying which relational operator to use for this transition condition.boolean
isValid()
Indicates if a transition condition is complete and has legitimate values.void
setObjectAlias
(String name) Set the alias of the object upon which the transition condition is to be applied.void
setRelationalOperator
(int operator) Sets an integer specifying which relational operator to use for this transition condition.toString()
Returns a string representation of the transition condition.
-
Field Details
-
WORKFLOW_ALIAS
A well-known alias that refers to the workflow for this transition.- See Also:
-
WORKITEM_ALIAS
A well-known alias that refers to the workitem for this transition.- See Also:
-
EQ
static final int EQEquality operator.- See Also:
-
NE
static final int NEInequality operator.- See Also:
-
LT
static final int LT"Less than" operator.- See Also:
-
GT
static final int GT"Greater than" operator.- See Also:
-
LE
static final int LE"Less than or equal to" operator.- See Also:
-
GE
static final int GE"Greater than or equal to" operator.- See Also:
-
-
Method Details
-
setObjectAlias
Set the alias of the object upon which the transition condition is to be applied. This will be either a package name or one of the well known constant aliases that appear in this interface to refer to the workflow or workitem.- Parameters:
name
- the object alias- Throws:
DfException
- if a server error occurs
-
getObjectAlias
The alias of the object upon which the transition condition is to be applied.- Returns:
- the alias of the object upon which the transition condition is to be applied
- Throws:
DfException
- if a server error occurs
-
setRelationalOperator
Sets an integer specifying which relational operator to use for this transition condition.- Parameters:
operator
- the relational operator, which must be one of the constants in this interface- Throws:
DfException
- if a server error occurs
-
getRelationalOperator
Returns an integer specifying which relational operator to use for this transition condition.- Returns:
- an integer specifying which relational operator to use for this transition condition
- Throws:
DfException
- if a server error occurs
-
isValid
Indicates if a transition condition is complete and has legitimate values.- Returns:
true
if the condition is valid, otherwisefalse
- Throws:
DfException
-
toString
String toString()Returns a string representation of the transition condition.
-