|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.musoft.limo.model.ModelElement
org.musoft.limo.model.ModelFigureElement
org.musoft.limo.model.Model
edu.udo.cs.miningmart.gui.model.MiningMartModel
edu.udo.cs.miningmart.gui.model.MiningMartChain
A wrapper for Chain
s.
A MiningMartChain
could be a child of a MiningMartCase
or of a MiningMartChain
.
Field Summary |
Fields inherited from class edu.udo.cs.miningmart.gui.model.MiningMartModel |
mayChangeDocumentation |
Constructor Summary | |
MiningMartChain(MiningMartApplication app,
Case thecase,
Chain chain,
java.lang.String casename,
java.awt.Point point,
java.awt.Rectangle bounds,
org.musoft.limo.model.ModelFigureElement parent)
Creates a new MiningMartChain with the given parameters. |
Method Summary | |
MiningMartChain |
addMiningMartChain(org.musoft.limo.model.ModelFigureElement parent,
MiningMartChain chain)
Adds a MiningMartChain to this MiningMartChain . |
MiningMartStep |
addMiningMartStep(org.musoft.limo.model.ModelFigureElement parent,
MiningMartStep step)
Adds a MiningMartStep to this MiningMartChain . |
StepTransition |
addStepTransition(StepTransition transition)
Adds the specified StepTransition to this MiningMartChain . |
boolean |
canDeleteInDatabase()
Gets the flag indicating that this obkect can be deleted in the database. |
boolean |
canDestroy()
|
boolean |
canSetParent(org.musoft.limo.model.ModelFigureElement parent)
|
MiningMartChain |
createMiningMartChain(org.musoft.limo.model.ModelFigureElement parent,
Chain chain,
java.awt.Point point,
java.awt.Rectangle bounds)
Creates a new MiningMartChain . |
MiningMartChain |
createMiningMartChain(org.musoft.limo.model.ModelFigureElement parent,
java.lang.String name,
java.awt.Point point,
java.awt.Rectangle bounds)
Creates a new MiningMartChain . |
MiningMartStep |
createMiningMartStep(org.musoft.limo.model.ModelFigureElement parent,
Step step,
java.awt.Point position,
java.awt.Rectangle bounds)
Creates a new MiningMartStep with the specified parameters. |
MiningMartStep |
createMiningMartStep(org.musoft.limo.model.ModelFigureElement parent,
java.lang.String opname,
java.awt.Point position,
java.awt.Rectangle bounds)
Creates a new MiningMartStep with the specified parameters. |
StepTransition |
createTransition(java.lang.String name,
org.musoft.limo.model.ModelFigureElement start,
org.musoft.limo.model.ModelFigureElement end,
boolean existsTransition)
Creates a new StepTransition . |
int |
decrementTransitionCounter()
Decrements the counter for the transitions. |
void |
destroy()
Destroys the MiningMartChain and deletes the underlying Chain . |
void |
dissolveMiningMartChain(MiningMartChain mchain)
Dissolves the specified MiningMartChain . |
boolean |
existsTransition(org.musoft.limo.model.ModelFigureElement start,
org.musoft.limo.model.ModelFigureElement end)
Checks wether a transition between the specified ModelFigureElement s exists. |
Chain |
getChain()
Gets the Chain . |
MiningMartApplication |
getMMartApplication()
Gets the MiningMartAplication . |
java.lang.String |
getName()
Gets the name of the MiningMartChain . |
java.awt.Point |
getOrigin()
|
Case |
getTheCase()
Gets the Case . |
int |
getTransitionCounter()
Gets the counter for the transitions. |
java.lang.String |
getType()
|
int |
incrementTransitionCounter()
Increments the counter for the transitions. |
void |
initTheChain()
Inits this MiningMartChain . |
void |
organizeTransitions(boolean check)
Adds transitions to the model if the case contains dependencies. |
void |
primitiveAttributeChanged(org.musoft.limo.model.ModelPrimitiveAttribute mpa)
If the description of this MiningMartChain changed then set the documentation of the underlying Chain . |
void |
setDeleteInDatabase(boolean bool,
boolean propagate)
Sets the flag that this object could be deleted in the database. |
void |
setName(java.lang.String name)
Sets the name of the MiningMartChain .
|
Methods inherited from class org.musoft.limo.model.Model |
addConnection, canAddChild, canRemoveChild, changed, getChildOrConnection, getConnection, getConnection, getConnectionCount, getConnections, getDirty, getElement, getRootModel, getValidConnectionName, indexOfConnection, indexOfConnection, removeConnection, removeConnection, setDirty |
Methods inherited from class org.musoft.limo.model.ModelFigureElement |
addChild, canSetBounds, canSetName, canSetPosition, clear, fireAddChild, fireCreateChild, fireCreateConnection, fireRemoveChild, fireSetParent, getBounds, getCenter, getChild, getChild, getChildCount, getChildren, getChildren, getChildren, getCorner, getFullName, getMaximumBounds, getMinimumBounds, getModel, getNeededBounds, getParent, getPosition, getValidChildName, indexOfChild, indexOfChild, isChildOf, layout, removeChild, setBounds, setBounds, setCenter, setIndex, setParent, setPosition, setPosition |
Methods inherited from class org.musoft.limo.model.ModelElement |
addAttribute, addAttributeNew, addListener, associationEndChanged, dump, fireDestroy, fireSetName, getAttribute, getAttribute, getAttributeCount, getListener, getListenerCount, indexOfAttribute, removeListener, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public MiningMartChain(MiningMartApplication app, Case thecase, Chain chain, java.lang.String casename, java.awt.Point point, java.awt.Rectangle bounds, org.musoft.limo.model.ModelFigureElement parent)
MiningMartChain
with the given parameters.
Method Detail |
public void setDeleteInDatabase(boolean bool, boolean propagate)
public boolean canDeleteInDatabase()
public int getTransitionCounter()
public int incrementTransitionCounter()
public int decrementTransitionCounter()
public MiningMartApplication getMMartApplication()
MiningMartAplication
.
public void initTheChain()
MiningMartChain
.
public void organizeTransitions(boolean check) throws M4Exception
M4Exception
public boolean existsTransition(org.musoft.limo.model.ModelFigureElement start, org.musoft.limo.model.ModelFigureElement end)
ModelFigureElement
s exists.
public MiningMartStep addMiningMartStep(org.musoft.limo.model.ModelFigureElement parent, MiningMartStep step)
MiningMartStep
to this MiningMartChain
.
public MiningMartStep createMiningMartStep(org.musoft.limo.model.ModelFigureElement parent, java.lang.String opname, java.awt.Point position, java.awt.Rectangle bounds)
MiningMartStep
with the specified parameters.
parent
- The created MiningMartStep
is child of this ModelFigureElement
.opname
- the name of the operator of the step.position
- the MiningMartStep
is placed at this point.bounds
- the bounds of the figure.
public MiningMartStep createMiningMartStep(org.musoft.limo.model.ModelFigureElement parent, Step step, java.awt.Point position, java.awt.Rectangle bounds)
MiningMartStep
with the specified parameters.
parent
- The created MiningMartStep
is child of this ModelFigureElement
.position
- the MiningMartStep
is placed at this point.bounds
- the bounds of the figure.
public MiningMartChain addMiningMartChain(org.musoft.limo.model.ModelFigureElement parent, MiningMartChain chain)
MiningMartChain
to this MiningMartChain
.
public MiningMartChain createMiningMartChain(org.musoft.limo.model.ModelFigureElement parent, java.lang.String name, java.awt.Point point, java.awt.Rectangle bounds)
MiningMartChain
.
parent
- the MiningMartChain is child of this ModelFigureElement
.name
- the name of the MiningMartChain
point
- the MiningMartChain
is placed at this point.bounds
- the bounds of the figure.public MiningMartChain createMiningMartChain(org.musoft.limo.model.ModelFigureElement parent, Chain chain, java.awt.Point point, java.awt.Rectangle bounds)
MiningMartChain
.
parent
- the MiningMartChain is child of this ModelFigureElement
.chain
- the created MiningMartChain
wrapps this Chain
.point
- the MiningMartChain
is placed at this point.bounds
- the bounds of the MiningMartChain
.public StepTransition addStepTransition(StepTransition transition)
StepTransition
to this MiningMartChain
.
public StepTransition createTransition(java.lang.String name, org.musoft.limo.model.ModelFigureElement start, org.musoft.limo.model.ModelFigureElement end, boolean existsTransition)
StepTransition
.
start
- the StepTransition
starts at this ModelFigureElement
.end
- the StepTransition
ends at this ModelFigureElement
.existsTransition
- if the transition exists then no new TransitionFigure
is added.public boolean canSetParent(org.musoft.limo.model.ModelFigureElement parent)
public java.awt.Point getOrigin()
public java.lang.String getType()
public java.lang.String getName()
MiningMartChain
.
Chain- See Also:
M4Object.getName()
public void setName(java.lang.String name)
MiningMartChain
.
It means it sets the name of the Chain
.
M4Object.setName(String)
public void primitiveAttributeChanged(org.musoft.limo.model.ModelPrimitiveAttribute mpa)
MiningMartChain
changed then set the documentation of the underlying Chain
.
primitiveAttributeChanged
in class MiningMartModel
ModelElement.primitiveAttributeChanged(ModelPrimitiveAttribute)
public Case getTheCase()
Case
.
public Chain getChain()
Chain
.
public boolean canDestroy()
public void destroy()
MiningMartChain
and deletes the underlying Chain
.
ModelElement.destroy()
public void dissolveMiningMartChain(MiningMartChain mchain) throws M4Exception
MiningMartChain
.
M4Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |