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

java.lang.Object
  extended by EObjectImpl
      extended by org.eclipse.etrice.generator.etricegen.impl.InstanceBaseImpl
          extended by org.eclipse.etrice.generator.etricegen.impl.StructureInstanceImpl
All Implemented Interfaces:
InstanceBase, StructureInstance
Direct Known Subclasses:
ActorInstanceImpl, SubSystemInstanceImpl

public class StructureInstanceImpl
extends InstanceBaseImpl
implements StructureInstance

An implementation of the model object 'Structure Instance'.

The following features are implemented:

EMF generated code

Field Summary
protected   bindings
          The cached value of the 'Bindings' containment reference list.
protected   connections
          The cached value of the 'Connections' containment reference list.
protected   instances
          The cached value of the 'Instances' containment reference list.
protected   orderedIfItemInstances
          The cached value of the 'Ordered If Item Instances' reference list.
protected   ports
          The cached value of the 'Ports' containment reference list.
 java.util.HashMap<ProtocolClass,ServiceImplInstance> protocol2service
           
protected   saps
          The cached value of the 'Saps' containment reference list.
protected   services
          The cached value of the 'Services' containment reference list.
protected   spps
          The cached value of the 'Spps' containment reference list.
 
Fields inherited from class org.eclipse.etrice.generator.etricegen.impl.InstanceBaseImpl
name, NAME_EDEFAULT, NOBJ_IDS_EDEFAULT, OBJ_ID_EDEFAULT, objId, PATH_EDEFAULT, THREAD_ID_EDEFAULT, threadId
 
Fields inherited from interface org.eclipse.etrice.generator.etricegen.InstanceBase
pathDelim
 
Constructor Summary
protected StructureInstanceImpl()
           
 
Method Summary
 java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
           
 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)
           
  getAllContainedInstances()
           
  getBindings()
           
  getConnections()
           
  getInstances()
           
  getOrderedIfItemInstances()
          for each base class, super classes first, (ports, saps and services) in this order
  getPorts()
           
  getSaps()
           
  getServices()
           
  getSpps()
           
 
Methods inherited from class org.eclipse.etrice.generator.etricegen.impl.InstanceBaseImpl
getName, getNObjIDs, getObjId, getPath, getThreadId, setName, setObjId, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.etrice.generator.etricegen.InstanceBase
getName, getNObjIDs, getObjId, getPath, getThreadId, setName, setObjId
 

Field Detail

instances

protected  instances
The cached value of the 'Instances' containment reference list.

See Also:
getInstances()
EMF generated code
EMF ordered

ports

protected  ports
The cached value of the 'Ports' containment reference list.

See Also:
getPorts()
EMF generated code
EMF ordered

saps

protected  saps
The cached value of the 'Saps' containment reference list.

See Also:
getSaps()
EMF generated code
EMF ordered

spps

protected  spps
The cached value of the 'Spps' containment reference list.

See Also:
getSpps()
EMF generated code
EMF ordered

services

protected  services
The cached value of the 'Services' containment reference list.

See Also:
getServices()
EMF generated code
EMF ordered

bindings

protected  bindings
The cached value of the 'Bindings' containment reference list.

See Also:
getBindings()
EMF generated code
EMF ordered

connections

protected  connections
The cached value of the 'Connections' containment reference list.

See Also:
getConnections()
EMF generated code
EMF ordered

orderedIfItemInstances

protected  orderedIfItemInstances
The cached value of the 'Ordered If Item Instances' reference list.

See Also:
getOrderedIfItemInstances()
EMF generated code
EMF ordered

protocol2service

public java.util.HashMap<ProtocolClass,ServiceImplInstance> protocol2service
Constructor Detail

StructureInstanceImpl

protected StructureInstanceImpl()

EMF generated code
Method Detail

eStaticClass

protected EClass eStaticClass()

Overrides:
eStaticClass in class InstanceBaseImpl
EMF generated code

getInstances

public  getInstances()

Specified by:
getInstances in interface StructureInstance
Returns:
the value of the 'Instances' containment reference list.
See Also:
ETriceGenPackage.getStructureInstance_Instances()
EMF generated code

getPorts

public  getPorts()

Specified by:
getPorts in interface StructureInstance
Returns:
the value of the 'Ports' containment reference list.
See Also:
ETriceGenPackage.getStructureInstance_Ports()
EMF generated code

getSaps

public  getSaps()

Specified by:
getSaps in interface StructureInstance
Returns:
the value of the 'Saps' containment reference list.
See Also:
ETriceGenPackage.getStructureInstance_Saps()
EMF generated code

getSpps

public  getSpps()

Specified by:
getSpps in interface StructureInstance
Returns:
the value of the 'Spps' containment reference list.
See Also:
ETriceGenPackage.getStructureInstance_Spps()
EMF generated code

getServices

public  getServices()

Specified by:
getServices in interface StructureInstance
Returns:
the value of the 'Services' containment reference list.
See Also:
ETriceGenPackage.getStructureInstance_Services()
EMF generated code

getBindings

public  getBindings()

Specified by:
getBindings in interface StructureInstance
Returns:
the value of the 'Bindings' containment reference list.
See Also:
ETriceGenPackage.getStructureInstance_Bindings()
EMF generated code

getConnections

public  getConnections()

Specified by:
getConnections in interface StructureInstance
Returns:
the value of the 'Connections' containment reference list.
See Also:
ETriceGenPackage.getStructureInstance_Connections()
EMF generated code

getAllContainedInstances

public  getAllContainedInstances()

Specified by:
getAllContainedInstances in interface StructureInstance
Returns:
the value of the 'All Contained Instances' reference list.
See Also:
ETriceGenPackage.getStructureInstance_AllContainedInstances()
EMF generated code
NOT

getOrderedIfItemInstances

public  getOrderedIfItemInstances()
for each base class, super classes first, (ports, saps and services) in this order

Specified by:
getOrderedIfItemInstances in interface StructureInstance
Returns:
the value of the 'Ordered If Item Instances' reference list.
See Also:
ETriceGenPackage.getStructureInstance_OrderedIfItemInstances()
EMF generated code
NOT

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)

Overrides:
eGet in class InstanceBaseImpl
EMF generated code

eSet

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

Overrides:
eSet in class InstanceBaseImpl
EMF generated code

eUnset

public void eUnset(int featureID)

Overrides:
eUnset in class InstanceBaseImpl
EMF generated code

eIsSet

public boolean eIsSet(int featureID)

Overrides:
eIsSet in class InstanceBaseImpl
EMF generated code