Traceability

ttm.impl
Class DocumentImpl

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.ElementImpl
                  extended by ttm.impl.AttributeOwnerImpl
                      extended by ttm.impl.IdentifiedElementImpl
                          extended by ttm.impl.HierarchicalElementImpl
                              extended by ttm.impl.DocumentImpl
All Implemented Interfaces:
Notifier, EObject, InternalEObject, AttributeOwner, Document, Element, HierarchicalElement, IdentifiedElement

public class DocumentImpl
extends HierarchicalElementImpl
implements Document

An implementation of the model object 'Document'.

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 static java.lang.String ANALYZER_ARGUMENTS_EDEFAULT
          The default value of the 'Analyzer Arguments' attribute
protected static java.lang.String ANALYZER_ID_EDEFAULT
          The default value of the 'Analyzer ID' attribute
protected  java.lang.String analyzerArguments
          The cached value of the 'Analyzer Arguments' attribute
protected  java.lang.String analyzerID
          The cached value of the 'Analyzer ID' attribute
protected static java.lang.String CONVERSION_METHOD_ID_EDEFAULT
          The default value of the 'Conversion Method ID' attribute
protected  java.lang.String conversionMethodID
          The cached value of the 'Conversion Method ID' attribute
protected  EList coverPoints
          The cached value of the 'Cover Points' containment reference list
protected static boolean COVERS_ITSELF_EDEFAULT
          The default value of the 'Covers Itself' attribute
protected  boolean coversItself
          The cached value of the 'Covers Itself' attribute
protected static java.lang.String EDITION_METHOD_ID_EDEFAULT
          The default value of the 'Edition Method ID' attribute
protected  java.lang.String editionMethodID
          The cached value of the 'Edition Method ID' attribute
protected  java.lang.String filename
          The cached value of the 'Filename' attribute
protected static java.lang.String FILENAME_EDEFAULT
          The default value of the 'Filename' attribute
protected static float GLOBAL_COVERAGE_RATIO_EDEFAULT
          The default value of the 'Global Coverage Ratio' attribute
protected  float globalCoverageRatio
          The cached value of the 'Global Coverage Ratio' attribute
protected  EList incomingCoverPoints
          The cached value of the 'Incoming Cover Points' reference list
protected static long LAST_MODIFIED_DATE_EDEFAULT
          The default value of the 'Last Modified Date' attribute
protected  long lastModifiedDate
          The cached value of the 'Last Modified Date' attribute
 
Fields inherited from class ttm.impl.HierarchicalElementImpl
children, coverLinks, incomingNavigationLinks, navigationLinks
 
Fields inherited from class ttm.impl.IdentifiedElementImpl
ident, IDENT_EDEFAULT, SHORT_DESCRIPTION_EDEFAULT, shortDescription, texts
 
Fields inherited from class ttm.impl.AttributeOwnerImpl
attributes
 
Fields inherited from class ttm.impl.ElementImpl
activatedRules
 
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 DocumentImpl()
           
 
Method Summary
 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)
           
 java.lang.String getAnalyzerArguments()
           
 java.lang.String getAnalyzerID()
           
 java.lang.String getConversionMethodID()
           
 java.util.Map<java.lang.Object,java.lang.Float> getCoverageResults()
          TNI Addition
 java.util.List<Document> getCoveredDocuments()
          Returns the value of the 'Covered Documents' reference list.
 java.util.List<Document> getCoveringDocuments()
          Returns the value of the 'Covering Documents' reference list.
 EList getCoverPoints()
           
 Document getDocument()
          Gets the document of the Element.
 java.lang.String getEditionMethodID()
           
 java.lang.String getFilename()
           
 float getGlobalCoverageRatio()
           
 EList getIncomingCoverPoints()
           
 long getLastModifiedDate()
           
 Project getProject()
           
 boolean isCoversItself()
           
 void printCoverageResultsOn(java.io.PrintStream ptstr)
          TNI Addition
 void setAnalyzerArguments(java.lang.String newAnalyzerArguments)
           
 void setAnalyzerID(java.lang.String newAnalyzerID)
           
 void setConversionMethodID(java.lang.String newConversionMethodID)
           
 void setCoversItself(boolean newCoversItself)
           
 void setEditionMethodID(java.lang.String newEditionMethodID)
           
 void setFilename(java.lang.String newFilename)
           
 void setGlobalCoverageRatio(float newGlobalCoverageRatio)
           
 void setLastModifiedDate(long newLastModifiedDate)
           
 void setProject(Project newProject)
           
 java.lang.String toString()
           
 
