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

java.lang.Object
  extended by EObjectImpl
      extended by org.eclipse.etrice.generator.etricegen.impl.ConnectionInstanceImpl
All Implemented Interfaces:
ConnectionInstance

public class ConnectionInstanceImpl
extends EObjectImpl
implements ConnectionInstance

An implementation of the model object 'Connection Instance'.

The following features are implemented:

EMF generated code

Field Summary
protected  LayerConnection connection
          The cached value of the 'Connection' reference.
protected  ActorInstance fromAI
          The cached value of the 'From AI' reference.
protected  SPPInstance fromSPP
          The cached value of the 'From SPP' reference.
protected  SPPInstance toSPP
          The cached value of the 'To SPP' reference.
 
Constructor Summary
protected ConnectionInstanceImpl()
           
 
Method Summary
 LayerConnection basicGetConnection()
           
 ActorInstance basicGetFromAI()
           
 SPPInstance basicGetFromSPP()
           
 SPPInstance basicGetToSPP()
           
 NotificationChain basicSetFromSPP(SPPInstance newFromSPP, NotificationChain msgs)
           
 NotificationChain basicSetToSPP(SPPInstance newToSPP, NotificationChain msgs)
           
 java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
           
 NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs)
           
 NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, java.lang.Object newValue)
           
protected  EClass eStaticClass()
           
 void eUnset(int featureID)
           
 LayerConnection getConnection()
           
 ActorInstance getFromAI()
           
 SPPInstance getFromSPP()
           
 SPPInstance getToSPP()
           
 void setConnection(LayerConnection newConnection)
           
 void setFromAI(ActorInstance newFromAI)
           
 void setFromSPP(SPPInstance newFromSPP)
           
 void setToSPP(SPPInstance newToSPP)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fromAI

protected ActorInstance fromAI
The cached value of the 'From AI' reference.

See Also:
getFromAI()
EMF generated code
EMF ordered

fromSPP

protected SPPInstance fromSPP
The cached value of the 'From SPP' reference.

See Also:
getFromSPP()
EMF generated code
EMF ordered

toSPP

protected SPPInstance toSPP
The cached value of the 'To SPP' reference.

See Also:
getToSPP()
EMF generated code
EMF ordered

connection

protected LayerConnection connection
The cached value of the 'Connection' reference.

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

ConnectionInstanceImpl

protected ConnectionInstanceImpl()

EMF generated code
Method Detail

eStaticClass

protected EClass eStaticClass()

EMF generated code

getFromAI

public ActorInstance getFromAI()

Specified by:
getFromAI in interface ConnectionInstance
Returns:
the value of the 'From AI' reference.
See Also:
ConnectionInstance.setFromAI(ActorInstance), ETriceGenPackage.getConnectionInstance_FromAI()
EMF generated code

basicGetFromAI

public ActorInstance basicGetFromAI()

EMF generated code

setFromAI

public void setFromAI(ActorInstance newFromAI)

Specified by:
setFromAI in interface ConnectionInstance
Parameters:
newFromAI - the new value of the 'From AI' reference.
See Also:
ConnectionInstance.getFromAI()
EMF generated code

getFromSPP

public SPPInstance getFromSPP()

Specified by:
getFromSPP in interface ConnectionInstance
Returns:
the value of the 'From SPP' reference.
See Also:
ConnectionInstance.setFromSPP(SPPInstance), ETriceGenPackage.getConnectionInstance_FromSPP(), SPPInstance.getOutgoing()
EMF generated code

basicGetFromSPP

public SPPInstance basicGetFromSPP()

EMF generated code

basicSetFromSPP

public NotificationChain basicSetFromSPP(SPPInstance newFromSPP,
                                         NotificationChain msgs)

EMF generated code

setFromSPP

public void setFromSPP(SPPInstance newFromSPP)

Specified by:
setFromSPP in interface ConnectionInstance
Parameters:
newFromSPP - the new value of the 'From SPP' reference.
See Also:
ConnectionInstance.getFromSPP()
EMF generated code

getToSPP

public SPPInstance getToSPP()

Specified by:
getToSPP in interface ConnectionInstance
Returns:
the value of the 'To SPP' reference.
See Also:
ConnectionInstance.setToSPP(SPPInstance), ETriceGenPackage.getConnectionInstance_ToSPP(), SPPInstance.getIncoming()
EMF generated code

basicGetToSPP

public SPPInstance basicGetToSPP()

EMF generated code

basicSetToSPP

public NotificationChain basicSetToSPP(SPPInstance newToSPP,
                                       NotificationChain msgs)

EMF generated code

setToSPP

public void setToSPP(SPPInstance newToSPP)

Specified by:
setToSPP in interface ConnectionInstance
Parameters:
newToSPP - the new value of the 'To SPP' reference.
See Also:
ConnectionInstance.getToSPP()
EMF generated code

getConnection

public LayerConnection getConnection()

Specified by:
getConnection in interface ConnectionInstance
Returns:
the value of the 'Connection' reference.
See Also:
ConnectionInstance.setConnection(LayerConnection), ETriceGenPackage.getConnectionInstance_Connection()
EMF generated code

basicGetConnection

public LayerConnection basicGetConnection()

EMF generated code

setConnection

public void setConnection(LayerConnection newConnection)

Specified by:
setConnection in interface ConnectionInstance
Parameters:
newConnection - the new value of the 'Connection' reference.
See Also:
ConnectionInstance.getConnection()
EMF generated code

eInverseAdd

public NotificationChain eInverseAdd(InternalEObject otherEnd,
                                     int featureID,
                                     NotificationChain msgs)

EMF generated code

eInverseRemove

public NotificationChain eInverseRemove(InternalEObject otherEnd,
                                        int featureID,
                                        NotificationChain msgs)

EMF generated code

eGet

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

EMF generated code

eSet

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

EMF generated code

eUnset

public void eUnset(int featureID)

EMF generated code

eIsSet

public boolean eIsSet(int featureID)

EMF generated code