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

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

public abstract class InstanceBaseImpl
extends EObjectImpl
implements InstanceBase

An implementation of the model object 'Instance Base'.

The following features are implemented:

EMF generated code

Field Summary
protected  java.lang.String name
          The cached value of the 'Name' attribute.
protected static java.lang.String NAME_EDEFAULT
          The default value of the 'Name' attribute.
protected static int NOBJ_IDS_EDEFAULT
          The default value of the 'NObj IDs' attribute.
protected static int OBJ_ID_EDEFAULT
          The default value of the 'Obj Id' attribute.
protected  int objId
          The cached value of the 'Obj Id' attribute.
protected static java.lang.String PATH_EDEFAULT
          The default value of the 'Path' attribute.
protected static int THREAD_ID_EDEFAULT
          The default value of the 'Thread Id' attribute.
protected  int threadId
          The cached value of the 'Thread Id' attribute.
 
Fields inherited from interface org.eclipse.etrice.generator.etricegen.InstanceBase
pathDelim
 
Constructor Summary
protected InstanceBaseImpl()
           
 
Method Summary
 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)
           
 java.lang.String getName()
           
 int getNObjIDs()
           
 int getObjId()
           
 java.lang.String getPath()
           
 int getThreadId()
           
 void setName(java.lang.String newName)
           
 void setObjId(int newObjId)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NAME_EDEFAULT

protected static final java.lang.String NAME_EDEFAULT
The default value of the 'Name' attribute.

See Also:
getName()
EMF generated code
EMF ordered

name

protected java.lang.String name
The cached value of the 'Name' attribute.

See Also:
getName()
EMF generated code
EMF ordered

PATH_EDEFAULT

protected static final java.lang.String PATH_EDEFAULT
The default value of the 'Path' attribute.

See Also:
getPath()
EMF generated code
EMF ordered

OBJ_ID_EDEFAULT

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

See Also:
getObjId(), Constant Field Values
EMF generated code
EMF ordered

objId

protected int objId
The cached value of the 'Obj Id' attribute.

See Also:
getObjId()
EMF generated code
EMF ordered

THREAD_ID_EDEFAULT

protected static final int THREAD_ID_EDEFAULT
The default value of the 'Thread Id' attribute.

See Also:
getThreadId(), Constant Field Values
EMF generated code
EMF ordered

threadId

protected int threadId
The cached value of the 'Thread Id' attribute.

See Also:
getThreadId()
EMF generated code
EMF ordered

NOBJ_IDS_EDEFAULT

protected static final int NOBJ_IDS_EDEFAULT
The default value of the 'NObj IDs' attribute.

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

InstanceBaseImpl

protected InstanceBaseImpl()

EMF generated code
Method Detail

eStaticClass

protected EClass eStaticClass()

EMF generated code

getName

public java.lang.String getName()

Specified by:
getName in interface InstanceBase
Returns:
the value of the 'Name' attribute.
See Also:
InstanceBase.setName(String), ETriceGenPackage.getInstanceBase_Name()
EMF generated code

setName

public void setName(java.lang.String newName)

Specified by:
setName in interface InstanceBase
Parameters:
newName - the new value of the 'Name' attribute.
See Also:
InstanceBase.getName()
EMF generated code

getPath

public java.lang.String getPath()

Specified by:
getPath in interface InstanceBase
Returns:
the value of the 'Path' attribute.
See Also:
ETriceGenPackage.getInstanceBase_Path()
EMF generated code
NOT TODOHRR: maybe this value should be cached (make attribute non-volatile)

getObjId

public int getObjId()

Specified by:
getObjId in interface InstanceBase
Returns:
the value of the 'Obj Id' attribute.
See Also:
InstanceBase.setObjId(int), ETriceGenPackage.getInstanceBase_ObjId()
EMF generated code

setObjId

public void setObjId(int newObjId)

Specified by:
setObjId in interface InstanceBase
Parameters:
newObjId - the new value of the 'Obj Id' attribute.
See Also:
InstanceBase.getObjId()
EMF generated code

getThreadId

public int getThreadId()

Specified by:
getThreadId in interface InstanceBase
Returns:
the value of the 'Thread Id' attribute.
See Also:
ETriceGenPackage.getInstanceBase_ThreadId()
EMF generated code
NOT

getNObjIDs

public int getNObjIDs()

Specified by:
getNObjIDs in interface InstanceBase
Returns:
the value of the 'NObj IDs' attribute.
See Also:
ETriceGenPackage.getInstanceBase_NObjIDs()
EMF generated code
NOT

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

toString

public java.lang.String toString()

EMF generated code