Methods inherited from class ttm.impl.HierarchicalElementImpl
basicSetParent, getChildren, getCoverLinks, getIncomingNavigationLinks, getNavigationLinks, getParent, isCoveringElementID, isMacroRequirement, setParent
 
Methods inherited from class ttm.impl.IdentifiedElementImpl
getIdent, getShortDescription, getTexts, setIdent, setShortDescription
 
Methods inherited from class ttm.impl.AttributeOwnerImpl
getAttributes
 
Methods inherited from class ttm.impl.ElementImpl
getActivatedRules
 
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 ttm.HierarchicalElement
getChildren, getCoverLinks, getIncomingNavigationLinks, getNavigationLinks, getParent, isCoveringElementID, isMacroRequirement, setParent
 
Methods inherited from interface ttm.IdentifiedElement
getIdent, getShortDescription, getTexts, setIdent, setShortDescription
 
Methods inherited from interface ttm.AttributeOwner
getAttributes
 
Methods inherited from interface ttm.Element
getActivatedRules
 
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

ANALYZER_ID_EDEFAULT

protected static final java.lang.String ANALYZER_ID_EDEFAULT
The default value of the 'Analyzer ID' attribute.

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

analyzerID

protected java.lang.String analyzerID
The cached value of the 'Analyzer ID' attribute.

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

LAST_MODIFIED_DATE_EDEFAULT

protected static final long LAST_MODIFIED_DATE_EDEFAULT
The default value of the 'Last Modified Date' attribute.

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

lastModifiedDate

protected long lastModifiedDate
The cached value of the 'Last Modified Date' attribute.

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

FILENAME_EDEFAULT

protected static final java.lang.String FILENAME_EDEFAULT
The default value of the 'Filename' attribute.

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

filename

protected java.lang.String filename
The cached value of the 'Filename' attribute.

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

COVERS_ITSELF_EDEFAULT

protected static final boolean COVERS_ITSELF_EDEFAULT
The default value of the 'Covers Itself' attribute.

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

coversItself

protected boolean coversItself
The cached value of the 'Covers Itself' attribute.

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

coverPoints

protected EList coverPoints
The cached value of the 'Cover Points' containment reference list.

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

incomingCoverPoints

protected EList incomingCoverPoints
The cached value of the 'Incoming Cover Points' reference list.

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

CONVERSION_METHOD_ID_EDEFAULT

protected static final java.lang.String CONVERSION_METHOD_ID_EDEFAULT
The default value of the 'Conversion Method ID' attribute.

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

conversionMethodID

protected java.lang.String conversionMethodID
The cached value of the 'Conversion Method ID' attribute.

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

ANALYZER_ARGUMENTS_EDEFAULT

protected static final java.lang.String ANALYZER_ARGUMENTS_EDEFAULT
The default value of the 'Analyzer Arguments' attribute.

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

analyzerArguments

protected java.lang.String analyzerArguments
The cached value of the 'Analyzer Arguments' attribute.

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

GLOBAL_COVERAGE_RATIO_EDEFAULT

protected static final float GLOBAL_COVERAGE_RATIO_EDEFAULT
The default value of the 'Global Coverage Ratio' attribute.

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

globalCoverageRatio

protected float globalCoverageRatio
The cached value of the 'Global Coverage Ratio' attribute.

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

EDITION_METHOD_ID_EDEFAULT

protected static final java.lang.String EDITION_METHOD_ID_EDEFAULT
The default value of the 'Edition Method ID' attribute.

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

editionMethodID

protected java.lang.String editionMethodID
The cached value of the 'Edition Method ID' attribute.

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

