|
||||||||||
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.MiningMartCase
A wrapper for a case-object. It's the parent-model.
Case
Field Summary |
Fields inherited from class edu.udo.cs.miningmart.gui.model.MiningMartModel |
mayChangeDocumentation |
Constructor Summary | |
MiningMartCase(MiningMartApplication app,
Case thecase)
Creates a new MiningMartCase. |
Method Summary | |
MiningMartChain |
addMiningMartChain(org.musoft.limo.model.ModelFigureElement parent,
MiningMartChain chain)
Adds a MiningMartChain to this MiningMartCase . |
StepTransition |
addStepTransition(StepTransition transition)
Adds the specified StepTransition to this MiningMartCase . |
boolean |
canAddChild(org.musoft.limo.model.ModelFigureElement child)
|
boolean |
canDeleteInDatabase()
Gets the flag indicating that this obkect can be deleted in the database. |
boolean |
canDestroy()
|
boolean |
canRemoveChild(org.musoft.limo.model.ModelFigureElement child)
|
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 with the specified parameters. |
MiningMartChain |
createMiningMartChain(org.musoft.limo.model.ModelFigureElement parent,
java.lang.String name,
java.awt.Point point,
java.awt.Rectangle bounds)
Creates a new MiningMartChain 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()
|
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. |
MiningMartApplication |
getMMartApplication()
Gets the MiningMartApplication . |
java.lang.String |
getName()
Gets the name of the MiningMartCase . |
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 |
initTheCase()
Inits this MiningMartCase .
|
void |
organizeTransitions(boolean check)
Organizes the transitions. |
void |
primitiveAttributeChanged(org.musoft.limo.model.ModelPrimitiveAttribute mpa)
If the description of this MiningMartCase changed then set the documentation of the underlying Case . |
void |
setDeleteInDatabase(boolean bool,
boolean propagate)
Sets the flag that this object could be deleted in the database. |
void |
setDirty(boolean dirty)
Sets the MiningMartCase dirty. |
void |
setName(java.lang.String name)
Sets the name of the MiningMartCase .
|
Methods inherited from class org.musoft.limo.model.Model |
addConnection, changed, getChildOrConnection, getConnection, getConnection, getConnectionCount, getConnections, getDirty, getElement, getRootModel, getValidConnectionName, indexOfConnection, indexOfConnection, removeConnection, removeConnection |
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 MiningMartCase(MiningMartApplication app, Case thecase)
Method Detail |
public void setDeleteInDatabase(boolean bool, boolean propagate)
public boolean canDeleteInDatabase()
public int getTransitionCounter()
public int incrementTransitionCounter()
public int decrementTransitionCounter()
public MiningMartApplication getMMartApplication()
MiningMartApplication
.
public void initTheCase()
MiningMartCase
.
It loads the chains and transitions between chains.
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 MiningMartChain addMiningMartChain(org.musoft.limo.model.ModelFigureElement parent, MiningMartChain chain)
MiningMartChain
to this MiningMartCase
.
public MiningMartChain createMiningMartChain(org.musoft.limo.model.ModelFigureElement parent, java.lang.String name, java.awt.Point point, java.awt.Rectangle bounds)
MiningMartChain
with the specified parameters.
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
with the specified parameters.
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 MiningMartCase
.
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 canAddChild(org.musoft.limo.model.ModelFigureElement child)
public boolean canRemoveChild(org.musoft.limo.model.ModelFigureElement child)
public boolean canSetParent(org.musoft.limo.model.ModelFigureElement parent)
public java.lang.String getType()
public java.lang.String getName()
MiningMartCase
.
Case- See Also:
M4Object.getName()
public void setName(java.lang.String name)
MiningMartCase
.
It means it sets the name of the Case
.
M4Object.setName(String)
public Case getTheCase()
Case
public boolean canDestroy()
public void primitiveAttributeChanged(org.musoft.limo.model.ModelPrimitiveAttribute mpa)
MiningMartCase
changed then set the documentation of the underlying Case
.
primitiveAttributeChanged
in class MiningMartModel
ModelElement.primitiveAttributeChanged(ModelPrimitiveAttribute)
public void setDirty(boolean dirty)
MiningMartCase dirty.
- See Also:
Model.setDirty(boolean)
public void dissolveMiningMartChain(MiningMartChain mchain) throws M4Exception
MiningMartChain
.
M4Exception
public void destroy()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |