org.eclipse.etrice.generator.etricegen.impl
Class ExpandedActorClassImpl

java.lang.Object
  extended by MinimalEObjectImpl.Container
      extended by org.eclipse.etrice.core.room.impl.RoomClassImpl
          extended by org.eclipse.etrice.core.room.impl.StructureClassImpl
              extended by org.eclipse.etrice.core.room.impl.ActorContainerClassImpl
                  extended by org.eclipse.etrice.core.room.impl.ActorClassImpl
                      extended by org.eclipse.etrice.generator.etricegen.impl.ExpandedActorClassImpl
All Implemented Interfaces:
ActorClass, ActorContainerClass, RoomClass, StructureClass, ExpandedActorClass

public class ExpandedActorClassImpl
extends ActorClassImpl
implements ExpandedActorClass

An implementation of the model object 'Expanded Actor Class'.

The following features are implemented:

EMF generated code

Field Summary
protected  ActorClass actorClass
          The cached value of the 'Actor Class' reference.
 
Fields inherited from class org.eclipse.etrice.core.room.impl.ActorClassImpl
abstract_, ABSTRACT_EDEFAULT, annotations, attributes, base, behaviorDocu, COMM_TYPE_EDEFAULT, commType, extPorts, ifPorts, intPorts, operations, serviceImplementations, stateMachine, strSAPs, structureDocu
 
Fields inherited from class org.eclipse.etrice.core.room.impl.ActorContainerClassImpl
actorRefs, ifSPPs, userCode1, userCode2, userCode3
 
Fields inherited from class org.eclipse.etrice.core.room.impl.StructureClassImpl
bindings, connections
 
Fields inherited from class org.eclipse.etrice.core.room.impl.RoomClassImpl
docu, name, NAME_EDEFAULT
 
Constructor Summary
protected ExpandedActorClassImpl()
           
 
Method Summary
 void addOwnObject(StateGraphItem obj)
           
 ActorClass basicGetActorClass()
           
 java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, java.lang.Object newValue)
           
protected  EClass eStaticClass()
           
 void eUnset(int featureID)
           
  getActiveTriggers(State state)
           
 ActorClass getActorClass()
           
 TransitionChain getChain(Transition trans)
           
 java.lang.String getCode(DetailCode code)
           
 ContinuationTransition getDefaultBranch( out)
           
  getIncomingTransitions(StateGraphNode node)
           
 int getInterfaceItemLocalId(InterfaceItem ifitem)
           
 java.lang.String getMessageID(MessageFromIf mif)
           
 StateGraphNode getNode(TransitionTerminal tt)
           
  getOutgoingTransitions(StateGraphNode node)
           
  getOwnTransitionChains()
           
  getOwnTriggers()
           
  getTransitionChains()
           
 java.lang.String getTriggerCodeName(MessageFromIf mif)
           
 java.lang.String getTriggerCodeName(java.lang.String trigger)
           
  getTriggers()
           
 boolean hasStateMachine()
           
 boolean isMatching(Trigger trig, java.lang.String trigstr)
           
 boolean isOwnObject(StateGraphItem obj)
           
 void prepare(IDiagnostician validator)
           
 void release()
           
 void setActorClass(ActorClass newActorClass)
           
 
Methods inherited from class org.eclipse.etrice.core.room.impl.ActorClassImpl
basicGetBase, basicSetBehaviorDocu, basicSetStateMachine, basicSetStructureDocu, eInverseRemove, getAnnotations, getAttributes, getBase, getBehaviorDocu, getCommType, getExtPorts, getIfPorts, getIntPorts, getOperations, getServiceImplementations, getStateMachine, getStrSAPs, getStructureDocu, isAbstract, setAbstract, setBase, setBehaviorDocu, setCommType, setStateMachine, setStructureDocu, toString
 
Methods inherited from class org.eclipse.etrice.core.room.impl.ActorContainerClassImpl
basicSetUserCode1, basicSetUserCode2, basicSetUserCode3, getActorRefs, getIfSPPs, getUserCode1, getUserCode2, getUserCode3, setUserCode1, setUserCode2, setUserCode3
 
Methods inherited from class org.eclipse.etrice.core.room.impl.StructureClassImpl
getBindings, getConnections
 
Methods inherited from class org.eclipse.etrice.core.room.impl.RoomClassImpl
basicSetDocu, getDocu, getName, setDocu, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.etrice.core.room.ActorClass
getAnnotations, getAttributes, getBase, getBehaviorDocu, getCommType, getExtPorts, getIfPorts, getIntPorts, getOperations, getServiceImplementations, getStateMachine, getStrSAPs, getStructureDocu, isAbstract, setAbstract, setBase, setBehaviorDocu, setCommType, setStateMachine, setStructureDocu
 
Methods inherited from interface org.eclipse.etrice.core.room.ActorContainerClass
getActorRefs, getIfSPPs, getUserCode1, getUserCode2, getUserCode3, setUserCode1, setUserCode2, setUserCode3
 
Methods inherited from interface org.eclipse.etrice.core.room.StructureClass
getBindings, getConnections
 
Methods inherited from interface org.eclipse.etrice.core.room.RoomClass
getDocu, getName, setDocu, setName
 

Field Detail

actorClass

protected ActorClass actorClass
The cached value of the 'Actor Class' reference.

See Also:
getActorClass()
EMF generated code
EMF ordered
Constructor Detail

ExpandedActorClassImpl

protected ExpandedActorClassImpl()

EMF generated code
Method Detail

eStaticClass

protected EClass eStaticClass()

Overrides:
eStaticClass in class ActorClassImpl
EMF generated code

getActorClass

public ActorClass getActorClass()

Specified by:
getActorClass in interface ExpandedActorClass
Returns:
the value of the 'Actor Class' reference.
See Also:
ExpandedActorClass.setActorClass(ActorClass), ETriceGenPackage.getExpandedActorClass_ActorClass()
EMF generated code

basicGetActorClass

public ActorClass basicGetActorClass()

EMF generated code

setActorClass

public void setActorClass(ActorClass newActorClass)

Specified by:
setActorClass in interface ExpandedActorClass
Parameters:
newActorClass - the new value of the 'Actor Class' reference.
See Also:
ExpandedActorClass.getActorClass()
EMF generated code

prepare

public void prepare(IDiagnostician validator)

Specified by:
prepare in interface ExpandedActorClass
EMF generated code
NOT

release

public void release()

Specified by:
release in interface ExpandedActorClass
EMF generated code
NOT

addOwnObject

public void addOwnObject(StateGraphItem obj)

Specified by:
addOwnObject in interface ExpandedActorClass
EMF generated code
NOT

isOwnObject

public boolean isOwnObject(StateGraphItem obj)

Specified by:
isOwnObject in interface ExpandedActorClass
EMF generated code
NOT

getInterfaceItemLocalId

public int getInterfaceItemLocalId(InterfaceItem ifitem)

Specified by:
getInterfaceItemLocalId in interface ExpandedActorClass
EMF generated code
NOT

hasStateMachine

public boolean hasStateMachine()

Specified by:
hasStateMachine in interface ExpandedActorClass
EMF generated code
NOT

getCode

public java.lang.String getCode(DetailCode code)

Specified by:
getCode in interface ExpandedActorClass
EMF generated code
NOT

getTriggerCodeName

public java.lang.String getTriggerCodeName(MessageFromIf mif)

Specified by:
getTriggerCodeName in interface ExpandedActorClass
EMF generated code
NOT

getTriggerCodeName

public java.lang.String getTriggerCodeName(java.lang.String trigger)

Specified by:
getTriggerCodeName in interface ExpandedActorClass
EMF generated code
NOT

getOutgoingTransitions

public  getOutgoingTransitions(StateGraphNode node)

Specified by:
getOutgoingTransitions in interface ExpandedActorClass
EMF generated code
NOT

getIncomingTransitions

public  getIncomingTransitions(StateGraphNode node)

Specified by:
getIncomingTransitions in interface ExpandedActorClass
EMF generated code
NOT

getActiveTriggers

public  getActiveTriggers(State state)

Specified by:
getActiveTriggers in interface ExpandedActorClass
EMF generated code
NOT

getTriggers

public  getTriggers()

Specified by:
getTriggers in interface ExpandedActorClass
EMF generated code
NOT

getOwnTriggers

public  getOwnTriggers()

Specified by:
getOwnTriggers in interface ExpandedActorClass
EMF generated code
NOT

getMessageID

public java.lang.String getMessageID(MessageFromIf mif)

Specified by:
getMessageID in interface ExpandedActorClass
EMF generated code
NOT

getChain

public TransitionChain getChain(Transition trans)

Specified by:
getChain in interface ExpandedActorClass
EMF generated code
NOT

getTransitionChains

public  getTransitionChains()

Specified by:
getTransitionChains in interface ExpandedActorClass
EMF generated code
NOT

getOwnTransitionChains

public  getOwnTransitionChains()

Specified by:
getOwnTransitionChains in interface ExpandedActorClass
EMF generated code
NOT

getNode

public StateGraphNode getNode(TransitionTerminal tt)

Specified by:
getNode in interface ExpandedActorClass
EMF generated code
NOT

isMatching

public boolean isMatching(Trigger trig,
                          java.lang.String trigstr)

Specified by:
isMatching in interface ExpandedActorClass
EMF generated code
NOT

getDefaultBranch

public ContinuationTransition getDefaultBranch( out)

Specified by:
getDefaultBranch in interface ExpandedActorClass
EMF generated code
NOT

eGet

public java.lang.Object eGet(int featureID,
                             boolean resolve,
                             boolean coreType)

Overrides:
eGet in class ActorClassImpl
EMF generated code

eSet

public void eSet(int featureID,
                 java.lang.Object newValue)

Overrides:
eSet in class ActorClassImpl
EMF generated code

eUnset

public void eUnset(int featureID)

Overrides:
eUnset in class ActorClassImpl
EMF generated code

eIsSet

public boolean eIsSet(int featureID)

Overrides:
eIsSet in class ActorClassImpl
EMF generated code