org.state4j.sm
Interface SmState

All Known Subinterfaces:
SmCompositeState, SmSimpleState

public interface SmState


Method Summary
 void addOutTransition(SmTransition transition)
           
 SmState closeDownState()
           
 boolean containsState(SmState state)
           
 boolean deepContainsState(SmState state)
           
 void entry(SmContext cntx)
           
 void entryUp(SmContext cntx, SmCompositeState lca)
           
 void exit(SmContext cntx)
           
 void exitUp(SmContext cntx, SmCompositeState lca)
           
 void fire(SmContext cntx)
           
 SmAction getEntryAction()
           
 SmAction getExitAction()
           
 java.util.List<SmTransition> getFireableTransitions(SmContext cntx, boolean withTrigger)
           
 java.lang.String getName()
           
 SmTransition getOutTransition(java.lang.String name)
           
 java.util.Map getOutTransitions()
           
 SmCompositeState getParent()
           
 java.lang.String getSubtype()
           
 boolean hasEntryAction()
           
 boolean hasExitAction()
           
 boolean hasName()
           
 boolean hasOutTransition(java.lang.String name)
           
 boolean hasOutTransitions()
           
 boolean hasParent()
           
 boolean hasSubtype()
           
 void init()
           
 boolean isActive(SmContext cntx)
           
 boolean isFinal()
           
 boolean isInitial()
           
 void setEntryAction(SmAction action)
           
 void setExitAction(SmAction action)
           
 void setName(java.lang.String name)
           
 void setOutTransitions(java.util.Map<java.lang.String,SmTransition> transitions)
           
 void setParent(SmCompositeState name)
           
 void setSubtype(java.lang.String subtype)
           
 

Method Detail

getName

java.lang.String getName()

setName

void setName(java.lang.String name)

hasName

boolean hasName()

getParent

SmCompositeState getParent()

setParent

void setParent(SmCompositeState name)

hasParent

boolean hasParent()

getSubtype

java.lang.String getSubtype()

setSubtype

void setSubtype(java.lang.String subtype)

hasSubtype

boolean hasSubtype()

getEntryAction

SmAction getEntryAction()

setEntryAction

void setEntryAction(SmAction action)

hasEntryAction

boolean hasEntryAction()

getExitAction

SmAction getExitAction()

setExitAction

void setExitAction(SmAction action)

hasExitAction

boolean hasExitAction()

exit

void exit(SmContext cntx)

entry

void entry(SmContext cntx)

isInitial

boolean isInitial()

isFinal

boolean isFinal()

getOutTransition

SmTransition getOutTransition(java.lang.String name)

getOutTransitions

java.util.Map getOutTransitions()

addOutTransition

void addOutTransition(SmTransition transition)

hasOutTransition

boolean hasOutTransition(java.lang.String name)

hasOutTransitions

boolean hasOutTransitions()

setOutTransitions

void setOutTransitions(java.util.Map<java.lang.String,SmTransition> transitions)

fire

void fire(SmContext cntx)

getFireableTransitions

java.util.List<SmTransition> getFireableTransitions(SmContext cntx,
                                                    boolean withTrigger)

isActive

boolean isActive(SmContext cntx)

closeDownState

SmState closeDownState()

containsState

boolean containsState(SmState state)

deepContainsState

boolean deepContainsState(SmState state)

init

void init()

exitUp

void exitUp(SmContext cntx,
            SmCompositeState lca)

entryUp

void entryUp(SmContext cntx,
             SmCompositeState lca)


Copyright © 2006 . All Rights Reserved.