public static class AssociationValidator.AssociationEndsMissingDoc extends AbstractRule.UmlObjectsMissingDoc<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
Constructor and Description |
---|
AssociationValidator.AssociationEndsMissingDoc() |
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 assoc)
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.
|
protected boolean |
skipValidation(UmlAssociation o)
This default implementation returns false (no skipping); override if main object doesn't
need validation.
|
doValidate
skipSubobjectValidation, 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.AssociationEndsMissingDoc()
public java.util.EnumSet<Nature> getApplicability()
Rule
protected boolean skipValidation(UmlAssociation o)
AbstractRule.AbstractRuleWithSubobjectsAndSkips
skipValidation
in class AbstractRule.AbstractRuleWithSubobjectsAndSkips<UmlAssociation>
protected final java.util.List<UmlObject> getSubObjects(UmlAssociation assoc)
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