TPTP 4.1.0 Platform Project
Public API Specification

org.eclipse.hyades.models.trace.impl
Class TRCClassImpl

java.lang.Object
  extended byorg.eclipse.emf.common.notify.impl.BasicNotifierImpl
      extended byorg.eclipse.emf.ecore.impl.BasicEObjectImpl
          extended byorg.eclipse.emf.ecore.impl.EObjectImpl
              extended byorg.eclipse.hyades.models.trace.impl.TRCLanguageElementImpl
                  extended byorg.eclipse.hyades.models.trace.impl.TRCClassImpl
All Implemented Interfaces:
org.eclipse.emf.ecore.EObject, IDeltaManager, org.eclipse.emf.ecore.InternalEObject, org.eclipse.emf.common.notify.Notifier, TRCClass, TRCLanguageElement
Direct Known Subclasses:
TRCArrayClassImpl

public class TRCClassImpl
extends TRCLanguageElementImpl
implements TRCClass

An implementation of the model object 'TRC Class'.

The following features are implemented:


Nested Class Summary
static class TRCClassImpl.TRCClassSnapshot
           
 
Nested classes inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImpl
 
Nested classes inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList
 
Nested classes inherited from class org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
 
Field Summary
protected  TRCClassImpl.TRCClassSnapshot _currentSnapshot
           
protected  TRCClassImpl.TRCClassSnapshot _previousSnapshot
           
protected static double BASE_TIME_EDEFAULT
          The default value of the 'Base Time' attribute.
protected  double baseTime
          The cached value of the 'Base Time' attribute.
protected  int calls
          The cached value of the 'Calls' attribute.
protected static int CALLS_EDEFAULT
          The default value of the 'Calls' attribute.
protected  TRCClassLoader classLoader
          The cached value of the 'Class Loader' reference.
protected  org.eclipse.emf.common.util.EList classObjects
          The cached value of the 'Class Objects' reference list.
protected static int COLLECTED_INSTANCES_EDEFAULT
          The default value of the 'Collected Instances' attribute.
protected static int COLLECTED_SIZE_EDEFAULT
          The default value of the 'Collected Size' attribute.
protected  int collectedInstances
          The cached value of the 'Collected Instances' attribute.
protected  int collectedSize
          The cached value of the 'Collected Size' attribute.
protected static double CUMULATIVE_TIME_EDEFAULT
          The default value of the 'Cumulative Time' attribute.
protected  double cumulativeTime
          The cached value of the 'Cumulative Time' attribute.
protected  TRCClass enclosedBy
          The cached value of the 'Enclosed By' reference.
protected  org.eclipse.emf.common.util.EList extends_
          The cached value of the 'Extends' reference list.
protected  long id
          The cached value of the 'Id' attribute.
protected static long ID_EDEFAULT
          The default value of the 'Id' attribute.
protected  org.eclipse.emf.common.util.EList implements_
          The cached value of the 'Implements' reference list.
protected static double INHERITED_BASE_TIME_EDEFAULT
          The default value of the 'Inherited Base Time' attribute.
protected static int INHERITED_CALLS_EDEFAULT
          The default value of the 'Inherited Calls' attribute.
protected static double INHERITED_CUMULATIVE_TIME_EDEFAULT
          The default value of the 'Inherited Cumulative Time' attribute.
protected  double inheritedBaseTime
          The cached value of the 'Inherited Base Time' attribute.
protected  int inheritedCalls
          The cached value of the 'Inherited Calls' attribute.
protected  double inheritedCumulativeTime
          The cached value of the 'Inherited Cumulative Time' attribute.
protected  boolean interface_
          The cached value of the 'Interface' attribute.
protected static boolean INTERFACE_EDEFAULT
          The default value of the 'Interface' attribute.
protected static int LINE_COUNT_EDEFAULT
          The default value of the 'Line Count' attribute.
protected static int LINE_NO_EDEFAULT
          The default value of the 'Line No' attribute.
protected  int lineCount
          The cached value of the 'Line Count' attribute.
protected  int lineNo
          The cached value of the 'Line No' attribute.
protected static double LOAD_TIME_EDEFAULT
          The default value of the 'Load Time' attribute.
protected  TRCThread loadedBy
          The cached value of the 'Loaded By' reference.
