public static class ClassValidator.CimClassesWithOldDatatypeStereotype 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
Modifier and Type | Field and Description |
---|---|
private static java.lang.String |
HOWTO |
private static java.lang.String |
HYPO |
Constructor and Description |
---|
ClassValidator.CimClassesWithOldDatatypeStereotype() |
Modifier and Type | Method and Description |
---|---|
java.util.EnumSet<Nature> |
getApplicability()
Returns all the natures of model elements for which the rule is applicable.
|
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
getCategory, getHowToFix, getHypothesis, getLogLevel, getSeverity, logDiagnosis
private static final java.lang.String HYPO
private static final java.lang.String HOWTO
public ClassValidator.CimClassesWithOldDatatypeStereotype()
public java.util.EnumSet<Nature> getApplicability()
Rule
getApplicability
in interface Rule
public void validate(UmlClass o, ModelIssues issues)
SimpleRule
obj
, and creates problems for invalid ones
and adds them to toCollect
.validate
in interface SimpleRule<UmlClass>
Copyright 2009-2015 Tatjana (Tanja) Kostic