org.argouml.uml.cognitive.checklist
Class UMLCheckItem
java.lang.Object
org.argouml.cognitive.checklist.CheckItem
org.argouml.uml.cognitive.checklist.UMLCheckItem
- All Implemented Interfaces:
- Serializable
- public class UMLCheckItem
- extends CheckItem
A special kind of CheckItem that can replace OCL expressions with
their values in the generated advice.
- See Also:
OCLEvaluator
,
Serialized Form
Fields inherited from class org.argouml.cognitive.checklist.CheckItem |
|
Method Summary |
String |
expand(String res,
Object dm)
Customize/expand the description string just before it is displayed. |
Methods inherited from class org.argouml.cognitive.checklist.CheckItem |
equals, getCategory, getDescription, getDescription, getMoreInfoURL, getPredicate, hashCode, setCategory, setDescription, setMoreInfoURL, setPredicate, toString |
LOG
private static final Logger LOG
UMLCheckItem
public UMLCheckItem(String c,
String d)
- The constructor.
- Parameters:
c
- the categoryd
- the description
UMLCheckItem
public UMLCheckItem(String c,
String d,
String m,
org.tigris.gef.util.Predicate p)
- The constructor.
- Parameters:
c
- the categoryd
- the descriptionm
- the more-info-urlp
- the predicate
expand
public String expand(String res,
Object dm)
- Description copied from class:
CheckItem
- Customize/expand the description string just before it is displayed.
I.e. add offender specific information to the description string
(e.g. its name).
- Overrides:
expand
in class CheckItem
- Parameters:
res
- the descriptiondm
- the design material
- Returns:
- the description
- See Also:
CheckItem.expand(java.lang.String,
java.lang.Object)