|
TPTP 4.4.0 Platform Project Public API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.EObjectImpl
org.eclipse.hyades.models.trace.impl.TRCLanguageElementImpl
org.eclipse.hyades.models.trace.impl.TRCMethodImpl
An implementation of the model object 'TRC Method'.
The following features are implemented:
IdNameSignatureModifierNotationLine NoLine CountBase TimeCumulative TimeCallsTotal Cpu TimeDefining ClassInvocations
| Nested Class Summary | |
|---|---|
static class |
TRCMethodImpl.TRCMethodSnapshot
|
| Nested classes inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
|---|
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, 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 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 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 int |
id
The cached value of the ' Id' attribute |
protected static int |
ID_EDEFAULT
The default value of the ' Id' attribute |
protected org.eclipse.emf.common.util.EList |
invocations
The cached value of the ' Invocations' reference list |
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 int |
modifier
The cached value of the ' Modifier' attribute |
protected static int |
MODIFIER_EDEFAULT
The default value of the ' Modifier' attribute |
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 TRCSignatureNotation |
notation
The cached value of the ' Notation' attribute |
protected static TRCSignatureNotation |
NOTATION_EDEFAULT
The default value of the ' Notation' attribute |
protected java.lang.String |
signature
The cached value of the ' Signature' attribute |
protected static java.lang.String |
SIGNATURE_EDEFAULT
The default value of the ' Signature' attribute |
protected static double |
TOTAL_CPU_TIME_EDEFAULT
The default value of the ' Total Cpu Time' attribute |
protected double |
totalCpuTime
The cached value of the ' Total Cpu 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 class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
|---|
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET |
| Fields inherited from interface org.eclipse.emf.ecore.InternalEObject |
|---|
EOPPOSITE_FEATURE_BASE |
| Constructor Summary | |
|---|---|
protected |
TRCMethodImpl()
|
| Method Summary | |
|---|---|
int |
computeDelta(IDelta delta)
returns: -1 no snapshot exists 1 snapshot exists |
int |
computeDelta(IDelta delta,
int featureID)
|
org.eclipse.emf.common.notify.NotificationChain |
eBasicRemoveFromContainerFeature(org.eclipse.emf.common.notify.NotificationChain msgs)
|
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType)
|
org.eclipse.emf.common.notify.NotificationChain |
eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd,
int featureID,
org.eclipse.emf.common.notify.NotificationChain msgs)
|
org.eclipse.emf.common.notify.NotificationChain |
eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
int featureID,
org.eclipse.emf.common.notify.NotificationChain msgs)
|
boolean |
eIsSet(int featureID)
|
void |
eSet(int featureID,
java.lang.Object newValue)
|
protected org.eclipse.emf.ecore.EClass |
eStaticClass()
|
void |
eUnset(int featureID)
|
double |
getBaseTime()
|
int |
getCalls()
|
double |
getCumulativeTime()
|
TRCClass |
getDefiningClass()
|
int |
getId()
|
org.eclipse.emf.common.util.EList |
getInvocations()
|
int |
getLineCount()
|
int |
getLineNo()
|
int |
getModifier()
|
java.lang.String |
getName()
|
TRCSignatureNotation |
getNotation()
|
java.lang.String |
getSignature()
|
double |
getTotalCpuTime()
|
void |
removeSnapshot()
returns the current snapshot |
ISnapshot |
retrieveSnapshot()
returns the current snapshot |
void |
setBaseTime(double newBaseTime)
|
void |
setCalls(int newCalls)
|
void |
setCumulativeTime(double newCumulativeTime)
|
void |
setDefiningClass(TRCClass newDefiningClass)
|
void |
setId(int newId)
|
void |
setLineCount(int newLineCount)
|
void |
setLineNo(int newLineNo)
|
void |
setModifier(int newModifier)
|
void |
setName(java.lang.String newName)
|
void |
setNotation(TRCSignatureNotation newNotation)
|
void |
setSignature(java.lang.String newSignature)
|
void |
setTotalCpuTime(double newTotalCpuTime)
|
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 |
|---|
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eHasSettings, eInternalResource, eInverseAdd, eInverseRemove, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues |
| 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, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
| 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 |
protected static final int ID_EDEFAULT
Id' attribute.
getId(),
Constant Field Valuesprotected int id
Id' attribute.
getId()protected static final java.lang.String NAME_EDEFAULT
Name' attribute.
getName()protected java.lang.String name
Name' attribute.
getName()protected static final java.lang.String SIGNATURE_EDEFAULT
Signature' attribute.
getSignature()protected java.lang.String signature
Signature' attribute.
getSignature()protected static final int MODIFIER_EDEFAULT
Modifier' attribute.
getModifier(),
Constant Field Valuesprotected int modifier
Modifier' attribute.
getModifier()protected static final TRCSignatureNotation NOTATION_EDEFAULT
Notation' attribute.
getNotation()protected TRCSignatureNotation notation
Notation' attribute.
getNotation()protected static final int LINE_NO_EDEFAULT
Line No' attribute.
getLineNo(),
Constant Field Valuesprotected int lineNo
Line No' attribute.
getLineNo()protected static final int LINE_COUNT_EDEFAULT
Line Count' attribute.
getLineCount(),
Constant Field Valuesprotected int lineCount
Line Count' attribute.
getLineCount()protected static final double BASE_TIME_EDEFAULT
Base Time' attribute.
getBaseTime(),
Constant Field Valuesprotected double baseTime
Base Time' attribute.
getBaseTime()protected static final double CUMULATIVE_TIME_EDEFAULT
Cumulative Time' attribute.
getCumulativeTime(),
Constant Field Valuesprotected double cumulativeTime
Cumulative Time' attribute.
getCumulativeTime()protected static final int CALLS_EDEFAULT
Calls' attribute.
getCalls(),
Constant Field Valuesprotected int calls
Calls' attribute.
getCalls()protected static final double TOTAL_CPU_TIME_EDEFAULT
Total Cpu Time' attribute.
getTotalCpuTime(),
Constant Field Valuesprotected double totalCpuTime
Total Cpu Time' attribute.
getTotalCpuTime()protected org.eclipse.emf.common.util.EList invocations
Invocations' reference list.
getInvocations()| Constructor Detail |
protected TRCMethodImpl()
| Method Detail |
public int computeDelta(IDelta delta)
IDeltaManager
computeDelta in interface IDeltaManager
public int computeDelta(IDelta delta,
int featureID)
computeDelta in interface IDeltaManagerpublic void removeSnapshot()
IDeltaManager
removeSnapshot in interface IDeltaManagerpublic ISnapshot retrieveSnapshot()
IDeltaManager
retrieveSnapshot in interface IDeltaManagerpublic void takeSnapshot()
IDeltaManager
takeSnapshot in interface IDeltaManagerprotected org.eclipse.emf.ecore.EClass eStaticClass()
eStaticClass in class TRCLanguageElementImplpublic int getId()
getId in interface TRCMethodTRCMethod.setId(int),
TracePackage.getTRCMethod_Id()public void setId(int newId)
setId in interface TRCMethodnewId - the new value of the 'Id' attribute.TRCMethod.getId()public java.lang.String getName()
getName in interface TRCMethodTRCMethod.setName(String),
TracePackage.getTRCMethod_Name()public void setName(java.lang.String newName)
setName in interface TRCMethodnewName - the new value of the 'Name' attribute.TRCMethod.getName()public java.lang.String getSignature()
getSignature in interface TRCMethodTRCMethod.setSignature(String),
TracePackage.getTRCMethod_Signature()public void setSignature(java.lang.String newSignature)
setSignature in interface TRCMethodnewSignature - the new value of the 'Signature' attribute.TRCMethod.getSignature()public int getModifier()
getModifier in interface TRCMethodTRCMethod.setModifier(int),
TracePackage.getTRCMethod_Modifier()public void setModifier(int newModifier)
setModifier in interface TRCMethodnewModifier - the new value of the 'Modifier' attribute.TRCMethod.getModifier()public TRCSignatureNotation getNotation()
getNotation in interface TRCMethodTRCSignatureNotation,
TRCMethod.setNotation(TRCSignatureNotation),
TracePackage.getTRCMethod_Notation()public void setNotation(TRCSignatureNotation newNotation)
setNotation in interface TRCMethodnewNotation - the new value of the 'Notation' attribute.TRCSignatureNotation,
TRCMethod.getNotation()public int getLineNo()
getLineNo in interface TRCMethodTRCMethod.setLineNo(int),
TracePackage.getTRCMethod_LineNo()public void setLineNo(int newLineNo)
setLineNo in interface TRCMethodnewLineNo - the new value of the 'Line No' attribute.TRCMethod.getLineNo()public int getLineCount()
getLineCount in interface TRCMethodTRCMethod.setLineCount(int),
TracePackage.getTRCMethod_LineCount()public void setLineCount(int newLineCount)
setLineCount in interface TRCMethodnewLineCount - the new value of the 'Line Count' attribute.TRCMethod.getLineCount()public double getBaseTime()
getBaseTime in interface TRCMethodTRCMethod.setBaseTime(double),
TracePackage.getTRCMethod_BaseTime()public void setBaseTime(double newBaseTime)
setBaseTime in interface TRCMethodnewBaseTime - the new value of the 'Base Time' attribute.TRCMethod.getBaseTime()public double getCumulativeTime()
getCumulativeTime in interface TRCMethodTRCMethod.setCumulativeTime(double),
TracePackage.getTRCMethod_CumulativeTime()public void setCumulativeTime(double newCumulativeTime)
setCumulativeTime in interface TRCMethodnewCumulativeTime - the new value of the 'Cumulative Time' attribute.TRCMethod.getCumulativeTime()public int getCalls()
getCalls in interface TRCMethodTRCMethod.setCalls(int),
TracePackage.getTRCMethod_Calls()public void setCalls(int newCalls)
setCalls in interface TRCMethodnewCalls - the new value of the 'Calls' attribute.TRCMethod.getCalls()public double getTotalCpuTime()
getTotalCpuTime in interface TRCMethodTRCMethod.setTotalCpuTime(double),
TracePackage.getTRCMethod_TotalCpuTime()public void setTotalCpuTime(double newTotalCpuTime)
setTotalCpuTime in interface TRCMethodnewTotalCpuTime - the new value of the 'Total Cpu Time' attribute.TRCMethod.getTotalCpuTime()public TRCClass getDefiningClass()
getDefiningClass in interface TRCMethodTRCMethod.setDefiningClass(TRCClass),
TracePackage.getTRCMethod_DefiningClass(),
TRCClass.getMethods()public void setDefiningClass(TRCClass newDefiningClass)
setDefiningClass in interface TRCMethodnewDefiningClass - the new value of the 'Defining Class' container reference.TRCMethod.getDefiningClass()public org.eclipse.emf.common.util.EList getInvocations()
getInvocations in interface TRCMethodTracePackage.getTRCMethod_Invocations(),
TRCMethodInvocation.getMethod()
public org.eclipse.emf.common.notify.NotificationChain eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd,
int featureID,
org.eclipse.emf.common.notify.NotificationChain msgs)
public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
int featureID,
org.eclipse.emf.common.notify.NotificationChain msgs)
eInverseRemove in class TRCLanguageElementImplpublic org.eclipse.emf.common.notify.NotificationChain eBasicRemoveFromContainerFeature(org.eclipse.emf.common.notify.NotificationChain msgs)
public java.lang.Object eGet(int featureID,
boolean resolve,
boolean coreType)
eGet in interface org.eclipse.emf.ecore.InternalEObjecteGet in class TRCLanguageElementImpl
public void eSet(int featureID,
java.lang.Object newValue)
eSet in interface org.eclipse.emf.ecore.InternalEObjecteSet in class TRCLanguageElementImplpublic void eUnset(int featureID)
eUnset in interface org.eclipse.emf.ecore.InternalEObjecteUnset in class TRCLanguageElementImplpublic boolean eIsSet(int featureID)
eIsSet in interface org.eclipse.emf.ecore.InternalEObjecteIsSet in class TRCLanguageElementImplpublic java.lang.String toString()
|
TPTP 4.4.0 Platform Project Public API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||