DocumentImpl

protected DocumentImpl()

** Generated **
Method Detail

eStaticClass

protected EClass eStaticClass()

Overrides:
eStaticClass in class HierarchicalElementImpl
** Generated **

getAnalyzerID

public java.lang.String getAnalyzerID()

Specified by:
getAnalyzerID in interface Document
Returns:
the value of the 'Analyzer ID' attribute.
See Also:
Document.setAnalyzerID(String), TtmPackage.getDocument_AnalyzerID()
** Generated **

setAnalyzerID

public void setAnalyzerID(java.lang.String newAnalyzerID)

Specified by:
setAnalyzerID in interface Document
Parameters:
newAnalyzerID - the new value of the 'Analyzer ID' attribute.
See Also:
Document.getAnalyzerID()
** Generated **

getLastModifiedDate

public long getLastModifiedDate()

Specified by:
getLastModifiedDate in interface Document
Returns:
the value of the 'Last Modified Date' attribute.
See Also:
Document.setLastModifiedDate(long), TtmPackage.getDocument_LastModifiedDate()
** Generated **

setLastModifiedDate

public void setLastModifiedDate(long newLastModifiedDate)

Specified by:
setLastModifiedDate in interface Document
Parameters:
newLastModifiedDate - the new value of the 'Last Modified Date' attribute.
See Also:
Document.getLastModifiedDate()
** Generated **

getFilename

public java.lang.String getFilename()

Specified by:
getFilename in interface Document
Returns:
the value of the 'Filename' attribute.
See Also:
Document.setFilename(String), TtmPackage.getDocument_Filename()
** Generated **

setFilename

public void setFilename(java.lang.String newFilename)

Specified by:
setFilename in interface Document
Parameters:
newFilename - the new value of the 'Filename' attribute.
See Also:
Document.getFilename()
** Generated **

isCoversItself

public boolean isCoversItself()

Specified by:
isCoversItself in interface Document
Returns:
the value of the 'Covers Itself' attribute.
See Also:
Document.setCoversItself(boolean), TtmPackage.getDocument_CoversItself()
** Generated **

setCoversItself

public void setCoversItself(boolean newCoversItself)

Specified by:
setCoversItself in interface Document
Parameters:
newCoversItself - the new value of the 'Covers Itself' attribute.
See Also:
Document.isCoversItself()
** Generated **

getProject

public Project getProject()

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

basicSetProject

public NotificationChain basicSetProject(Project newProject,
                                         NotificationChain msgs)

** Generated **

setProject

public void setProject(Project newProject)

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

getCoverPoints

public EList getCoverPoints()

Specified by:
getCoverPoints in interface Document
Returns:
the value of the 'Cover Points' containment reference list.
See Also:
TtmPackage.getDocument_CoverPoints(), CoverPoint.getCoveredDocument()
** Generated **

getIncomingCoverPoints

public EList getIncomingCoverPoints()

Specified by:
getIncomingCoverPoints in interface Document
Returns:
the value of the 'Incoming Cover Points' reference list.
See Also:
TtmPackage.getDocument_IncomingCoverPoints(), CoverPoint.getConnectedDocuments()
** Generated **

getConversionMethodID

public java.lang.String getConversionMethodID()

Specified by:
getConversionMethodID in interface Document
Returns:
the value of the 'Conversion Method ID' attribute.
See Also:
Document.setConversionMethodID(String), TtmPackage.getDocument_ConversionMethodID()
** Generated **

setConversionMethodID

public void setConversionMethodID(java.lang.String newConversionMethodID)

Specified by:
setConversionMethodID in interface Document
Parameters:
newConversionMethodID - the new value of the 'Conversion Method ID' attribute.
See Also:
Document.getConversionMethodID()
** Generated **

getAnalyzerArguments

public java.lang.String getAnalyzerArguments()

Specified by:
getAnalyzerArguments in interface Document
Returns:
the value of the 'Analyzer Arguments' attribute.
See Also:
Document.setAnalyzerArguments(String), TtmPackage.getDocument_AnalyzerArguments()
** Generated **

