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

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

public class SubSystemInstanceImpl
extends StructureInstanceImpl
implements SubSystemInstance

An implementation of the model object 'Sub LogicalSystem Instance'.

The following features are implemented:

EMF generated code

Field Summary
protected static int MAX_OBJ_ID_EDEFAULT
          The default value of the 'Max Obj Id' attribute.
protected  SubSystemClass subSystemClass
          The cached value of the 'Sub System Class' reference.
 
Fields inherited from class org.eclipse.etrice.generator.etricegen.impl.StructureInstanceImpl
bindings, connections, instances, orderedIfItemInstances, ports, protocol2service, saps, services, spps
 
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 SubSystemInstanceImpl()
           
 
Method Summary
 SubSystemClass basicGetSubSystemClass()
           
 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)
           
 int getMaxObjId()
           
 SubSystemClass getSubSystemClass()
           
 int getThreadId(InstanceBase instance)
           
 void setSubSystemClass(SubSystemClass newSubSystemClass)
           
 
Methods inherited from class org.eclipse.etrice.generator.etricegen.impl.StructureInstanceImpl
eInverseRemove, getAllContainedInstances, getBindings, getConnections, getInstances, getOrderedIfItemInstances, 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.StructureInstance
getAllContainedInstances, getBindings, getConnections, getInstances, getOrderedIfItemInstances, getPorts, getSaps, getServices, getSpps
 
Methods inherited from interface org.eclipse.etrice.generator.etricegen.InstanceBase
getName, getNObjIDs, getObjId, getPath, getThreadId, setName, setObjId
 

Field Detail

subSystemClass

protected SubSystemClass subSystemClass
The cached value of the 'Sub System Class' reference.

See Also:
getSubSystemClass()
EMF generated code
EMF ordered

MAX_OBJ_ID_EDEFAULT

protected static final int MAX_OBJ_ID_EDEFAULT
The default value of the 'Max Obj Id' attribute.

See Also:
getMaxObjId(), Constant Field Values
EMF generated code
EMF ordered
Constructor Detail

SubSystemInstanceImpl

protected SubSystemInstanceImpl()

EMF generated code
Method Detail

eStaticClass

protected EClass eStaticClass()

Overrides:
eStaticClass in class StructureInstanceImpl
EMF generated code

getSubSystemClass

public SubSystemClass getSubSystemClass()

Specified by:
getSubSystemClass in interface SubSystemInstance
Returns:
the value of the 'Sub System Class' reference.
See Also:
SubSystemInstance.setSubSystemClass(SubSystemClass), ETriceGenPackage.getSubSystemInstance_SubSystemClass()
EMF generated code

basicGetSubSystemClass

public SubSystemClass basicGetSubSystemClass()

EMF generated code

setSubSystemClass

public void setSubSystemClass(SubSystemClass newSubSystemClass)

Specified by:
setSubSystemClass in interface SubSystemInstance
Parameters:
newSubSystemClass - the new value of the 'Sub System Class' reference.
See Also:
SubSystemInstance.getSubSystemClass()
EMF generated code

getMaxObjId

public int getMaxObjId()

Specified by:
getMaxObjId in interface SubSystemInstance
Returns:
the value of the 'Max Obj Id' attribute.
See Also:
ETriceGenPackage.getSubSystemInstance_MaxObjId()
EMF generated code
NOT

getThreadId

public int getThreadId(InstanceBase instance)

Specified by:
getThreadId in interface SubSystemInstance
EMF generated code
NOT

eGet

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

Overrides:
eGet in class StructureInstanceImpl
EMF generated code

eSet

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

Overrides:
eSet in class StructureInstanceImpl
EMF generated code

eUnset

public void eUnset(int featureID)

Overrides:
eUnset in class StructureInstanceImpl
EMF generated code

eIsSet

public boolean eIsSet(int featureID)

Overrides:
eIsSet in class StructureInstanceImpl
EMF generated code