TPTP 4.2.0 Platform Project
Public API Specification

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

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.TRCLLDataImpl
                  extended byorg.eclipse.hyades.models.trace.impl.TRCLineCoverageDataImpl
All Implemented Interfaces:
org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject, org.eclipse.emf.common.notify.Notifier, TRCLineCoverageData, TRCLLData
Direct Known Subclasses:
TRCLinePerformanceDataImpl

public class TRCLineCoverageDataImpl
extends TRCLLDataImpl
implements TRCLineCoverageData

An implementation of the model object 'TRC Line Coverage Data'.

The following features are implemented:

Generated

Nested Class Summary
 
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 int[] COUNT_TABLE_EDEFAULT
          The default value of the 'Count Table' attribute
protected  int[] countTable
          The cached value of the 'Count Table' attribute
protected static boolean[] HIT_TABLE_EDEFAULT
          The default value of the 'Hit Table' attribute
protected  boolean[] hitTable
          The cached value of the 'Hit Table' attribute
protected static int[] LINE_TABLE_EDEFAULT
          The default value of the 'Line Table' attribute
protected  int[] lineTable
          The cached value of the 'Line Table' attribute
protected  TRCSourceInfoWithLLData sourceInfo
          The cached value of the 'Source Info' reference
 
Fields inherited from class org.eclipse.hyades.models.trace.impl.TRCLLDataImpl
headings, HEADINGS_EDEFAULT, SUMMARY_NONZERO_EDEFAULT, SUMMARY_UNITS_EDEFAULT, summaryNonzero, summaryUnits, TYPE_ID_EDEFAULT, typeId
 
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 TRCLineCoverageDataImpl()
           
 
Method Summary
 TRCSourceInfoWithLLData basicGetSourceInfo()
           
 java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, java.lang.Object newValue)
           
protected  org.eclipse.emf.ecore.EClass eStaticClass()
           
 void eUnset(int featureID)
           
 int[] getCountTable()
           
 boolean[] getHitTable()
           In the case hitTable has not been provided, countTable is used to fill it in and ensure the availability service to hit-only consumers.
 int[] getLineTable()
           
 TRCSourceInfoWithLLData getSourceInfo()
           
 int getUnitCount()
           
 LLUnitData getUnitData(int unitNumber, LLUnitData instance)
           
 boolean hasAccumulatedTimeInfo()
           
 boolean hasCountInfo()
           
 void setCountTable(int[] newCountTable)
           
 void setHitTable(boolean[] newHitTable)
           
 void setLineTable(int[] newLineTable)
           
 void setSourceInfo(TRCSourceInfoWithLLData newSourceInfo)
           
 java.lang.String toString()
           
 
Methods inherited from class org.eclipse.hyades.models.trace.impl.TRCLLDataImpl
eBasicRemoveFromContainerFeature, eInverseAdd, eInverseRemove, getHeadings, getMethod, getSummaryNonzero, getSummaryUnits, getTypeId, setHeadings, setMethod, setSummaryNonzero, setSummaryUnits, setTypeId
 
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.TRCLLData
getHeadings, getMethod, getSummaryNonzero, getSummaryUnits, getTypeId, setHeadings, setMethod, setSummaryNonzero, setSummaryUnits, setTypeId
 
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

LINE_TABLE_EDEFAULT

protected static final int[] LINE_TABLE_EDEFAULT
The default value of the 'Line Table' attribute.

See Also:
getLineTable()
Generated
[EMF] Ordered

lineTable

protected int[] lineTable
The cached value of the 'Line Table' attribute.

See Also:
getLineTable()
Generated
[EMF] Ordered

HIT_TABLE_EDEFAULT

protected static final boolean[] HIT_TABLE_EDEFAULT
The default value of the 'Hit Table' attribute.

See Also:
getHitTable()
Generated
[EMF] Ordered

hitTable

protected boolean[] hitTable
The cached value of the 'Hit Table' attribute.

See Also:
getHitTable()
Generated
[EMF] Ordered

COUNT_TABLE_EDEFAULT

protected static final int[] COUNT_TABLE_EDEFAULT
The default value of the 'Count Table' attribute.

See Also:
getCountTable()
Generated
[EMF] Ordered

countTable

protected int[] countTable
The cached value of the 'Count Table' attribute.

See Also:
getCountTable()
Generated
[EMF] Ordered

sourceInfo

protected TRCSourceInfoWithLLData sourceInfo
The cached value of the 'Source Info' reference.

