public static class AttributeValidator.CimAttributesWithFlagInName extends AbstractRule implements SimpleRule<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 |
---|---|
static java.lang.String |
FLAG |
private static java.lang.String |
HOWTO |
private static java.lang.String |
HYPO |
Constructor and Description |
---|
AttributeValidator.CimAttributesWithFlagInName() |
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(UmlAttribute 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
public static final java.lang.String FLAG
private static final java.lang.String HYPO
private static final java.lang.String HOWTO
public AttributeValidator.CimAttributesWithFlagInName()
public java.util.EnumSet<Nature> getApplicability()
Rule
getApplicability
in interface Rule
public void validate(UmlAttribute o, ModelIssues issues)
SimpleRule
obj
, and creates problems for invalid ones
and adds them to toCollect
.validate
in interface SimpleRule<UmlAttribute>
Copyright 2009-2015 Tatjana (Tanja) Kostic