public abstract static class ClassValidator.ClassesWithQuestionableAttributeCount extends AbstractRule implements SimpleRule<UmlClass>
AbstractRule.AbstractRuleWithSubobjectsAndSkips<T extends UmlObject>, AbstractRule.UmlObjectsMissingDoc<T extends UmlObject>, AbstractRule.UmlObjectsWithBadCharacterInName<T extends UmlObject>, AbstractRule.UmlObjectsWithBadDocEnd<T extends UmlObject>, AbstractRule.UmlObjectsWithBadDocStart<T extends UmlObject>, AbstractRule.UmlObjectsWithUnallowedStereotype<T extends UmlObject>, AbstractRule.UmlObjectsWithUnallowedTagNames<T extends UmlObject>
Rule.Category, Rule.Severity
Constructor and Description |
---|
ClassValidator.ClassesWithQuestionableAttributeCount(org.apache.log4j.Level level,
Rule.Severity severity,
java.lang.String hypo,
java.lang.String howToFix) |
Modifier and Type | Method and Description |
---|---|
protected abstract boolean |
satisfiesCondition(UmlClass clazz) |
void |
validate(UmlClass o,
ModelIssues issues)
Applies the validation criteria to
obj , and creates problems for invalid ones
and adds them to toCollect . |
createIssue, createIssue, createIssue, getCategory, getHowToFix, getHypothesis, getLogLevel, getSeverity, logDiagnosis
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getApplicability, getCategory, getHowToFix, getHypothesis, getLogLevel, getSeverity, logDiagnosis
public ClassValidator.ClassesWithQuestionableAttributeCount(org.apache.log4j.Level level, Rule.Severity severity, java.lang.String hypo, java.lang.String howToFix)
public final void validate(UmlClass o, ModelIssues issues)
SimpleRule
obj
, and creates problems for invalid ones
and adds them to toCollect
.validate
in interface SimpleRule<UmlClass>
protected abstract boolean satisfiesCondition(UmlClass clazz)
Copyright 2009-2015 Tatjana (Tanja) Kostic