public class AttributeValidator extends AbstractValidator<UmlAttribute>
Modifier and Type | Field and Description |
---|---|
private static org.apache.log4j.Logger |
_logger |
private java.util.List<UmlAttribute> |
_scopedUmlObjects |
private static java.lang.String |
EA_ATTRNULL_HOWTO
Diagnostic common to several rules.
|
Constructor and Description |
---|
AttributeValidator(Config cfg,
java.util.Collection<UmlAttribute> allAttributes,
ModelIssues issues) |
Modifier and Type | Method and Description |
---|---|
boolean |
enabled()
Returns whether the validation for this validator has been enabled (by configuration).
|
java.util.List<UmlAttribute> |
getScopedUmlObjects()
Returns the elements retained for validation, for the configured scope.
|
private static boolean |
skipValidationDocRelated(UmlAttribute a) |
addCrossRule, addSimpleRule, displayAllAvailableRuleNames, displayAvailableRuleNames, getAllCrossRules, getAllRules, getAllSimpleRules, getCfg, getCheckedCrossRules, getCheckedRules, getCheckedSimpleRules, getCollectedIssues, validate
private static final org.apache.log4j.Logger _logger
private static final java.lang.String EA_ATTRNULL_HOWTO
private final java.util.List<UmlAttribute> _scopedUmlObjects
AttributeValidator(Config cfg, java.util.Collection<UmlAttribute> allAttributes, ModelIssues issues)
public boolean enabled()
AbstractValidator
enabled
in class AbstractValidator<UmlAttribute>
public java.util.List<UmlAttribute> getScopedUmlObjects()
AbstractValidator
getScopedUmlObjects
in class AbstractValidator<UmlAttribute>
private static boolean skipValidationDocRelated(UmlAttribute a)
Copyright 2009-2015 Tatjana (Tanja) Kostic