protected  double loadTime
          The cached value of the 'Load Time' attribute.
protected  org.eclipse.emf.common.util.EList locks
          The cached value of the 'Locks' reference list.
protected  org.eclipse.emf.common.util.EList methods
          The cached value of the 'Methods' containment reference list.
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  org.eclipse.emf.common.util.EList objects
          The cached value of the 'Objects' reference list.
protected  int size
          The cached value of the 'Size' attribute.
protected static int SIZE_EDEFAULT
          The default value of the 'Size' attribute.
protected static double TOTAL_CPU_TIME_EDEFAULT
          The default value of the 'Total Cpu Time' attribute.
protected static int TOTAL_INSTANCES_EDEFAULT
          The default value of the 'Total Instances' attribute.
protected static int TOTAL_SIZE_EDEFAULT
          The default value of the 'Total Size' attribute.
protected  double totalCpuTime
          The cached value of the 'Total Cpu Time' attribute.
protected  int totalInstances
          The cached value of the 'Total Instances' attribute.
protected  int totalSize
          The cached value of the 'Total Size' attribute.
protected static double UNLOAD_TIME_EDEFAULT
          The default value of the 'Unload Time' attribute.
protected  double unloadTime
          The cached value of the 'Unload Time' attribute.
 
Fields inherited from class org.eclipse.hyades.models.trace.impl.TRCLanguageElementImpl
annotations, sourceInfo
 
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Constructor Summary
protected TRCClassImpl()
           
 
Method Summary
 TRCClassLoader basicGetClassLoader()
           
 TRCClass basicGetEnclosedBy()
           
 TRCThread basicGetLoadedBy()
           
 int computeDelta(IDelta delta)
          returns: -1 no snapshot exists 1 snapshot exists
 int computeDelta(IDelta delta, int featureID)
           
 org.eclipse.emf.common.notify.NotificationChain eBasicRemoveFromContainer(org.eclipse.emf.common.notify.NotificationChain msgs)
           
 java.lang.Object eGet(org.eclipse.emf.ecore.EStructuralFeature eFeature, boolean resolve)
           
 org.eclipse.emf.common.notify.NotificationChain eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, java.lang.Class baseClass, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, java.lang.Class baseClass, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 boolean eIsSet(org.eclipse.emf.ecore.EStructuralFeature eFeature)
           
 void eSet(org.eclipse.emf.ecore.EStructuralFeature eFeature, java.lang.Object newValue)
           
protected  org.eclipse.emf.ecore.EClass eStaticClass()
           
 void eUnset(org.eclipse.emf.ecore.EStructuralFeature eFeature)
           
 double getBaseTime()
           
 int getCalls()
           
 TRCClassLoader getClassLoader()
           
 org.eclipse.emf.common.util.EList getClassObjects()
           
 int getCollectedInstances()
           
 int getCollectedSize()
           
 double getCumulativeTime()
           
 TRCClass getEnclosedBy()
           
 org.eclipse.emf.common.util.EList getExtends()
           
 long getId()
           
 org.eclipse.emf.common.util.EList getImplements()
           
 double getInheritedBaseTime()
           
 int getInheritedCalls()
           
 double getInheritedCumulativeTime()
           
 int getLineCount()
           
 int getLineNo()
           
 TRCThread getLoadedBy()
           
 double getLoadTime()
           
 org.eclipse.emf.common.util.EList getLocks()
           
 org.eclipse.emf.common.util.EList getMethods()
           
 java.lang.String getName()
           
 org.eclipse.emf.common.util.EList getObjects()
           
 TRCPackage getPackage()
           
 int getSize()
           
 double getTotalCpuTime()
           
 int getTotalInstances()
           
 int getTotalSize()
           
 double getUnloadTime()
           
 boolean isInterface()
           
 void removeSnapshot()
          returns the current snapshot
 ISnapshot retrieveSnapshot()
          returns the current snapshot
 void setBaseTime(double newBaseTime)
           
 void setCalls(int newCalls)
           
 void setClassLoader(TRCClassLoader newClassLoader)
           
 void setCollectedInstances(int newCollectedInstances)
           
 void setCollectedSize(int newCollectedSize)
           
 void setCumulativeTime(double newCumulativeTime)
           
 void setEnclosedBy(TRCClass newEnclosedBy)
           
 void setId(long newId)
           
 void setInheritedBaseTime(double newInheritedBaseTime)
           
 void setInheritedCalls(int newInheritedCalls)
           
 void setInheritedCumulativeTime(double newInheritedCumulativeTime)
           
 void setInterface(boolean newInterface)
           
 void setLineCount(int newLineCount)
           
 void setLineNo(int newLineNo)
           
 void setLoadedBy(TRCThread newLoadedBy)
           
 void setLoadTime(double newLoadTime)
           
 void setName(java.lang.String newName)
           
 void setPackage(TRCPackage newPackage)
           
 void setSize(int newSize)
           
 void setTotalCpuTime(double newTotalCpuTime)
           
 void setTotalInstances(int newTotalInstances)
           
 void setTotalSize(int newTotalSize)
           
 void setUnloadTime(double newUnloadTime)
           
 void takeSnapshot()
          take a snapshot, replaces the previous one
 java.lang.String toString()
           
 
