Traceability

ttm.impl
Class CoverageResultImpl

java.lang.Object
  extended by org.eclipse.emf.common.notify.impl.BasicNotifierImpl
      extended by org.eclipse.emf.ecore.impl.BasicEObjectImpl
          extended by org.eclipse.emf.ecore.impl.EObjectImpl
              extended by ttm.impl.CoverageResultImpl
All Implemented Interfaces:
Notifier, EObject, InternalEObject, CoverageResult

public class CoverageResultImpl
extends EObjectImpl
implements CoverageResult

An implementation of the model object 'Coverage Result'.

The following features are implemented:

** Generated **

Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImpl
 
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
BasicNotifierImpl.EAdapterList<E extends java.lang.Object & Adapter>
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
InternalEObject.EStore
 
Field Summary
protected  float coverage
          The cached value of the 'Coverage' attribute
protected static float COVERAGE_EDEFAULT
          The default value of the 'Coverage' attribute
protected  CoverPoint fromCoverPoint
          The cached value of the 'From Cover Point' reference
protected  Document fromDocument
          The cached value of the 'From Document' reference
protected  Document toDocument
          The cached value of the 'To Document' reference
 
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 CoverageResultImpl()
           
  CoverageResultImpl(Document fromDocument, CoverPoint fromCoverPoint, Document to, float coverageRatio, Project prj)
          constructor to create Coverage Result between a document/coverPoint and another document
 
Method Summary
 CoverPoint basicGetFromCoverPoint()
           
 Document basicGetFromDocument()
           
 Document basicGetToDocument()
           
 NotificationChain basicSetProject(Project newProject, NotificationChain msgs)
           
 NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs)
           
 java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
           
 NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs)
           
 NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, java.lang.Object newValue)
           
protected  EClass eStaticClass()
           
 void eUnset(int featureID)
           
 float getCoverage()
           
 CoverPoint getFromCoverPoint()
           
 Document getFromDocument()
           
 Project getProject()
           
 Document getToDocument()
           
 void setCoverage(float newCoverage)
           
 void setFromCoverPoint(CoverPoint newFromCoverPoint)
           
 void setFromDocument(Document newFromDocument)
           
 void setProject(Project newProject)
           
 void setToDocument(Document newToDocument)
           
 java.lang.String toString()
           
 
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.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

COVERAGE_EDEFAULT

protected static final float COVERAGE_EDEFAULT
The default value of the 'Coverage' attribute.

See Also:
getCoverage(), Constant Field Values
** Generated **
Ordered:

coverage

protected float coverage
The cached value of the 'Coverage' attribute.

See Also:
getCoverage()
** Generated **
Ordered:

fromDocument

protected Document fromDocument
The cached value of the 'From Document' reference.

See Also:
getFromDocument()
** Generated **
Ordered:

toDocument

protected Document toDocument
The cached value of the 'To Document' reference.

See Also:
getToDocument()
** Generated **
Ordered:

fromCoverPoint

protected CoverPoint fromCoverPoint
The cached value of the 'From Cover Point' reference.

See Also:
getFromCoverPoint()
** Generated **
Ordered:
Constructor Detail

CoverageResultImpl

protected CoverageResultImpl()

** Generated **

CoverageResultImpl

public CoverageResultImpl(Document fromDocument,
                          CoverPoint fromCoverPoint,
                          Document to,
                          float coverageRatio,
                          Project prj)
constructor to create Coverage Result between a document/coverPoint and another document TNI Addition

Parameters:
the - document that covers, can be null
the - coverpoint taht covers, can be null
the - document that is covered
the - coverage ratio
** Generated **
NOT
Method Detail

eStaticClass

protected EClass eStaticClass()

Overrides:
eStaticClass in class EObjectImpl
** Generated **

getCoverage

public float getCoverage()

Specified by:
getCoverage in interface CoverageResult
Returns:
the value of the 'Coverage' attribute.
See Also:
CoverageResult.setCoverage(float), TtmPackage.getCoverageResult_Coverage()
** Generated **

setCoverage

public void setCoverage(float newCoverage)

