public static class AssociationValidator.AssociationEndsWithUnallowedStereotype extends AbstractRule.UmlObjectsWithUnallowedStereotype<UmlAssociation>
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.util.Set<java.lang.String> |
ALLOWED_STEREOS |
Constructor and Description |
---|
AssociationValidator.AssociationEndsWithUnallowedStereotype() |
Modifier and Type | Method and Description |
---|---|
java.util.EnumSet<Nature> |
getApplicability()
Returns all the natures of model elements for which the rule is applicable.
|
protected java.util.List<UmlObject> |
getSubObjects(UmlAssociation o)
Used for validation of "sub-objects" (such as association ends and operation parameters)
that do not have their own validators, but get validated through their container.
|
doValidate
skipSubobjectValidation, skipValidation, validate
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
public AssociationValidator.AssociationEndsWithUnallowedStereotype()
public java.util.EnumSet<Nature> getApplicability()
Rule
protected java.util.List<UmlObject> getSubObjects(UmlAssociation o)
AbstractRule.AbstractRuleWithSubobjectsAndSkips
This default implementation returns empty list; subtypes having contained objects that need to be validated against this rule have to override this method.
getSubObjects
in class AbstractRule.AbstractRuleWithSubobjectsAndSkips<UmlAssociation>
Copyright 2009-2015 Tatjana (Tanja) Kostic