edu.udo.cs.miningmart.gui.model
Class MiningMartStep

java.lang.Object
  extended byorg.musoft.limo.model.ModelElement
      extended byorg.musoft.limo.model.ModelFigureElement
          extended byedu.udo.cs.miningmart.gui.model.MiningMartModelFigureElement
              extended byedu.udo.cs.miningmart.gui.model.MiningMartStep

public class MiningMartStep
extends MiningMartModelFigureElement

A wrapper for Steps. A MiningMartStep could be a child of a MiningMartChain.

Version:
$Id: MiningMartStep.java,v 1.4 2006/04/11 14:10:15 euler Exp $
Author:
Daniel Hakenjos

Field Summary
 
Fields inherited from class edu.udo.cs.miningmart.gui.model.MiningMartModelFigureElement
mayChangeDocumentation
 
Constructor Summary
MiningMartStep(MiningMartApplication app, Step step, org.musoft.limo.model.ModelFigureElement parent, java.awt.Point position, java.awt.Rectangle bounds)
          Creates a new MiningMartStep with the given parameters.
 
Method Summary
 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)
           
 void destroy()
          Destroys the MiningMartStep and deletes the underlying Step.
 MiningMartApplication getMMartApplication()
          Gets the MiningMartApplication.
 java.lang.String getName()
          Gets the name of the MiningMartStep.
 Step getStep()
           
 java.lang.String getType()
           
 void primitiveAttributeChanged(org.musoft.limo.model.ModelPrimitiveAttribute mpa)
          If the description of this MiningMartStep changed then set the documentation of the underlying Step.
 void setBounds(java.awt.Rectangle bounds)
          Sets the bounds of the MiningMartStep.
 void setDeleteInDatabase(boolean bool)
          Sets the flag that this object could be deleted in the database.
 void setName(java.lang.String name)
          Sets the name of the MiningMartStep.
 void setPosition(java.awt.Point p)
          Sets the position of this MiningMartStep.
 
Methods inherited from class org.musoft.limo.model.ModelFigureElement
addChild, canAddChild, canRemoveChild, canSetBounds, canSetName, canSetPosition, clear, fireAddChild, fireCreateChild, fireCreateConnection, fireRemoveChild, fireSetParent, getBounds, getCenter, getChild, getChild, getChildCount, getChildOrConnection, getChildren, getChildren, getChildren, getCorner, getElement, getFullName, getMaximumBounds, getMinimumBounds, getModel, getNeededBounds, getParent, getPosition, getValidChildName, indexOfChild, indexOfChild, isChildOf, layout, removeChild, setBounds, setCenter, setIndex, setParent, setPosition
 
Methods inherited from class org.musoft.limo.model.ModelElement
addAttribute, addAttributeNew, addListener, associationEndChanged, changed, dump, fireDestroy, fireSetName, getAttribute, getAttribute, getAttributeCount, getListener, getListenerCount, getRootModel, indexOfAttribute, removeListener, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MiningMartStep

public MiningMartStep(MiningMartApplication app,
                      Step step,
                      org.musoft.limo.model.ModelFigureElement parent,
                      java.awt.Point position,
                      java.awt.Rectangle bounds)
Creates a new MiningMartStep with the given parameters.

Method Detail

setDeleteInDatabase

public void setDeleteInDatabase(boolean bool)
Sets the flag that this object could be deleted in the database.


canDeleteInDatabase

public boolean canDeleteInDatabase()
Gets the flag indicating that this obkect can be deleted in the database.


getMMartApplication

public MiningMartApplication getMMartApplication()
Gets the MiningMartApplication.


canSetParent

public boolean canSetParent(org.musoft.limo.model.ModelFigureElement parent)

getType

public java.lang.String getType()

getName

public java.lang.String getName()
Gets the name of the MiningMartStep.

Returns:
returns the name of the Step
See Also:
M4Object.getName()

setName

public void setName(java.lang.String name)
Sets the name of the MiningMartStep. It means it sets the name of the Step.

See Also:
M4Object.setName(String)

getStep

public Step getStep()

primitiveAttributeChanged

public void primitiveAttributeChanged(org.musoft.limo.model.ModelPrimitiveAttribute mpa)
If the description of this MiningMartStep changed then set the documentation of the underlying Step.

Overrides:
primitiveAttributeChanged in class MiningMartModelFigureElement
See Also:
ModelElement.primitiveAttributeChanged(ModelPrimitiveAttribute)

setBounds

public void setBounds(java.awt.Rectangle bounds)
Sets the bounds of the MiningMartStep. The location of the underlying Step is set to the location of the bounds.

See Also:
ModelFigureElement.setBounds(Rectangle)

setPosition

public void setPosition(java.awt.Point p)
Sets the position of this MiningMartStep. The position of the underlying Step also changes.


canDestroy

public boolean canDestroy()

destroy

public void destroy()
Destroys the MiningMartStep and deletes the underlying Step.

See Also:
ModelElement.destroy()


Copyright © 2001-2005