Specified by:
setCoverage in interface CoverageResult
Parameters:
newCoverage - the new value of the 'Coverage' attribute.
See Also:
CoverageResult.getCoverage()
** Generated **

getProject

public Project getProject()

Specified by:
getProject in interface CoverageResult
Returns:
the value of the 'Project' container reference.
See Also:
CoverageResult.setProject(Project), TtmPackage.getCoverageResult_Project(), Project.getCoverageResults()
** Generated **

basicSetProject

public NotificationChain basicSetProject(Project newProject,
                                         NotificationChain msgs)

** Generated **

setProject

public void setProject(Project newProject)

Specified by:
setProject in interface CoverageResult
Parameters:
newProject - the new value of the 'Project' container reference.
See Also:
CoverageResult.getProject()
** Generated **

getFromDocument

public Document getFromDocument()

Specified by:
getFromDocument in interface CoverageResult
Returns:
the value of the 'From Document' reference.
See Also:
CoverageResult.setFromDocument(Document), TtmPackage.getCoverageResult_FromDocument()
** Generated **

basicGetFromDocument

public Document basicGetFromDocument()

** Generated **

setFromDocument

public void setFromDocument(Document newFromDocument)

Specified by:
setFromDocument in interface CoverageResult
Parameters:
newFromDocument - the new value of the 'From Document' reference.
See Also:
CoverageResult.getFromDocument()
** Generated **

getToDocument

public Document getToDocument()

Specified by:
getToDocument in interface CoverageResult
Returns:
the value of the 'To Document' reference.
See Also:
CoverageResult.setToDocument(Document), TtmPackage.getCoverageResult_ToDocument()
** Generated **

basicGetToDocument

public Document basicGetToDocument()

** Generated **

setToDocument

public void setToDocument(Document newToDocument)

Specified by:
setToDocument in interface CoverageResult
Parameters:
newToDocument - the new value of the 'To Document' reference.
See Also:
CoverageResult.getToDocument()
** Generated **

getFromCoverPoint

public CoverPoint getFromCoverPoint()

Specified by:
getFromCoverPoint in interface CoverageResult
Returns:
the value of the 'From Cover Point' reference.
See Also:
CoverageResult.setFromCoverPoint(CoverPoint), TtmPackage.getCoverageResult_FromCoverPoint()
** Generated **

basicGetFromCoverPoint

public CoverPoint basicGetFromCoverPoint()

** Generated **

setFromCoverPoint

public void setFromCoverPoint(CoverPoint newFromCoverPoint)

Specified by:
setFromCoverPoint in interface CoverageResult
Parameters:
newFromCoverPoint - the new value of the 'From Cover Point' reference.
See Also:
CoverageResult.getFromCoverPoint()
** Generated **

eInverseAdd

public NotificationChain eInverseAdd(InternalEObject otherEnd,
                                     int featureID,
                                     NotificationChain msgs)

Overrides:
eInverseAdd in class BasicEObjectImpl
** Generated **

eInverseRemove

public NotificationChain eInverseRemove(InternalEObject otherEnd,
                                        int featureID,
                                        NotificationChain msgs)

Overrides:
eInverseRemove in class BasicEObjectImpl
** Generated **

eBasicRemoveFromContainerFeature

public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs)

Overrides:
eBasicRemoveFromContainerFeature in class BasicEObjectImpl
** Generated **

eGet

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

Specified by:
eGet in interface InternalEObject
Overrides:
eGet in class BasicEObjectImpl
** Generated **

eSet

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

Specified by:
eSet in interface InternalEObject
Overrides:
eSet in class BasicEObjectImpl
** Generated **

eUnset

public void eUnset(int featureID)

Specified by:
eUnset in interface InternalEObject
Overrides:
eUnset in class BasicEObjectImpl
** Generated **

eIsSet

public boolean eIsSet(int featureID)

Specified by:
eIsSet in interface InternalEObject
Overrides:
eIsSet in class BasicEObjectImpl
** Generated **

toString

public java.lang.String toString()

Overrides:
toString in class BasicEObjectImpl
** Generated **

Traceability

Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.