|
Traceability | |||||||||
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
ttm.impl.CoverageResultImpl
public class CoverageResultImpl
An implementation of the model object 'Coverage Result'.
The following features are implemented:
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 |
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.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 |
---|
protected static final float COVERAGE_EDEFAULT
Coverage
' attribute.
getCoverage()
,
Constant Field Valuesprotected float coverage
Coverage
' attribute.
getCoverage()
protected Document fromDocument
From Document
' reference.
getFromDocument()
protected Document toDocument
To Document
' reference.
getToDocument()
protected CoverPoint fromCoverPoint
From Cover Point
' reference.
getFromCoverPoint()
Constructor Detail |
---|
protected CoverageResultImpl()
public CoverageResultImpl(Document fromDocument, CoverPoint fromCoverPoint, Document to, float coverageRatio, Project prj)
the
- document that covers, can be nullthe
- coverpoint taht covers, can be nullthe
- document that is coveredthe
- coverage ratioMethod Detail |
---|
protected EClass eStaticClass()
eStaticClass
in class EObjectImpl
public float getCoverage()
getCoverage
in interface CoverageResult
CoverageResult.setCoverage(float)
,
TtmPackage.getCoverageResult_Coverage()
public void setCoverage(float newCoverage)
setCoverage
in interface CoverageResult
newCoverage
- the new value of the 'Coverage' attribute.CoverageResult.getCoverage()
public Project getProject()
getProject
in interface CoverageResult
CoverageResult.setProject(Project)
,
TtmPackage.getCoverageResult_Project()
,
Project.getCoverageResults()
public NotificationChain basicSetProject(Project newProject, NotificationChain msgs)
public void setProject(Project newProject)
setProject
in interface CoverageResult
newProject
- the new value of the 'Project' container reference.CoverageResult.getProject()
public Document getFromDocument()
getFromDocument
in interface CoverageResult
CoverageResult.setFromDocument(Document)
,
TtmPackage.getCoverageResult_FromDocument()
public Document basicGetFromDocument()
public void setFromDocument(Document newFromDocument)
setFromDocument
in interface CoverageResult
newFromDocument
- the new value of the 'From Document' reference.CoverageResult.getFromDocument()
public Document getToDocument()
getToDocument
in interface CoverageResult
CoverageResult.setToDocument(Document)
,
TtmPackage.getCoverageResult_ToDocument()
public Document basicGetToDocument()
public void setToDocument(Document newToDocument)
setToDocument
in interface CoverageResult
newToDocument
- the new value of the 'To Document' reference.CoverageResult.getToDocument()
public CoverPoint getFromCoverPoint()
getFromCoverPoint
in interface CoverageResult
CoverageResult.setFromCoverPoint(CoverPoint)
,
TtmPackage.getCoverageResult_FromCoverPoint()
public CoverPoint basicGetFromCoverPoint()
public void setFromCoverPoint(CoverPoint newFromCoverPoint)
setFromCoverPoint
in interface CoverageResult
newFromCoverPoint
- the new value of the 'From Cover Point' reference.CoverageResult.getFromCoverPoint()
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs)
eInverseAdd
in class BasicEObjectImpl
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
eInverseRemove
in class BasicEObjectImpl
public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs)
eBasicRemoveFromContainerFeature
in class BasicEObjectImpl
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface InternalEObject
eGet
in class BasicEObjectImpl
public void eSet(int featureID, java.lang.Object newValue)
eSet
in interface InternalEObject
eSet
in class BasicEObjectImpl
public void eUnset(int featureID)
eUnset
in interface InternalEObject
eUnset
in class BasicEObjectImpl
public boolean eIsSet(int featureID)
eIsSet
in interface InternalEObject
eIsSet
in class BasicEObjectImpl
public java.lang.String toString()
toString
in class BasicEObjectImpl
|
Traceability | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.