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

java.lang.Object
  extended by org.musoft.limo.model.ModelElement
      extended by org.musoft.limo.model.ModelConnectionElement
          extended by edu.udo.cs.miningmart.gui.model.MiningMartSubConcept

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

Version:
$Id: MiningMartSubConcept.java,v 1.5 2006/09/27 15:00:00 euler Exp $
Author:
Daniel Hakenjos

Constructor Summary
MiningMartSubConcept()
           
MiningMartSubConcept(MiningMartApplication app, java.lang.String name, org.musoft.limo.model.Model model, MiningMartConcept superconcept, MiningMartConcept subconcept)
          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 MiningMartSubConcept and deletes the SubConcept-Relation.
protected  java.lang.Class getEndClass()
          Gets the end class.
protected  java.lang.String getEndName()
          Gets the end name.
 MiningMartApplication getMMartApplication()
          Gets the MiningMartApplication.
protected  java.lang.Class getStartClass()
          Gets the start-class.
protected  java.lang.String getStartName()
          Gets the start-name.
 java.lang.String getType()
           
 void setDeleteInDatabase(boolean bool)
          Sets the flag that this object could be deleted in the database.
 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, primitiveAttributeChanged, removeListener, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MiningMartSubConcept

public MiningMartSubConcept()

MiningMartSubConcept

public MiningMartSubConcept(MiningMartApplication app,
                            java.lang.String name,
                            org.musoft.limo.model.Model model,
                            MiningMartConcept superconcept,
                            MiningMartConcept subconcept)
Constructs new MiningMartRelation with the given parameters.

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

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)
Overrides:
canConnect in class org.musoft.limo.model.ModelConnectionElement

getStartClass

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

Specified by:
getStartClass in class org.musoft.limo.model.ModelConnectionElement

getStartName

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

Specified by:
getStartName in class org.musoft.limo.model.ModelConnectionElement

getEndClass

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

Specified by:
getEndClass in class org.musoft.limo.model.ModelConnectionElement

getEndName

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

Specified by:
getEndName in class org.musoft.limo.model.ModelConnectionElement

toString

public java.lang.String toString()
Overrides:
toString in class org.musoft.limo.model.ModelElement

canDestroy

public boolean canDestroy()
Overrides:
canDestroy in class org.musoft.limo.model.ModelElement

getType

public java.lang.String getType()
Overrides:
getType in class org.musoft.limo.model.ModelElement

destroy

public void destroy()
Destroys this MiningMartSubConcept and deletes the SubConcept-Relation.

Overrides:
destroy in class org.musoft.limo.model.ModelConnectionElement
See Also:
ModelElement.destroy()

canSetName

public boolean canSetName(java.lang.String name)
Overrides:
canSetName in class org.musoft.limo.model.ModelConnectionElement
See Also:
ModelElement.canSetName(String)


Copyright © 2001-2005