Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## edu.udo.cs.miningmart.gui.model
Class MiningMartBaseAttribute

    java.lang.Object
      org.musoft.limo.model.ModelElement
          org.musoft.limo.model.ModelFigureElement
              edu.udo.cs.miningmart.gui.model.MiningMartModelFigureElement
                  edu.udo.cs.miningmart.gui.model.MiningMartBaseAttribute

public class MiningMartBaseAttribute
extends MiningMartModelFigureElement

A wrapper for the `BaseAttribute`.

Version:
  $Id: MiningMartBaseAttribute.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
`MiningMartBaseAttribute(MiningMartApplication app, BaseAttribute baseattribute, org.musoft.limo.model.ModelFigureElement parent, java.awt.Point position, java.awt.Rectangle bounds)` Creates a new `MiningMartBaseAttribute` 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 `MiningMartConcept` and deletes the underlying `Concept`.
`BaseAttribute` | `getBaseAttribute()` Gets the `BaseAttribute`.
`MiningMartApplication` | `getMMartApplication()` Gets the `MiningMartApplication`.
`java.lang.String` | `getName()` Gets the name of the `MiningMartBaseAttribute`.
`java.lang.String` | `getType()`
`void` | `primitiveAttributeChanged(org.musoft.limo.model.ModelPrimitiveAttribute mpa)` If the description of this `MiningMartBaseAttribute` changed then set the documentation of the underlying `BaseAttribute`.
`void` | `setBounds(java.awt.Rectangle bounds)` Sets the bounds of the `MiningMartBaseAttribute`.
`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 `MiningMartBaseAttribute`.
`void` | `setPosition(java.awt.Point p)` Sets the position of this `MiningMartConcept`.

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

### MiningMartBaseAttribute

    public MiningMartBaseAttribute(MiningMartApplication app,
                                   BaseAttribute baseattribute,
                                   org.musoft.limo.model.ModelFigureElement parent,
                                   java.awt.Point position,
                                   java.awt.Rectangle bounds)

  Creates a new `MiningMartBaseAttribute` with the given parameters.

Method Detail

### 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 `MiningMartBaseAttribute`.

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

### setName

    public void setName(java.lang.String name)

  Sets the name of the `MiningMartBaseAttribute`. It means it sets the name of the `BaseAttribute`.

  See Also:
    `M4Object.setName(String)`

### getBaseAttribute

    public BaseAttribute getBaseAttribute()

  Gets the `BaseAttribute`.

### primitiveAttributeChanged

    public void primitiveAttributeChanged(org.musoft.limo.model.ModelPrimitiveAttribute mpa)

  If the description of this `MiningMartBaseAttribute` changed then set the documentation of the underlying `BaseAttribute`.

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

### setBounds

    public void setBounds(java.awt.Rectangle bounds)

  Sets the bounds of the `MiningMartBaseAttribute`. The location of the underlying `BaseAttribute` 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 `MiningMartConcept`. The position of the underlying `Concept` also changes.

### canDestroy

    public boolean canDestroy()

### destroy

    public void destroy()

  Destroys the `MiningMartConcept` and deletes the underlying `Concept`.

  See Also:
    `ModelElement.destroy()`

### 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.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2005