Methods inherited from class org.eclipse.hyades.models.trace.impl.TRCLanguageElementImpl
basicGetSourceInfo, getAnnotations, getSourceInfo, setSourceInfo
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAllContents, eBaseStructuralFeatureID, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicIsSet, eDynamicSet, eDynamicUnset, eGet, eHasSettings, eInternalResource, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eStaticFeatureCount, eStore, eURIFragmentSegment
 
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.hyades.models.trace.TRCLanguageElement
getAnnotations, getSourceInfo, setSourceInfo
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eIsProxy, eResource
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
 

Field Detail

ID_EDEFAULT

protected static final long ID_EDEFAULT
The default value of the 'Id' attribute.

See Also:
getId(), Constant Field Values

id

protected long id
The cached value of the 'Id' attribute.

See Also:
getId()

NAME_EDEFAULT

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

See Also:
getName()

name

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

See Also:
getName()

SIZE_EDEFAULT

protected static final int SIZE_EDEFAULT
The default value of the 'Size' attribute.

See Also:
getSize(), Constant Field Values

size

protected int size
The cached value of the 'Size' attribute.

See Also:
getSize()

LOAD_TIME_EDEFAULT

protected static final double LOAD_TIME_EDEFAULT
The default value of the 'Load Time' attribute.

See Also:
getLoadTime(), Constant Field Values

loadTime

protected double loadTime
The cached value of the 'Load Time' attribute.

See Also:
getLoadTime()

UNLOAD_TIME_EDEFAULT

protected static final double UNLOAD_TIME_EDEFAULT
The default value of the 'Unload Time' attribute.

See Also:
getUnloadTime(), Constant Field Values

unloadTime

protected double unloadTime
The cached value of the 'Unload Time' attribute.

See Also:
getUnloadTime()

INTERFACE_EDEFAULT

protected static final boolean INTERFACE_EDEFAULT
The default value of the 'Interface' attribute.

See Also:
isInterface(), Constant Field Values

interface_

protected boolean interface_
The cached value of the 'Interface' attribute.

See Also:
isInterface()

LINE_NO_EDEFAULT

protected static final int LINE_NO_EDEFAULT
The default value of the 'Line No' attribute.

See Also:
getLineNo(), Constant Field Values

lineNo

protected int lineNo
The cached value of the 'Line No' attribute.

See Also:
getLineNo()

LINE_COUNT_EDEFAULT

protected static final int LINE_COUNT_EDEFAULT
The default value of the 'Line Count' attribute.

See Also:
getLineCount(), Constant Field Values

lineCount

protected int lineCount
The cached value of the 'Line Count' attribute.

See Also:
getLineCount()

BASE_TIME_EDEFAULT

protected static final double BASE_TIME_EDEFAULT
The default value of the 'Base Time' attribute.

See Also:
getBaseTime(), Constant Field Values

baseTime

protected double baseTime
The cached value of the 'Base Time' attribute.

See Also:
getBaseTime()

CUMULATIVE_TIME_EDEFAULT

protected static final double CUMULATIVE_TIME_EDEFAULT
The default value of the 'Cumulative Time' attribute.

See Also:
getCumulativeTime(), Constant Field Values

cumulativeTime

