Traceability

tte.rules.basics
Class TraceabilityViolation

java.lang.Object
  extended by tte.rules.basics.TraceabilityViolation
All Implemented Interfaces:
IRule

public class TraceabilityViolation
extends java.lang.Object
implements IRule

Class implemented IRule interface, that is the action class of a Rule for basic RulesSet extension. This Class defines the Rule "Traceability violation" if an element covers a requirement that is not in a document coveerd by the element's document


Constructor Summary
TraceabilityViolation()
           
 
Method Summary
 java.lang.String getDisplayMessageForElement(Element elt)
          Method that can be implemented to customize the displayed message when the rule is raised.
 java.lang.Boolean isRaisedForElement(Element elt, Project project)
          Method to implement to indicate how the rule is raised for element.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TraceabilityViolation

public TraceabilityViolation()
Method Detail

getDisplayMessageForElement

public final java.lang.String getDisplayMessageForElement(Element elt)
Method that can be implemented to customize the displayed message when the rule is raised.

Specified by:
getDisplayMessageForElement in interface IRule
Parameters:
elt - the element that owns thr Rule
Returns:
the displayed message for the rule on the element
See Also:
IRule.getDisplayMessageForElement(ttm.Element)

isRaisedForElement

public final java.lang.Boolean isRaisedForElement(Element elt,
                                                  Project project)
Method to implement to indicate how the rule is raised for element.

Specified by:
isRaisedForElement in interface IRule
Parameters:
elt - the element that is checked with the rule
project - the project that can be needed to determine if the rule should raised
Returns:
if the Rule is raised
See Also:
IRule.isRaisedForElement(ttm.Element, ttm.Project)

Traceability

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