|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.argouml.cognitive.critics.Critic
org.argouml.uml.cognitive.critics.CrUML
org.argouml.uml.cognitive.critics.CrAttrNameConflict
Check the: Well-formedness rule [2] for MClassifier. See page 29 of UML 1.1, Semantics. OMG document ad/97-08-04. See page 2-49 in UML V1.3
In the process of modifying this to use the new Facade object (Jan 2003) this was changed to no longer detect StructuralFeatures with the same name but instead attributes with the same name. This is in fact a more to the letter adherance to the UML well-formedness rule but it is however a change.
Field Summary |
Fields inherited from class org.argouml.uml.cognitive.critics.CrUML |
cat, decBEHAVIOR, decCLASS_SELECTION, decCODE_GEN, decCONTAINMENT, decEXPECTED_USAGE, decINHERITANCE, decINSTANCIATION, decMETHODS, decMODULARITY, decNAMING, decPATTERNS, decPLANNED_EXTENSIONS, decRELATIONSHIPS, decSTATE_MACHINES, decSTEREOTYPES, decSTORAGE |
Fields inherited from class org.argouml.cognitive.critics.Critic |
_clarifier, _knowledgeTypes, _numCriticsFired, _supportedDecisions, _supportedGoals, _triggerMask, DEFAULT_CLARIFIER, ENABLED, KT_COMPLETENESS, KT_CONSISTENCY, KT_CORRECTNESS, KT_DESIGNERS, KT_EXPERIENCIAL, KT_OPTIMIZATION, KT_ORGANIZATIONAL, KT_PRESENTATION, KT_SEMANTICS, KT_SYNTAX, KT_TOOL, NO_PROBLEM, PROBLEM_FOUND, RESOURCE_BUNDLE, SNOOZE_ORDER |
Constructor Summary | |
CrAttrNameConflict()
|
Method Summary | |
javax.swing.Icon |
getClarifier()
|
boolean |
predicate2(java.lang.Object dm,
Designer dsgr)
Examines the classifier and tells if we have two attributes with the same name. |
Methods inherited from class org.argouml.uml.cognitive.critics.CrUML |
expand, predicate, setHeadline, setResource |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public CrAttrNameConflict()
Method Detail |
public boolean predicate2(java.lang.Object dm, Designer dsgr)
predicate2
in class CrUML
dm
- is the classifierdsgr
- is not used.public javax.swing.Icon getClarifier()
getClarifier
in interface Poster
getClarifier
in class Critic
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ArgoUML © 1996-2003 (20040125) | ArgoUML Project Home | ArgoUML Cookbook |