public class OperationValidator extends AbstractValidator<UmlOperation>
Modifier and Type | Field and Description |
---|---|
private static org.apache.log4j.Logger |
_logger |
private java.util.List<UmlOperation> |
_scopedUmlObjects |
Constructor and Description |
---|
OperationValidator(Config cfg,
java.util.Collection<UmlOperation> allOperations,
ModelIssues issues) |
Modifier and Type | Method and Description |
---|---|
private static java.util.List<UmlObject> |
collectParametersAsUmlObjects(UmlOperation op) |
boolean |
enabled()
Returns whether the validation for this validator has been enabled (by configuration).
|
java.util.List<UmlOperation> |
getScopedUmlObjects()
Returns the elements retained for validation, for the configured scope.
|
addCrossRule, addSimpleRule, displayAllAvailableRuleNames, displayAvailableRuleNames, getAllCrossRules, getAllRules, getAllSimpleRules, getCfg, getCheckedCrossRules, getCheckedRules, getCheckedSimpleRules, getCollectedIssues, validate
private static final org.apache.log4j.Logger _logger
private final java.util.List<UmlOperation> _scopedUmlObjects
OperationValidator(Config cfg, java.util.Collection<UmlOperation> allOperations, ModelIssues issues)
public boolean enabled()
AbstractValidator
enabled
in class AbstractValidator<UmlOperation>
public java.util.List<UmlOperation> getScopedUmlObjects()
AbstractValidator
getScopedUmlObjects
in class AbstractValidator<UmlOperation>
private static java.util.List<UmlObject> collectParametersAsUmlObjects(UmlOperation op)
Copyright 2009-2015 Tatjana (Tanja) Kostic