|
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.ElementImpl
ttm.impl.AttributeOwnerImpl
ttm.impl.IdentifiedElementImpl
ttm.impl.ProjectImpl
public class ProjectImpl
An implementation of the model object 'Project'.
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 static boolean |
ANY_DOCUMENT_COVERED_EDEFAULT
The default value of the ' Any Document Covered ' attribute |
protected boolean |
anyDocumentCovered
The cached value of the ' Any Document Covered ' attribute |
protected EList |
coverageResults
The cached value of the ' Coverage Results ' containment reference list |
protected EList |
documents
The cached value of the ' Documents ' containment reference list |
protected EList |
rules
The cached value of the ' Rules ' containment reference list |
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 |
ProjectImpl()
|
Method Summary | |
---|---|
void |
addCachedElement(java.lang.Integer key,
java.lang.Object elt)
add converted elements by classifier IDs |
void |
addCoverageResult(Document fromDoc,
CoverPoint fromCoverPoint,
Document to,
float ratio)
TNI Addition |
void |
addRuleDefinition(Rule aRule)
TNI Addition |
void |
cleanCachedElements()
clean the converted elements map |
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)
|
EList |
getCoverageResults()
|
Document |
getDocument()
Gets the document of the Element. |
EList |
getDocuments()
|
java.util.List<java.lang.Object> |
getRequirements()
gets the list of requirements in the project |
java.util.Set<Document> |
getRootDocumentsFromProjectElements()
TNI Addition |
EList |
getRules()
|
java.lang.String |
getTtmFilename()
gets the ttm filename. |
boolean |
isAnyDocumentCovered()
|
void |
setAnyDocumentCovered(boolean newAnyDocumentCovered)
|
java.lang.String |
toString()
|
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.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.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 |
---|
protected EList documents
Documents
' containment reference list.
getDocuments()
protected EList rules
Rules
' containment reference list.
getRules()
protected EList coverageResults
Coverage Results
' containment reference list.
getCoverageResults()
protected static final boolean ANY_DOCUMENT_COVERED_EDEFAULT
Any Document Covered
' attribute.
isAnyDocumentCovered()
,
Constant Field Valuesprotected boolean anyDocumentCovered
Any Document Covered
' attribute.
isAnyDocumentCovered()
Constructor Detail |
---|
protected ProjectImpl()
Method Detail |
---|
protected EClass eStaticClass()
eStaticClass
in class IdentifiedElementImpl
public EList getDocuments()
getDocuments
in interface Project
ttm.TtmPackage#getProject_Document()
,
Document.getProject()
public EList getRules()
getRules
in interface Project
ttm.TtmPackage#getProject_Rule()
public EList getCoverageResults()
getCoverageResults
in interface Project
ttm.TtmPackage#getProject_CoverageResult()
,
CoverageResult.getProject()
public boolean isAnyDocumentCovered()
isAnyDocumentCovered
in interface Project
Project.setAnyDocumentCovered(boolean)
,
TtmPackage.getProject_AnyDocumentCovered()
public void setAnyDocumentCovered(boolean newAnyDocumentCovered)
setAnyDocumentCovered
in interface Project
newAnyDocumentCovered
- the new value of the 'Any Document Covered' attribute.Project.isAnyDocumentCovered()
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs)
eInverseAdd
in class IdentifiedElementImpl
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
eInverseRemove
in class IdentifiedElementImpl
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface InternalEObject
eGet
in class IdentifiedElementImpl
public void eSet(int featureID, java.lang.Object newValue)
eSet
in interface InternalEObject
eSet
in class IdentifiedElementImpl
public void eUnset(int featureID)
eUnset
in interface InternalEObject
eUnset
in class IdentifiedElementImpl
public boolean eIsSet(int featureID)
eIsSet
in interface InternalEObject
eIsSet
in class IdentifiedElementImpl
public java.lang.String toString()
toString
in class IdentifiedElementImpl
public java.util.Set<Document> getRootDocumentsFromProjectElements()
getRootDocumentsFromProjectElements
in interface Project
public void addCoverageResult(Document fromDoc, CoverPoint fromCoverPoint, Document to, float ratio)
addCoverageResult
in interface Project
public void addRuleDefinition(Rule aRule)
addRuleDefinition
in interface Project
public void addCachedElement(java.lang.Integer key, java.lang.Object elt)
addCachedElement
in interface Project
key
- is the object.eClass.classifierIDelt
- is a list of object in project which class id is keypublic java.util.List<java.lang.Object> getRequirements()
getRequirements
in interface Project
public void cleanCachedElements()
cleanCachedElements
in interface Project
public Document getDocument()
Element
getDocument
in interface Element
getDocument
in class ElementImpl
public java.lang.String getTtmFilename()
getTtmFilename
in interface Project
|
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.