protected double cumulativeTime
The cached value of the 'Cumulative Time' attribute.

See Also:
getCumulativeTime()

CALLS_EDEFAULT

protected static final int CALLS_EDEFAULT
The default value of the 'Calls' attribute.

See Also:
getCalls(), Constant Field Values

calls

protected int calls
The cached value of the 'Calls' attribute.

See Also:
getCalls()

INHERITED_CALLS_EDEFAULT

protected static final int INHERITED_CALLS_EDEFAULT
The default value of the 'Inherited Calls' attribute.

See Also:
getInheritedCalls(), Constant Field Values

inheritedCalls

protected int inheritedCalls
The cached value of the 'Inherited Calls' attribute.

See Also:
getInheritedCalls()

INHERITED_BASE_TIME_EDEFAULT

protected static final double INHERITED_BASE_TIME_EDEFAULT
The default value of the 'Inherited Base Time' attribute.

See Also:
getInheritedBaseTime(), Constant Field Values

inheritedBaseTime

protected double inheritedBaseTime
The cached value of the 'Inherited Base Time' attribute.

See Also:
getInheritedBaseTime()

INHERITED_CUMULATIVE_TIME_EDEFAULT

protected static final double INHERITED_CUMULATIVE_TIME_EDEFAULT
The default value of the 'Inherited Cumulative Time' attribute.

See Also:
getInheritedCumulativeTime(), Constant Field Values

inheritedCumulativeTime

protected double inheritedCumulativeTime
The cached value of the 'Inherited Cumulative Time' attribute.

See Also:
getInheritedCumulativeTime()

TOTAL_SIZE_EDEFAULT

protected static final int TOTAL_SIZE_EDEFAULT
The default value of the 'Total Size' attribute.

See Also:
getTotalSize(), Constant Field Values

totalSize

protected int totalSize
The cached value of the 'Total Size' attribute.

See Also:
getTotalSize()

TOTAL_INSTANCES_EDEFAULT

protected static final int TOTAL_INSTANCES_EDEFAULT
The default value of the 'Total Instances' attribute.

See Also:
getTotalInstances(), Constant Field Values

totalInstances

protected int totalInstances
The cached value of the 'Total Instances' attribute.

See Also:
getTotalInstances()

COLLECTED_SIZE_EDEFAULT

protected static final int COLLECTED_SIZE_EDEFAULT
The default value of the 'Collected Size' attribute.

See Also:
getCollectedSize(), Constant Field Values

collectedSize

protected int collectedSize
The cached value of the 'Collected Size' attribute.

See Also:
getCollectedSize()

COLLECTED_INSTANCES_EDEFAULT

protected static final int COLLECTED_INSTANCES_EDEFAULT
The default value of the 'Collected Instances' attribute.

See Also:
getCollectedInstances(), Constant Field Values

collectedInstances

protected int collectedInstances
The cached value of the 'Collected Instances' attribute.

See Also:
getCollectedInstances()

TOTAL_CPU_TIME_EDEFAULT

protected static final double TOTAL_CPU_TIME_EDEFAULT
The default value of the 'Total Cpu Time' attribute.

See Also:
getTotalCpuTime(), Constant Field Values

totalCpuTime

protected double totalCpuTime
The cached value of the 'Total Cpu Time' attribute.

See Also:
getTotalCpuTime()

objects

protected org.eclipse.emf.common.util.EList objects
The cached value of the 'Objects' reference list.

See Also:
getObjects()

loadedBy

protected TRCThread loadedBy
The cached value of the 'Loaded By' reference.

See Also:
getLoadedBy()

methods

protected org.eclipse.emf.common.util.EList methods
The cached value of the 'Methods' containment reference list.

See Also:
getMethods()

classObjects

protected org.eclipse.emf.common.util.EList classObjects
The cached value of the 'Class Objects' reference list.

See Also:
getClassObjects()

classLoader

protected TRCClassLoader classLoader
The cached value of the 'Class Loader' reference.

See Also:
getClassLoader()

enclosedBy

protected TRCClass enclosedBy
The cached value of the 'Enclosed By' reference.

See Also:
getEnclosedBy()

extends_

protected org.eclipse.emf.common.util.EList extends_
The cached value of the 'Extends' reference list.

