com.ebmwebsourcing.easyviper.core.impl.engine
Class 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

Field Summary
 
Fields inherited from class com.ebmwebsourcing.easyviper.core.impl.engine.ExecutableElementImpl
nextSelectedExecElmts
 
Constructor Summary
TransitionImpl()
          Default constructor
 
Method Summary
 void create()
          Create the scope behaviour
 void destroy()
          Destroy the NodeImpl behaviour
 void execute()
           
 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()
           
 void init(org.objectweb.fractal.api.Component fractalNode)
           
 java.util.List<com.ebmwebsourcing.easyviper.core.api.engine.ExecutableElement> selectDefaultNextTarget()
           
 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 com.ebmwebsourcing.easyviper.core.impl.engine.ExecutableElementImpl
getNextSelectedExecutableElements
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.ebmwebsourcing.easyviper.core.api.engine.ExecutableElement
getNextSelectedExecutableElements
 

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 NodeImpl behaviour

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

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 java.util.List<com.ebmwebsourcing.easyviper.core.api.engine.ExecutableElement> 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


Copyright © 2009 eBM WebSourcing. All Rights Reserved.