See Also:
getSourceInfo()
Generated
[EMF] Ordered
Constructor Detail

TRCLineCoverageDataImpl

protected TRCLineCoverageDataImpl()

Generated
Method Detail

eStaticClass

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

Overrides:
eStaticClass in class TRCLLDataImpl
Generated

getLineTable

public int[] getLineTable()

Specified by:
getLineTable in interface TRCLineCoverageData
Returns:
the value of the 'Line Table' attribute.
See Also:
TRCLineCoverageData.setLineTable(int[]), TracePackage.getTRCLineCoverageData_LineTable()
Generated

setLineTable

public void setLineTable(int[] newLineTable)

Specified by:
setLineTable in interface TRCLineCoverageData
Parameters:
newLineTable - the new value of the 'Line Table' attribute.
See Also:
TRCLineCoverageData.getLineTable()
Generated

getHitTable

public boolean[] getHitTable()
In the case hitTable has not been provided, countTable is used to fill it in and ensure the availability service to hit-only consumers. This behavior is NOT generated by EMF engine.

Specified by:
getHitTable in interface TRCLineCoverageData
Returns:
the value of the 'Hit Table' attribute.
See Also:
TRCLineCoverageData.setHitTable(boolean[]), TracePackage.getTRCLineCoverageData_HitTable()
Generated
NOT

setHitTable

public void setHitTable(boolean[] newHitTable)

Specified by:
setHitTable in interface TRCLineCoverageData
Parameters:
newHitTable - the new value of the 'Hit Table' attribute.
See Also:
TRCLineCoverageData.getHitTable()
Generated

getCountTable

public int[] getCountTable()

Specified by:
getCountTable in interface TRCLineCoverageData
Returns:
the value of the 'Count Table' attribute.
See Also:
TRCLineCoverageData.setCountTable(int[]), TracePackage.getTRCLineCoverageData_CountTable()
Generated

setCountTable

public void setCountTable(int[] newCountTable)

Specified by:
setCountTable in interface TRCLineCoverageData
Parameters:
newCountTable - the new value of the 'Count Table' attribute.
See Also:
TRCLineCoverageData.getCountTable()
Generated

getSourceInfo

public TRCSourceInfoWithLLData getSourceInfo()

Specified by:
getSourceInfo in interface TRCLineCoverageData
Returns:
the value of the 'Source Info' reference.
See Also:
TRCLineCoverageData.setSourceInfo(TRCSourceInfoWithLLData), TracePackage.getTRCLineCoverageData_SourceInfo()
Generated

basicGetSourceInfo

public TRCSourceInfoWithLLData basicGetSourceInfo()

Generated

setSourceInfo

public void setSourceInfo(TRCSourceInfoWithLLData newSourceInfo)

Specified by:
setSourceInfo in interface TRCLineCoverageData
Parameters:
newSourceInfo - the new value of the 'Source Info' reference.
See Also:
TRCLineCoverageData.getSourceInfo()
Generated

eGet

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

Specified by:
eGet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eGet in class TRCLLDataImpl
Generated

eSet

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

Specified by:
eSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eSet in class TRCLLDataImpl
Generated

eUnset

public void eUnset(int featureID)

Specified by:
eUnset in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eUnset in class TRCLLDataImpl
Generated

eIsSet

public boolean eIsSet(int featureID)

Specified by:
eIsSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eIsSet in class TRCLLDataImpl
Generated

getUnitCount

public int getUnitCount()

Specified by:
getUnitCount in interface TRCLineCoverageData
Overrides:
getUnitCount in class TRCLLDataImpl
Generated
NOT

getUnitData

public LLUnitData getUnitData(int unitNumber,
                              LLUnitData instance)

Specified by:
getUnitData in interface TRCLineCoverageData
Overrides:
getUnitData in class TRCLLDataImpl
Generated
NOT

hasCountInfo

public boolean hasCountInfo()

Specified by:
hasCountInfo in interface TRCLineCoverageData
Overrides:
hasCountInfo in class TRCLLDataImpl
Generated
NOT

hasAccumulatedTimeInfo

public boolean hasAccumulatedTimeInfo()

Specified by:
hasAccumulatedTimeInfo in interface TRCLineCoverageData
Overrides:
hasAccumulatedTimeInfo in class TRCLLDataImpl
Generated
NOT

toString

public java.lang.String toString()

Overrides:
toString in class TRCLLDataImpl
Generated

TPTP 4.2.0 Platform Project
Public API Specification