See Also:
getExtends()

implements_

protected org.eclipse.emf.common.util.EList implements_
The cached value of the 'Implements' reference list.

See Also:
getImplements()

locks

protected org.eclipse.emf.common.util.EList locks
The cached value of the 'Locks' reference list.

See Also:
getLocks()

_currentSnapshot

protected TRCClassImpl.TRCClassSnapshot _currentSnapshot

_previousSnapshot

protected TRCClassImpl.TRCClassSnapshot _previousSnapshot
Constructor Detail

TRCClassImpl

protected TRCClassImpl()

Method Detail

setBaseTime

public void setBaseTime(double newBaseTime)

Specified by:
setBaseTime in interface TRCClass
Parameters:
newBaseTime - the new value of the 'Base Time' attribute.
See Also:
TRCClass.getBaseTime()

getBaseTime

public double getBaseTime()

Specified by:
getBaseTime in interface TRCClass
Returns:
the value of the 'Base Time' attribute.
See Also:
TRCClass.setBaseTime(double), TracePackage.getTRCClass_BaseTime()

setCalls

public void setCalls(int newCalls)

Specified by:
setCalls in interface TRCClass
Parameters:
newCalls - the new value of the 'Calls' attribute.
See Also:
TRCClass.getCalls()

getCalls

public int getCalls()

Specified by:
getCalls in interface TRCClass
Returns:
the value of the 'Calls' attribute.
See Also:
TRCClass.setCalls(int), TracePackage.getTRCClass_Calls()

setClassLoader

public void setClassLoader(TRCClassLoader newClassLoader)

Specified by:
setClassLoader in interface TRCClass
Parameters:
newClassLoader - the new value of the 'Class Loader' reference.
See Also:
TRCClass.getClassLoader()

getClassLoader

public TRCClassLoader getClassLoader()

Specified by:
getClassLoader in interface TRCClass
Returns:
the value of the 'Class Loader' reference.
See Also:
TRCClass.setClassLoader(TRCClassLoader), TracePackage.getTRCClass_ClassLoader()

getClassObjects

public org.eclipse.emf.common.util.EList getClassObjects()

Specified by:
getClassObjects in interface TRCClass
Returns:
the value of the 'Class Objects' reference list.
See Also:
TracePackage.getTRCClass_ClassObjects()

setCollectedInstances

public void setCollectedInstances(int newCollectedInstances)

Specified by:
setCollectedInstances in interface TRCClass
Parameters:
newCollectedInstances - the new value of the 'Collected Instances' attribute.
See Also:
TRCClass.getCollectedInstances()

getTotalCpuTime

public double getTotalCpuTime()

Specified by:
getTotalCpuTime in interface TRCClass
Returns:
the value of the 'Total Cpu Time' attribute.
See Also:
TRCClass.setTotalCpuTime(double), TracePackage.getTRCClass_TotalCpuTime()

setTotalCpuTime

public void setTotalCpuTime(double newTotalCpuTime)

Specified by:
setTotalCpuTime in interface TRCClass
Parameters:
newTotalCpuTime - the new value of the 'Total Cpu Time' attribute.
See Also:
TRCClass.getTotalCpuTime()

getCollectedInstances

public int getCollectedInstances()

Specified by:
getCollectedInstances in interface TRCClass
Returns:
the value of the 'Collected Instances' attribute.
See Also:
TRCClass.setCollectedInstances(int), TracePackage.getTRCClass_CollectedInstances()

setCollectedSize

public void setCollectedSize(int newCollectedSize)

Specified by:
setCollectedSize in interface TRCClass
Parameters:
newCollectedSize - the new value of the 'Collected Size' attribute.
See Also:
TRCClass.getCollectedSize()

getCollectedSize

public int getCollectedSize()

Specified by:
getCollectedSize in interface TRCClass
Returns:
the value of the 'Collected Size' attribute.
See Also:
TRCClass.setCollectedSize(int), TracePackage.getTRCClass_CollectedSize()

setCumulativeTime

public void setCumulativeTime(double newCumulativeTime)

Specified by:
setCumulativeTime in interface TRCClass
Parameters:
newCumulativeTime - the new value of the 'Cumulative Time' attribute.
See Also:
TRCClass.getCumulativeTime()