setAnalyzerArguments

public void setAnalyzerArguments(java.lang.String newAnalyzerArguments)

Specified by:
setAnalyzerArguments in interface Document
Parameters:
newAnalyzerArguments - the new value of the 'Analyzer Arguments' attribute.
See Also:
Document.getAnalyzerArguments()
** Generated **

getGlobalCoverageRatio

public float getGlobalCoverageRatio()

Specified by:
getGlobalCoverageRatio in interface Document
Returns:
the value of the 'Global Coverage Ratio' attribute.
See Also:
Document.setGlobalCoverageRatio(float), TtmPackage.getDocument_GlobalCoverageRatio()
** Generated **

setGlobalCoverageRatio

public void setGlobalCoverageRatio(float newGlobalCoverageRatio)

Specified by:
setGlobalCoverageRatio in interface Document
Parameters:
newGlobalCoverageRatio - the new value of the 'Global Coverage Ratio' attribute.
See Also:
Document.getGlobalCoverageRatio()
** Generated **

getEditionMethodID

public java.lang.String getEditionMethodID()

Specified by:
getEditionMethodID in interface Document
Returns:
the value of the 'Edition Method ID' attribute.
See Also:
Document.setEditionMethodID(String), TtmPackage.getDocument_EditionMethodID()
** Generated **

setEditionMethodID

public void setEditionMethodID(java.lang.String newEditionMethodID)

Specified by:
setEditionMethodID in interface Document
Parameters:
newEditionMethodID - the new value of the 'Edition Method ID' attribute.
See Also:
Document.getEditionMethodID()
** Generated **

eInverseAdd

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

Overrides:
eInverseAdd in class HierarchicalElementImpl
** Generated **

eInverseRemove

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

Overrides:
eInverseRemove in class HierarchicalElementImpl
** Generated **

eBasicRemoveFromContainerFeature

public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs)

Overrides:
eBasicRemoveFromContainerFeature in class HierarchicalElementImpl
** Generated **

eGet

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

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

eSet

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

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

eUnset

public void eUnset(int featureID)

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

eIsSet

public boolean eIsSet(int featureID)

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

toString

public java.lang.String toString()

Overrides:
toString in class IdentifiedElementImpl
** Generated **

getCoverageResults

public java.util.Map<java.lang.Object,java.lang.Float> getCoverageResults()
TNI Addition

Specified by:
getCoverageResults in interface Document
** Generated **
NOT

printCoverageResultsOn

public void printCoverageResultsOn(java.io.PrintStream ptstr)
TNI Addition

Specified by:
printCoverageResultsOn in interface Document
** Generated **
NOT

getCoveringDocuments

public java.util.List<Document> getCoveringDocuments()
Description copied from interface: Document
Returns the value of the 'Covering Documents' reference list. The list contents are of type Document. It is bidirectional and its opposite is 'Covered Documents'.

If the meaning of the 'Covering Documents' reference isn't clear, there really should be more of a description here...

Specified by:
getCoveringDocuments in interface Document
Returns:
the value of the 'Covering Documents' reference list.
See Also:
ttm.TtmPackage#getDocument_CoveringDocuments(), Document.getCoveredDocuments()

getCoveredDocuments

public java.util.List<Document> getCoveredDocuments()
Description copied from interface: Document
Returns the value of the 'Covered Documents' reference list. The list contents are of type Document. It is bidirectional and its opposite is 'Covering Documents'.

If the meaning of the 'Covered Documents' reference list isn't clear, there really should be more of a description here...

Specified by:
getCoveredDocuments in interface Document
Returns:
the value of the 'Covered Documents' reference list.
See Also:
ttm.TtmPackage#getDocument_CoveredDocuments(), Document.getCoveringDocuments()

getDocument

public Document getDocument()
Description copied from interface: Element
Gets the document of the Element.

Specified by:
getDocument in interface Element
Specified by:
getDocument in interface HierarchicalElement
Overrides:
getDocument in class HierarchicalElementImpl
Returns:
the document of the element.
See Also:
TtmPackage.getHierarchicalElement_Parent()

Traceability

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