org.demac.process.base.dpdl
Interface Condition
- All Known Implementing Classes:
- ConditionImpl
public interface Condition
An element to specify a Transition Condition. It can either contain an expression
which evaluation determines whether to follow a transition or not, or an
org.demac.process.base.dpdl.Exception,
which will be executed if an error has occured.
Field Summary |
static java.lang.String |
CONDITION
Type: CONDITION. |
static java.lang.String |
EXCEPTION
Type: EXCEPTION. |
CONDITION
static final java.lang.String CONDITION
- Type: CONDITION. An expression will be evaluated to decide whether
the following sequence of activities may be executed or not.
- See Also:
- Constant Field Values
EXCEPTION
static final java.lang.String EXCEPTION
- Type: EXCEPTION. The transition is an exceptional transition.
It will be executed if an execption has occured.
- See Also:
- Constant Field Values
getException
Exception getException()
- Returns:
- Returns the org.demac.process.base.dpdl.Exception of the condition.
Returns null, if no org.demac.process.base.dpdl.Exception is specified.
getExpression
Xpression getExpression()
- Returns:
- Returns the org.demac.process.base.dpdl.Xpression of the condition.
Returns null, if no org.demac.process.base.dpdl.Xpression is specified.
getType
java.lang.String getType()
- Returns:
- Returns the type of the org.demac.process.base.dpdl.Condition.
Possible types are CONDITION or EXCEPTION, as well as some other
in this prototype unimplemented types.