tte.rules.basics
Class DefinedSeveralTimesAttribute
java.lang.Object
tte.rules.basics.DefinedSeveralTimesAttribute
- All Implemented Interfaces:
- IRule
public class DefinedSeveralTimesAttribute
- 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 "Attribute defined several times in an element"
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.
This method indicates why the Rule would be raised. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefinedSeveralTimesAttribute
public DefinedSeveralTimesAttribute()
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.
This method indicates why the Rule would be raised.
- Specified by:
isRaisedForElement
in interface IRule
- Parameters:
elt
- the element that is checked with the ruleproject
- 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)
Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.