Traceability

tte.rules
Class ExtendedRule

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.RuleImpl
                  extended by tte.rules.ExtendedRule
All Implemented Interfaces:
Notifier, EObject, InternalEObject, Rule

public class ExtendedRule
extends RuleImpl

Class corresponding to the Rule intances creates from the RulesSet extensions analysis.


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
 
Fields inherited from class ttm.impl.RuleImpl
LEVEL_EDEFAULT, message, MESSAGE_EDEFAULT, name, NAME_EDEFAULT, ruleInstances
 
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
ExtendedRule(org.eclipse.core.runtime.IConfigurationElement aConfigElement)
          Creates a ne instance of Rule from extension analysis.
 
Method Summary
 boolean basicIsAppliedToElement(Element elt)
          Checks if the rule is applied to an element.
 boolean basicIsRaisedForElement(Element elt, Project project)
          Checks if the Rule is raised for an element.
 java.lang.String getMessageForElement(Element elt)
          Returns the value of the 'Message' attribute, customized with the element in parameter
 
Methods inherited from class ttm.impl.RuleImpl
eGet, eInverseAdd, eInverseRemove, eIsSet, eSet, eStaticClass, eUnset, getLevel, getMessage, getName, getRuleInstances, setLevel, setMessage, setName, 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, eBasicRemoveFromContainerFeature, 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
 

Constructor Detail

ExtendedRule

public ExtendedRule(org.eclipse.core.runtime.IConfigurationElement aConfigElement)
Creates a ne instance of Rule from extension analysis.

Parameters:
aConfigElement - the element that contains the structure of the rule in the extension declaration.
Method Detail

basicIsAppliedToElement

public final boolean basicIsAppliedToElement(Element elt)
Checks if the rule is applied to an element.

Parameters:
elt - the element that can own the Rule
Returns:
if the rule is applied to an element

basicIsRaisedForElement

public final boolean basicIsRaisedForElement(Element elt,
                                             Project project)
Checks if the Rule is raised for an element.

Parameters:
elt - the element that will own the Rule
project - the project that can be used to determine if the Rule should be raised
Returns:
if the Rule is raised for an element

getMessageForElement

public final java.lang.String getMessageForElement(Element elt)
Returns the value of the 'Message' attribute, customized with the element in parameter. TNI Addition

Overrides:
getMessageForElement in class RuleImpl
Returns:
the value of the 'Message' attribute, customized with the element in parameter.
See Also:
RuleImpl.getMessageForElement(ttm.Element)

Traceability

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