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

java.lang.Object
  extended byorg.musoft.limo.model.ModelElement
      extended byorg.musoft.limo.model.ModelConnectionElement
          extended byedu.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.3 2006/04/11 14:10:15 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)

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


getEndName

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


getLabel

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


toString

public java.lang.String toString()

canDestroy

public boolean canDestroy()

getType

public java.lang.String getType()

destroy

public void destroy()
Destroys this StepTransition and removes the dependency in the Case.

See Also:
ModelElement.destroy()

canSetName

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


Copyright © 2001-2005