|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Chain
| Method Summary | |
|---|---|
void |
addStep(Step step)
Adds a Step to this Chain and takes
care about back-reference integrity. |
void |
addSubChain(Chain chain)
Adds a Chain to this Chain and takes
care about back-reference integrity. |
Chain |
copy(Case newCase)
Copies a chain. |
Chain |
createSubChain(java.lang.String name,
java.util.Collection stepsAndChains)
Creates a Chain that subsumes the given steps and chains. |
boolean |
dependencyExists(Chain toChain)
This method checks if there is a dependency between any of the steps of this chain (including all steps of all direct or indirect subchains), and any of the steps of the given chain (again including all steps of all direct or indirect subchains). |
boolean |
dependencyExists(Step toStep)
This method checks if there is a dependency between any of the steps of this chain (including all steps of all direct or indirect subchains), and the given step. |
java.util.Collection |
getAllChains()
Active getter of the chains embedded in this chain. |
java.util.Collection |
getAllSteps()
Active getter of the steps embedded in this chain. |
java.util.Collection |
getAllTransitionsToChain(Chain toChain)
This method returns pairs of Steps. |
java.lang.String |
getDescription()
Gets the description. |
java.util.Collection |
getDirectSubChains()
Active getter of the chains embedded in this chain. |
java.util.Collection |
getInvolvedConcepts()
Returns a Collection of the Concepts that are used as input or output in any of the top level steps of this chain. |
Chain |
getParentChain()
If this chain has a parent chain, that parent chain is returned. |
java.util.Collection |
getPredecessors(Step toStep)
This method returns all steps in this chain, including steps in subchains etc., that are a direct predecessor of the given Step. |
java.util.Collection |
getSuccessors(Step fromStep)
This method returns all steps in this chain, including steps in subchains etc., that are a direct successor of the given Step. |
Case |
getTheCase()
Gets the Case. |
java.util.Collection |
getTopLevelSteps()
Active getter of the top level steps of this chain. |
java.util.Iterator |
getTopLevelStepsSequentialised()
Active getter of the steps embedded in this chain. |
boolean |
hasPredecessorOutside()
This method returns TRUE iff a Step exists in this Chain that is a successor of a Step outside this Chain. |
boolean |
hasSuccessorOutside()
This method returns TRUE iff a Step exists in this Chain that is a predecessor of a Step outside this Chain. |
boolean |
removeStep(Step step)
Removes a Step from this Chain and takes
care about back-reference integrity. |
void |
resolveSubChain(Chain chain)
If the given Chain is a direct subchain of this
Chain, it is resolved, ie its Steps
and subchains become steps and direct subchains of this chain. |
void |
setDescription(java.lang.String description)
Sets the description. |
void |
setParentChain(Chain parentChain)
Sets the parent chain of this chain to the given parentChain. |
void |
setTheCase(Case m4Case)
Sets a new Case object and cares about
back-reference integrity. |
| Methods inherited from interface edu.udo.cs.miningmart.m4.GraphicalM4Object |
|---|
getPoint, setPoint |
| Methods inherited from interface edu.udo.cs.miningmart.m4.M4Data |
|---|
deleteSoon, getDocumentation, getValidName, isDirty, isWaitingForDelete, setDocumentation |
| Methods inherited from interface edu.udo.cs.miningmart.m4.M4Object |
|---|
doPrint, doPrint, equals, executeBusinessSingleValueSqlRead, executeBusinessSingleValueSqlReadL, executeBusinessSqlRead, executeBusinessSqlWrite, executeM4SingleValueSqlRead, executeM4SingleValueSqlReadL, executeM4SqlRead, executeM4SqlWrite, getCasePrintObject, getId, getM4Db, getM4ObjectFromCache, getName, getNextM4SequenceValue, isNew, load, print, putM4ObjectToCache, replaceSpacesInName, setId, setName, setNotNew |
| Method Detail |
|---|
java.util.Collection getAllSteps()
throws M4Exception
getTopSteps().
Collection of Steps
M4Exception
java.util.Collection getTopLevelSteps()
throws M4Exception
getSteps().
Collection of Steps
M4Exception
java.util.Iterator getTopLevelStepsSequentialised()
throws M4Exception
Iterator through Steps, or NULL.
M4Exception
java.util.Collection getInvolvedConcepts()
throws M4Exception
M4Exception
java.util.Collection getPredecessors(Step toStep)
throws M4Exception
toStep - the Step whose predecessors are returned
M4Exception
boolean hasPredecessorOutside()
throws M4Exception
M4Exception
boolean hasSuccessorOutside()
throws M4Exception
M4Exception
java.util.Collection getSuccessors(Step fromStep)
throws M4Exception
fromStep - the Step whose successors are returned
M4Exception
java.util.Collection getAllTransitionsToChain(Chain toChain)
throws M4Exception
toChain - the given Chain
M4Exception
java.util.Collection getAllChains()
throws M4Exception
getDirectSubChains().
Collection of Chains
M4Exception
java.util.Collection getDirectSubChains()
throws M4Exception
getAllChains().
Collection of Chains
M4Exception
Chain getParentChain()
throws M4Exception
null
if no parent chain exists.
M4Exception
boolean dependencyExists(Chain toChain)
throws M4Exception
toChain - the destination chain
M4Exception
boolean dependencyExists(Step toStep)
throws M4Exception
toStep - the destination step
M4ExceptionCase getTheCase()
java.lang.String getDescription()
void setTheCase(Case m4Case)
throws M4Exception
Case object and cares about
back-reference integrity.
m4Case - the Case to be set
M4Exceptionvoid setDescription(java.lang.String description)
description - The description to set
void addStep(Step step)
throws M4Exception
Step to this Chain and takes
care about back-reference integrity. The new step is added to
the top level, not to any subchains.
step - the Step to be added
M4Exception
void addSubChain(Chain chain)
throws M4Exception
Chain to this Chain and takes
care about back-reference integrity. The given Chain will
be a direct subchain of this chain.
step - the Step to be added
M4Exception
void resolveSubChain(Chain chain)
throws M4Exception
Chain is a direct subchain of this
Chain, it is resolved, ie its Steps
and subchains become steps and direct subchains of this chain.
chain - the Chain to be resolved
M4Exception
Chain createSubChain(java.lang.String name,
java.util.Collection stepsAndChains)
throws M4Exception
name - the name to be given to the new chainstepsAndChains - a Collection of Steps
and/or Chains.
M4Exception
void setParentChain(Chain parentChain)
throws M4Exception
parentChain - the new parent chain of this chain.
M4Exception
boolean removeStep(Step step)
throws M4Exception
Step from this Chain and takes
care about back-reference integrity.
step - the Step to be removed
M4Exception
Chain copy(Case newCase)
throws M4Exception
M4Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||