ix.ileed
Class ProcessModel.OverallCell
java.lang.Object
|
+--ix.ileed.ProcessModel.OverallCell
- All Implemented Interfaces:
- StatusValues
- Direct Known Subclasses:
- ProcessModel.OverallCollectionCell
- Enclosing class:
- ProcessModel
- class ProcessModel.OverallCell
- extends java.lang.Object
- implements StatusValues
Overall column cells, a member class of ProcessModel. An OverallCell
summarizes a row in a 2-D tabular (or matrix) description of the
process. All entries on a row are for the same action, but each
can be in a different COA. ("Can be", because some actions appear
only once no matter how many COAs there are. Some rows therefore
have only one entry, but if the matrix were displayed, that entry
would probably be duplicated in every column.) Each column represents
a COA. There is also an overall column that contains OverallCells.
The ProcessModel method newOverallCellInstance(String action) is
a factory method that should be used to create an instance of the
appropriate OverallCell class for a action-name (= row).
Instances of OverallCell are "standard" cells that compute a status
that is the "least" status of any Node in their row, where "less"
means roughly "would occur earlier in execution". So, for instance,
EXECUTING is less-than COMPLETE. Subclasses of OverallCell may
implement different rules.
Field Summary |
(package private) java.lang.String |
action
|
(package private) int |
status
|
(package private) java.lang.String |
text
|
(package private) boolean |
valid
|
Fields inherited from interface ix.icore.process.StatusValues |
PRIORITY_HIGH, PRIORITY_LOW, PRIORITY_MEDIUM, PRIORITY_NONE, PRODUCT_BLANK, PRODUCT_COMPLETE, PRODUCT_DRAFT, STATUS_BLANK, STATUS_COMPLETE, STATUS_EXECUTING, STATUS_IMPOSSIBLE, STATUS_NA, STATUS_POSSIBLE |
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
action
java.lang.String action
status
int status
valid
boolean valid
text
java.lang.String text
ProcessModel.OverallCell
ProcessModel.OverallCell(java.lang.String action)
invalidate
void invalidate()
computeStatus
void computeStatus()
statusRule
protected int statusRule()
stateRecord
StatusChange stateRecord()