public static class AttributeValidator.Iec61850DOAbbreviationLiteralsNeverUsedInDOName extends AbstractRule implements CrossRule<UmlAttribute>
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.Collection<UmlAttribute> |
_allAbbrLiterals |
private static java.lang.String |
HOWTO |
private static java.lang.String |
HYPO |
Constructor and Description |
---|
AttributeValidator.Iec61850DOAbbreviationLiteralsNeverUsedInDOName(java.util.Collection<UmlAttribute> allAbbrLiterals) |
Modifier and Type | Method and Description |
---|---|
java.util.EnumSet<Nature> |
getApplicability()
Returns all the natures of model elements for which the rule is applicable.
|
java.util.Collection<? extends UmlObject> |
getObjsToTestAgainst()
Returns list of objects against which
CrossRule.validate(List, ModelIssues) works. |
void |
validate(java.util.List<UmlAttribute> attributes,
ModelIssues issues)
Applies the validation criteria to a non-empty list of
objs , 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
private final java.util.Collection<UmlAttribute> _allAbbrLiterals
public AttributeValidator.Iec61850DOAbbreviationLiteralsNeverUsedInDOName(java.util.Collection<UmlAttribute> allAbbrLiterals)
public java.util.EnumSet<Nature> getApplicability()
Rule
getApplicability
in interface Rule
public java.util.Collection<? extends UmlObject> getObjsToTestAgainst()
CrossRule
CrossRule.validate(List, ModelIssues)
works.getObjsToTestAgainst
in interface CrossRule<UmlAttribute>
public void validate(java.util.List<UmlAttribute> attributes, ModelIssues issues)
CrossRule
objs
, and creates
problems for invalid ones and adds them to toCollect
.validate
in interface CrossRule<UmlAttribute>
Copyright 2009-2015 Tatjana (Tanja) Kostic