public abstract static class AbstractRule.UmlObjectsWithUnallowedStereotype<T extends UmlObject> extends AbstractRule.AbstractRuleWithSubobjectsAndSkips<T>
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 java.util.Set<java.lang.String> |
_alloweds |
private static java.lang.String |
HOWTO_START |
private static java.lang.String |
HYPO_END |
Modifier | Constructor and Description |
---|---|
protected |
AbstractRule.UmlObjectsWithUnallowedStereotype(org.apache.log4j.Logger logger,
java.lang.String what,
java.util.Set<java.lang.String> alloweds) |
Modifier and Type | Method and Description |
---|---|
protected void |
doValidate(UmlObject o,
ModelIssues issues) |
private java.util.Set<java.lang.String> |
getAllowedStereotypes() |
getSubObjects, skipSubobjectValidation, skipValidation, validate
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
private static final java.lang.String HYPO_END
private static final java.lang.String HOWTO_START
private final java.util.Set<java.lang.String> _alloweds
protected AbstractRule.UmlObjectsWithUnallowedStereotype(org.apache.log4j.Logger logger, java.lang.String what, java.util.Set<java.lang.String> alloweds)
private java.util.Set<java.lang.String> getAllowedStereotypes()
protected final void doValidate(UmlObject o, ModelIssues issues)
Matches any stereotype not in the set passed in at creation, as allowed stereotype for
this o
's concrete type.
doValidate
in class AbstractRule.AbstractRuleWithSubobjectsAndSkips<T extends UmlObject>
Copyright 2009-2015 Tatjana (Tanja) Kostic