getCumulativeTime

public double getCumulativeTime()

Specified by:
getCumulativeTime in interface TRCClass
Returns:
the value of the 'Cumulative Time' attribute.
See Also:
TRCClass.setCumulativeTime(double), TracePackage.getTRCClass_CumulativeTime()

setEnclosedBy

public void setEnclosedBy(TRCClass newEnclosedBy)

Specified by:
setEnclosedBy in interface TRCClass
Parameters:
newEnclosedBy - the new value of the 'Enclosed By' reference.
See Also:
TRCClass.getEnclosedBy()

getEnclosedBy

public TRCClass getEnclosedBy()

Specified by:
getEnclosedBy in interface TRCClass
Returns:
the value of the 'Enclosed By' reference.
See Also:
TRCClass.setEnclosedBy(TRCClass), TracePackage.getTRCClass_EnclosedBy()

getExtends

public org.eclipse.emf.common.util.EList getExtends()

Specified by:
getExtends in interface TRCClass
Returns:
the value of the 'Extends' reference list.
See Also:
TracePackage.getTRCClass_Extends()

getId

public long getId()

Specified by:
getId in interface TRCClass
Returns:
the value of the 'Id' attribute.
See Also:
TRCClass.setId(long), TracePackage.getTRCClass_Id()

setId

public void setId(long newId)

Specified by:
setId in interface TRCClass
Parameters:
newId - the new value of the 'Id' attribute.
See Also:
TRCClass.getId()

getImplements

public org.eclipse.emf.common.util.EList getImplements()

Specified by:
getImplements in interface TRCClass
Returns:
the value of the 'Implements' reference list.
See Also:
TracePackage.getTRCClass_Implements()

getLocks

public org.eclipse.emf.common.util.EList getLocks()

Specified by:
getLocks in interface TRCClass
Returns:
the value of the 'Locks' reference list.
See Also:
TracePackage.getTRCClass_Locks()

setInheritedBaseTime

public void setInheritedBaseTime(double newInheritedBaseTime)

Specified by:
setInheritedBaseTime in interface TRCClass
Parameters:
newInheritedBaseTime - the new value of the 'Inherited Base Time' attribute.
See Also:
TRCClass.getInheritedBaseTime()

getInheritedBaseTime

public double getInheritedBaseTime()

Specified by:
getInheritedBaseTime in interface TRCClass
Returns:
the value of the 'Inherited Base Time' attribute.
See Also:
TRCClass.setInheritedBaseTime(double), TracePackage.getTRCClass_InheritedBaseTime()

setInheritedCalls

public void setInheritedCalls(int newInheritedCalls)

Specified by:
setInheritedCalls in interface TRCClass
Parameters:
newInheritedCalls - the new value of the 'Inherited Calls' attribute.
See Also:
TRCClass.getInheritedCalls()

getInheritedCalls

public int getInheritedCalls()

Specified by:
getInheritedCalls in interface TRCClass
Returns:
the value of the 'Inherited Calls' attribute.
See Also:
TRCClass.setInheritedCalls(int), TracePackage.getTRCClass_InheritedCalls()

setInheritedCumulativeTime

public void setInheritedCumulativeTime(double newInheritedCumulativeTime)

Specified by:
setInheritedCumulativeTime in interface TRCClass
Parameters:
newInheritedCumulativeTime - the new value of the 'Inherited Cumulative Time' attribute.
See Also:
TRCClass.getInheritedCumulativeTime()

getInheritedCumulativeTime

public double getInheritedCumulativeTime()

Specified by:
getInheritedCumulativeTime in interface TRCClass
Returns:
the value of the 'Inherited Cumulative Time' attribute.
See Also:
TRCClass.setInheritedCumulativeTime(double), TracePackage.getTRCClass_InheritedCumulativeTime()

setInterface

public void setInterface(boolean newInterface)

Specified by:
setInterface in interface TRCClass
Parameters:
newInterface - the new value of the 'Interface' attribute.
See Also:
TRCClass.isInterface()

isInterface

public boolean isInterface()

Specified by:
isInterface in interface TRCClass
Returns:
the value of the 'Interface' attribute.
See Also:
TRCClass.setInterface(boolean), TracePackage.getTRCClass_Interface()

