org.state4j.sm
Class SmTransitionImpl

java.lang.Object
  extended by org.state4j.sm.SmTransitionImpl
All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean, org.state4j.sm.SmTransition

public class SmTransitionImpl
extends java.lang.Object
implements org.state4j.sm.SmTransition, org.springframework.beans.factory.InitializingBean


Field Summary
(package private)  org.apache.commons.logging.Log logger
           
 
Constructor Summary
SmTransitionImpl()
           
 
Method Summary
 void afterPropertiesSet()
           
 void fire(org.state4j.sm.SmContext cntx)
           
 boolean fireable(org.state4j.sm.SmContext cntx, boolean withTrigger)
           
 org.state4j.sm.SmAction getAction()
           
 org.state4j.sm.SmGuardCondition getGuardCondition()
           
 org.state4j.sm.SmCompositeState getLCA()
           
 java.lang.String getName()
           
 org.state4j.sm.SmState getStateIn()
           
 org.state4j.sm.SmState getStateOut()
           
 java.lang.String getSubtype()
           
 boolean hasAction()
           
 boolean hasGuardCondition()
           
 boolean hasLCA()
           
 boolean hasName()
           
 boolean hasStateIn()
           
 boolean hasStateOut()
           
 boolean hasSubtype()
           
 boolean isInternal()
           
 void setAction(org.state4j.sm.SmAction action)
           
 void setGuardCondition(org.state4j.sm.SmGuardCondition guardCondition)
           
 void setLCA(org.state4j.sm.SmCompositeState lca)
           
 void setName(java.lang.String name)
           
 void setStateIn(org.state4j.sm.SmState stateIn)
           
 void setStateOut(org.state4j.sm.SmState stateOut)
           
 void setSubtype(java.lang.String subtype)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

org.apache.commons.logging.Log logger
Constructor Detail

SmTransitionImpl

public SmTransitionImpl()
Method Detail

hasGuardCondition

public boolean hasGuardCondition()
Specified by:
hasGuardCondition in interface org.state4j.sm.SmTransition

hasAction

public boolean hasAction()
Specified by:
hasAction in interface org.state4j.sm.SmTransition

getGuardCondition

public org.state4j.sm.SmGuardCondition getGuardCondition()
Specified by:
getGuardCondition in interface org.state4j.sm.SmTransition

setGuardCondition

public void setGuardCondition(org.state4j.sm.SmGuardCondition guardCondition)
Specified by:
setGuardCondition in interface org.state4j.sm.SmTransition

getAction

public org.state4j.sm.SmAction getAction()
Specified by:
getAction in interface org.state4j.sm.SmTransition

setAction

public void setAction(org.state4j.sm.SmAction action)
Specified by:
setAction in interface org.state4j.sm.SmTransition

getStateIn

public org.state4j.sm.SmState getStateIn()
Specified by:
getStateIn in interface org.state4j.sm.SmTransition

setStateIn

public void setStateIn(org.state4j.sm.SmState stateIn)
Specified by:
setStateIn in interface org.state4j.sm.SmTransition

getStateOut

public org.state4j.sm.SmState getStateOut()
Specified by:
getStateOut in interface org.state4j.sm.SmTransition

setStateOut

public void setStateOut(org.state4j.sm.SmState stateOut)
Specified by:
setStateOut in interface org.state4j.sm.SmTransition

getName

public java.lang.String getName()
Specified by:
getName in interface org.state4j.sm.SmTransition

setName

public void setName(java.lang.String name)
Specified by:
setName in interface org.state4j.sm.SmTransition

getSubtype

public java.lang.String getSubtype()
Specified by:
getSubtype in interface org.state4j.sm.SmTransition

setSubtype

public void setSubtype(java.lang.String subtype)
Specified by:
setSubtype in interface org.state4j.sm.SmTransition

hasSubtype

public boolean hasSubtype()
Specified by:
hasSubtype in interface org.state4j.sm.SmTransition

fire

public void fire(org.state4j.sm.SmContext cntx)
Specified by:
fire in interface org.state4j.sm.SmTransition

fireable

public boolean fireable(org.state4j.sm.SmContext cntx,
                        boolean withTrigger)
Specified by:
fireable in interface org.state4j.sm.SmTransition

isInternal

public boolean isInternal()
Specified by:
isInternal in interface org.state4j.sm.SmTransition

hasStateIn

public boolean hasStateIn()
Specified by:
hasStateIn in interface org.state4j.sm.SmTransition

hasStateOut

public boolean hasStateOut()
Specified by:
hasStateOut in interface org.state4j.sm.SmTransition

hasName

public boolean hasName()
Specified by:
hasName in interface org.state4j.sm.SmTransition

setLCA

public void setLCA(org.state4j.sm.SmCompositeState lca)
Specified by:
setLCA in interface org.state4j.sm.SmTransition

getLCA

public org.state4j.sm.SmCompositeState getLCA()
Specified by:
getLCA in interface org.state4j.sm.SmTransition

hasLCA

public boolean hasLCA()
Specified by:
hasLCA in interface org.state4j.sm.SmTransition

afterPropertiesSet

public void afterPropertiesSet()
                        throws java.lang.Exception
Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
Throws:
java.lang.Exception


Copyright © 2006 . All Rights Reserved.