it.amattioli.workstate.core
Class MetaReferenceState
java.lang.Object
it.amattioli.workstate.core.MetaState
it.amattioli.workstate.core.MetaRealState
it.amattioli.workstate.core.MetaReferenceState
- All Implemented Interfaces:
- Receiver
public class MetaReferenceState
- extends MetaRealState
- Author:
- a.mattioli
MetaReferenceState
public MetaReferenceState(String tag,
StateAction entry,
StateAction exit,
String referencedModel)
newState
public State newState(CompositeState parent)
- Description copied from class:
MetaState
- Create a new
State based on this meta-state. Implementations of
this method must call MetaState.checkParentState(CompositeState) to check
that the passed state is admittable as parent state for the state that
will be created.
- Specified by:
newState in class MetaState
- Parameters:
parent - the parent state for the state that will be created
- Returns:
- the new state
receive
public void receive(Visitor visitor)
Copyright © 2011. All Rights Reserved.