Traceability

tte.rules.basics
Class DerivedRequirement

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

public class DerivedRequirement
extends java.lang.Object
implements IRule


Constructor Summary
DerivedRequirement()
           
 
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

DerivedRequirement

public DerivedRequirement()
Method Detail

isRaisedForElement

public java.lang.Boolean isRaisedForElement(Element elt,
                                            Project project)
Description copied from interface: IRule
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

getDisplayMessageForElement

public java.lang.String getDisplayMessageForElement(Element elt)
Description copied from interface: IRule
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

Traceability

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