setLineNo

public void setLineNo(int newLineNo)

Specified by:
setLineNo in interface TRCClass
Parameters:
newLineNo - the new value of the 'Line No' attribute.
See Also:
TRCClass.getLineNo()

getLineCount

public int getLineCount()

Specified by:
getLineCount in interface TRCClass
Returns:
the value of the 'Line Count' attribute.
See Also:
TRCClass.setLineCount(int), TracePackage.getTRCClass_LineCount()

setLineCount

public void setLineCount(int newLineCount)

Specified by:
setLineCount in interface TRCClass
Parameters:
newLineCount - the new value of the 'Line Count' attribute.
See Also:
TRCClass.getLineCount()

getLineNo

public int getLineNo()

Specified by:
getLineNo in interface TRCClass
Returns:
the value of the 'Line No' attribute.
See Also:
TRCClass.setLineNo(int), TracePackage.getTRCClass_LineNo()

setLoadTime

public void setLoadTime(double newLoadTime)

Specified by:
setLoadTime in interface TRCClass
Parameters:
newLoadTime - the new value of the 'Load Time' attribute.
See Also:
TRCClass.getLoadTime()

getLoadTime

public double getLoadTime()

Specified by:
getLoadTime in interface TRCClass
Returns:
the value of the 'Load Time' attribute.
See Also:
TRCClass.setLoadTime(double), TracePackage.getTRCClass_LoadTime()

setLoadedBy

public void setLoadedBy(TRCThread newLoadedBy)

Specified by:
setLoadedBy in interface TRCClass
Parameters:
newLoadedBy - the new value of the 'Loaded By' reference.
See Also:
TRCClass.getLoadedBy()

getLoadedBy

public TRCThread getLoadedBy()

Specified by:
getLoadedBy in interface TRCClass
Returns:
the value of the 'Loaded By' reference.
See Also:
TRCClass.setLoadedBy(TRCThread), TracePackage.getTRCClass_LoadedBy()

getMethods

public org.eclipse.emf.common.util.EList getMethods()

Specified by:
getMethods in interface TRCClass
Returns:
the value of the 'Methods' containment reference list.
See Also:
TracePackage.getTRCClass_Methods(), TRCMethod.getDefiningClass()

setName

public void setName(java.lang.String newName)

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

getName

public java.lang.String getName()

Specified by:
getName in interface TRCClass
Returns:
the value of the 'Name' attribute.
See Also:
TRCClass.setName(String), TracePackage.getTRCClass_Name()

getObjects

public org.eclipse.emf.common.util.EList getObjects()

Specified by:
getObjects in interface TRCClass
Returns:
the value of the 'Objects' reference list.
See Also:
TracePackage.getTRCClass_Objects(), TRCObject.getIsA()

setPackage

public void setPackage(TRCPackage newPackage)

Specified by:
setPackage in interface TRCClass
Parameters:
newPackage - the new value of the 'Package' container reference.
See Also:
TRCClass.getPackage()

getPackage

public TRCPackage getPackage()

Specified by:
getPackage in interface TRCClass
Returns:
the value of the 'Package' container reference.
See Also:
TRCClass.setPackage(TRCPackage), TracePackage.getTRCClass_Package(), TRCPackage.getClasses()

setSize

public void setSize(int newSize)

Specified by:
setSize in interface TRCClass
Parameters:
newSize - the new value of the 'Size' attribute.
See Also:
TRCClass.getSize()

getSize

public int getSize()

Specified by:
getSize in interface TRCClass
Returns:
the value of the 'Size' attribute.
See Also:
TRCClass.setSize(int), TracePackage.getTRCClass_Size()

setTotalInstances

public void setTotalInstances(int newTotalInstances)

Specified by:
setTotalInstances in interface TRCClass
Parameters:
newTotalInstances - the new value of the 'Total Instances' attribute.
See Also:
TRCClass.getTotalInstances()

getTotalInstances

public int getTotalInstances()

Specified by:
getTotalInstances in interface TRCClass
Returns:
the value of the 'Total Instances' attribute.
See Also:
TRCClass.setTotalInstances(int), TracePackage.getTRCClass_TotalInstances()

setTotalSize

public void setTotalSize(int newTotalSize)

