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

java.lang.Object
  extended byorg.musoft.limo.model.ModelElement
      extended byorg.musoft.limo.model.ModelConnectionElement
          extended byedu.udo.cs.miningmart.gui.model.MiningMartRelation

public class MiningMartRelation
extends org.musoft.limo.model.ModelConnectionElement

This is a ModelConnectionElement between MiningMartConcepts representing a Relation.

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

Constructor Summary
MiningMartRelation()
          Constructs new MiningMartRelation.
MiningMartRelation(MiningMartApplication app, Relation relation, java.lang.String name, org.musoft.limo.model.Model model, org.musoft.limo.model.ModelFigureElement start, org.musoft.limo.model.ModelFigureElement end)
          Constructs new MiningMartRelation with the given parameters.
 
Method Summary
 boolean canConnect(org.musoft.limo.model.ModelFigureElement start, org.musoft.limo.model.ModelFigureElement end)
           
 boolean canDeleteInDatabase()
          Gets the flag indicating that this obkect can be deleted in the database.
 boolean canDestroy()
           
 boolean canSetName(java.lang.String name)
           
 void destroy()
          Destroys this MiningMartRelation and deletes the Relation.
protected  java.lang.Class getEndClass()
          Gets the end class.
protected  java.lang.String getEndName()
          Gets the end name.
 MiningMartApplication getMMartApplication()
          Gets the MiningMartApplication.
 Relation getRelation()
           
protected  java.lang.Class getStartClass()
          Gets the start-class.
protected  java.lang.String getStartName()
          Gets the start-name.
 java.lang.String getType()
           
 void primitiveAttributeChanged(org.musoft.limo.model.ModelPrimitiveAttribute mpa)
          If the description of this MiningMartRelation changed then set the documentation of the underlying Relation.
 void setDeleteInDatabase(boolean bool)
          Sets the flag that this object could be deleted in the database.
 void setMMartApplication(MiningMartApplication app)
          Sets the MiningMartApplication.
 void setRelation(Relation relation)
          Sets the Relation.
 java.lang.String toString()
           
 
Methods inherited from class org.musoft.limo.model.ModelConnectionElement
getEnd, getFullName, getModel, getPoints, getStart, setEnd, setModel, setPoints, setStart
 
Methods inherited from class org.musoft.limo.model.ModelElement
addAttribute, addAttributeNew, addListener, associationEndChanged, changed, clear, dump, fireDestroy, fireSetName, getAttribute, getAttribute, getAttributeCount, getChildOrConnection, getListener, getListenerCount, getName, getRootModel, indexOfAttribute, removeListener, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MiningMartRelation

public MiningMartRelation()
Constructs new MiningMartRelation.


MiningMartRelation

public MiningMartRelation(MiningMartApplication app,
                          Relation relation,
                          java.lang.String name,
                          org.musoft.limo.model.Model model,
                          org.musoft.limo.model.ModelFigureElement start,
                          org.musoft.limo.model.ModelFigureElement end)
Constructs new MiningMartRelation with the given parameters.

Parameters:
name - the name of the output- and input-concept
Method Detail

setRelation

public void setRelation(Relation relation)
Sets the Relation.


setMMartApplication

public void setMMartApplication(MiningMartApplication app)
Sets the MiningMartApplication.


getMMartApplication

public MiningMartApplication getMMartApplication()
Gets the MiningMartApplication.


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.


canConnect

public boolean canConnect(org.musoft.limo.model.ModelFigureElement start,
                          org.musoft.limo.model.ModelFigureElement end)

getStartClass

protected java.lang.Class getStartClass()
Gets the start-class.


getStartName

protected java.lang.String getStartName()
Gets the start-name.


getEndClass

protected java.lang.Class getEndClass()
Gets the end class.


getEndName

protected java.lang.String getEndName()
Gets the end name.


toString

public java.lang.String toString()

canDestroy

public boolean canDestroy()

getType

public java.lang.String getType()

destroy

public void destroy()
Destroys this MiningMartRelation and deletes the Relation.

See Also:
ModelElement.destroy()

canSetName

public boolean canSetName(java.lang.String name)
See Also:
ModelElement.canSetName(String)

getRelation

public Relation getRelation()

primitiveAttributeChanged

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

See Also:
ModelElement.primitiveAttributeChanged(ModelPrimitiveAttribute)


Copyright © 2001-2005