com.ebmwebsourcing.easyviper.core.impl.engine
Class TransitionImpl

Package class diagram package TransitionImpl
java.lang.Object
  extended by com.ebmwebsourcing.easyviper.core.impl.engine.ExecutableElementImpl
      extended by com.ebmwebsourcing.easyviper.core.impl.engine.TransitionImpl
All Implemented Interfaces:
com.ebmwebsourcing.easyviper.core.api.engine.Element, com.ebmwebsourcing.easyviper.core.api.engine.ExecutableElement, com.ebmwebsourcing.easyviper.core.api.engine.FractalComponent, com.ebmwebsourcing.easyviper.core.api.engine.Transition, java.io.Serializable

public class TransitionImpl
extends ExecutableElementImpl
implements com.ebmwebsourcing.easyviper.core.api.engine.Transition

Author:
Nicolas Salatge - eBM WebSourcing
See Also:
Serialized Form

Constructor Summary
TransitionImpl()
          Default constructor
 
Method Summary
 void create()
          Create the scope behaviour
 void destroy()
          Destroy the TransitionImpl
 void execute()
           
 java.util.Map<java.lang.String,com.ebmwebsourcing.easyviper.core.api.engine.behaviour.nonfunctionnal.NonFunctionnalBehaviour> getBehaviours()
           
 org.objectweb.fractal.api.Component getComponent()
           
 com.ebmwebsourcing.easyviper.core.api.engine.Node getDestination()
           
 com.ebmwebsourcing.easyviper.core.api.engine.Execution getExecution()
           
 java.lang.String getName()
           
 com.ebmwebsourcing.easyviper.core.api.engine.Node getSource()
           
 void init(org.objectweb.fractal.api.Component fractalNode)
           
 void selectDefaultNextTarget()
           
 void setBehaviours(java.util.Map<java.lang.String,com.ebmwebsourcing.easyviper.core.api.engine.behaviour.nonfunctionnal.NonFunctionnalBehaviour> nfBehaviours)
           
 void setLog(java.util.logging.Logger logger)
           
 void setName(java.lang.String name)
           
 void start()
          Start the NodeImpl behaviour
 void stop()
          Stop the NodeImpl behaviour
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransitionImpl

public TransitionImpl()
Default constructor

Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException
Method Detail

create

public void create()
            throws com.ebmwebsourcing.easyviper.core.api.CoreException
Create the scope behaviour

Specified by:
create in interface com.ebmwebsourcing.easyviper.core.api.engine.FractalComponent
Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException

init

public void init(org.objectweb.fractal.api.Component fractalNode)
          throws com.ebmwebsourcing.easyviper.core.api.CoreException
Specified by:
init in interface com.ebmwebsourcing.easyviper.core.api.engine.FractalComponent
Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException

start

public void start()
           throws com.ebmwebsourcing.easyviper.core.api.CoreException
Start the NodeImpl behaviour

Specified by:
start in interface com.ebmwebsourcing.easyviper.core.api.engine.FractalComponent
Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException

stop

public void stop()
          throws com.ebmwebsourcing.easyviper.core.api.CoreException
Stop the NodeImpl behaviour

Specified by:
stop in interface com.ebmwebsourcing.easyviper.core.api.engine.FractalComponent
Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException

destroy

public void destroy()
             throws com.ebmwebsourcing.easyviper.core.api.CoreException
Destroy the TransitionImpl

Specified by:
destroy in interface com.ebmwebsourcing.easyviper.core.api.engine.FractalComponent
Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException

getComponent

public org.objectweb.fractal.api.Component getComponent()
Specified by:
getComponent in interface com.ebmwebsourcing.easyviper.core.api.engine.FractalComponent

getDestination

public com.ebmwebsourcing.easyviper.core.api.engine.Node getDestination()
Specified by:
getDestination in interface com.ebmwebsourcing.easyviper.core.api.engine.Transition

getSource

public com.ebmwebsourcing.easyviper.core.api.engine.Node getSource()

getName

public java.lang.String getName()
                         throws com.ebmwebsourcing.easyviper.core.api.CoreException
Specified by:
getName in interface com.ebmwebsourcing.easyviper.core.api.engine.FractalComponent
Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException

setName

public void setName(java.lang.String name)
             throws com.ebmwebsourcing.easyviper.core.api.CoreException
Specified by:
setName in interface com.ebmwebsourcing.easyviper.core.api.engine.FractalComponent
Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException

execute

public void execute()
             throws com.ebmwebsourcing.easyviper.core.api.CoreException
Specified by:
execute in interface com.ebmwebsourcing.easyviper.core.api.engine.ExecutableElement
Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException

selectDefaultNextTarget

public void selectDefaultNextTarget()
                             throws com.ebmwebsourcing.easyviper.core.api.CoreException
Specified by:
selectDefaultNextTarget in interface com.ebmwebsourcing.easyviper.core.api.engine.ExecutableElement
Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException

getExecution

public com.ebmwebsourcing.easyviper.core.api.engine.Execution getExecution()
Specified by:
getExecution in interface com.ebmwebsourcing.easyviper.core.api.engine.ExecutableElement

setLog

public void setLog(java.util.logging.Logger logger)
Specified by:
setLog in interface com.ebmwebsourcing.easyviper.core.api.engine.Element

getBehaviours

public java.util.Map<java.lang.String,com.ebmwebsourcing.easyviper.core.api.engine.behaviour.nonfunctionnal.NonFunctionnalBehaviour> getBehaviours()
Specified by:
getBehaviours in interface com.ebmwebsourcing.easyviper.core.api.engine.Transition

setBehaviours

public void setBehaviours(java.util.Map<java.lang.String,com.ebmwebsourcing.easyviper.core.api.engine.behaviour.nonfunctionnal.NonFunctionnalBehaviour> nfBehaviours)
Specified by:
setBehaviours in interface com.ebmwebsourcing.easyviper.core.api.engine.Transition


Copyright © 2009-2010 eBM WebSourcing. All Rights Reserved.