Specified by:
setTotalSize in interface TRCClass
Parameters:
newTotalSize - the new value of the 'Total Size' attribute.
See Also:
TRCClass.getTotalSize()

getTotalSize

public int getTotalSize()

Specified by:
getTotalSize in interface TRCClass
Returns:
the value of the 'Total Size' attribute.
See Also:
TRCClass.setTotalSize(int), TracePackage.getTRCClass_TotalSize()

setUnloadTime

public void setUnloadTime(double newUnloadTime)

Specified by:
setUnloadTime in interface TRCClass
Parameters:
newUnloadTime - the new value of the 'Unload Time' attribute.
See Also:
TRCClass.getUnloadTime()

getUnloadTime

public double getUnloadTime()

Specified by:
getUnloadTime in interface TRCClass
Returns:
the value of the 'Unload Time' attribute.
See Also:
TRCClass.setUnloadTime(double), TracePackage.getTRCClass_UnloadTime()

basicGetClassLoader

public TRCClassLoader basicGetClassLoader()


basicGetEnclosedBy

public TRCClass basicGetEnclosedBy()


basicGetLoadedBy

public TRCThread basicGetLoadedBy()


computeDelta

public int computeDelta(IDelta delta)
Description copied from interface: IDeltaManager
returns: -1 no snapshot exists 1 snapshot exists

Specified by:
computeDelta in interface IDeltaManager

computeDelta

public int computeDelta(IDelta delta,
                        int featureID)
Specified by:
computeDelta in interface IDeltaManager

eBasicRemoveFromContainer

public org.eclipse.emf.common.notify.NotificationChain eBasicRemoveFromContainer(org.eclipse.emf.common.notify.NotificationChain msgs)

Specified by:
eBasicRemoveFromContainer in interface org.eclipse.emf.ecore.InternalEObject

eGet

public java.lang.Object eGet(org.eclipse.emf.ecore.EStructuralFeature eFeature,
                             boolean resolve)

Specified by:
eGet in interface org.eclipse.emf.ecore.EObject
Overrides:
eGet in class TRCLanguageElementImpl

eInverseAdd

public org.eclipse.emf.common.notify.NotificationChain eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd,
                                                                   int featureID,
                                                                   java.lang.Class baseClass,
                                                                   org.eclipse.emf.common.notify.NotificationChain msgs)

Specified by:
eInverseAdd in interface org.eclipse.emf.ecore.InternalEObject

eInverseRemove

public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
                                                                      int featureID,
                                                                      java.lang.Class baseClass,
                                                                      org.eclipse.emf.common.notify.NotificationChain msgs)

Specified by:
eInverseRemove in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eInverseRemove in class TRCLanguageElementImpl

eIsSet

public boolean eIsSet(org.eclipse.emf.ecore.EStructuralFeature eFeature)

Specified by:
eIsSet in interface org.eclipse.emf.ecore.EObject
Overrides:
eIsSet in class TRCLanguageElementImpl

eSet

public void eSet(org.eclipse.emf.ecore.EStructuralFeature eFeature,
                 java.lang.Object newValue)

Specified by:
eSet in interface org.eclipse.emf.ecore.EObject
Overrides:
eSet in class TRCLanguageElementImpl

eUnset

public void eUnset(org.eclipse.emf.ecore.EStructuralFeature eFeature)

Specified by:
eUnset in interface org.eclipse.emf.ecore.EObject
Overrides:
eUnset in class TRCLanguageElementImpl

removeSnapshot

public void removeSnapshot()
Description copied from interface: IDeltaManager
returns the current snapshot

Specified by:
removeSnapshot in interface IDeltaManager

retrieveSnapshot

public ISnapshot retrieveSnapshot()
Description copied from interface: IDeltaManager
returns the current snapshot

Specified by:
retrieveSnapshot in interface IDeltaManager

takeSnapshot

public void takeSnapshot()
Description copied from interface: IDeltaManager
take a snapshot, replaces the previous one

Specified by:
takeSnapshot in interface IDeltaManager

toString

public java.lang.String toString()


eStaticClass

protected org.eclipse.emf.ecore.EClass eStaticClass()

Overrides:
eStaticClass in class TRCLanguageElementImpl

TPTP 4.1.0 Platform Project
Public API Specification