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

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

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

This is a ModelConnectionElement between Steps and/or Chains.

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

Constructor Summary
StepTransition()
          Constructs new StepTransition.
StepTransition(MiningMartApplication app, Case thecase, java.lang.String name, org.musoft.limo.model.Model model, org.musoft.limo.model.ModelFigureElement start, org.musoft.limo.model.ModelFigureElement end)
          Constructs new StepTransition with the given parameters.
 
Method Summary
 boolean addTransitionToCase()
          Adds the transition as a dependency to the Case.
 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 StepTransition and removes the dependency in the Case.
protected  java.lang.Class getEndClass()
          Gets the end clas.
protected  java.lang.String getEndName()
          Gets the end name.
 java.lang.String getLabel()
          Gets the label of this StepTranbsition.
 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 refreshName()
          Refreshs the name of the transition.
 void setDeleteInDatabase(boolean bool)
          Sets the flag that this object could be deleted in the database.
 void setMMartApplication(MiningMartApplication app)
          Sets the MiningMartApplication.
 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

StepTransition

public StepTransition()
Constructs new StepTransition.


StepTransition

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

Parameters:
name - the name of the output- and input-concept
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.


refreshName

public void refreshName()
Refreshs the name of the transition. If TheOutputConcept or TheInputConcept exists then the name of the concept is the name of the transition.


setMMartApplication

public void setMMartApplication(MiningMartApplication app)
Sets the MiningMartApplication.


getMMartApplication

public MiningMartApplication getMMartApplication()
Gets the MiningMartApplication.


addTransitionToCase

public boolean addTransitionToCase()
Adds the transition as a dependency to the Case.


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

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

getLabel

public java.lang.String getLabel()
Gets the label of this StepTranbsition.


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 StepTransition and removes the dependency in the Case.

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