public class RuleViolation
extends java.lang.Object
Constructor and Description |
---|
RuleViolation(ModelElement element,
Rule rule,
java.lang.Object value)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
ModelElement |
getModelElement()
Gets the model element of this rule violation.
|
Rule |
getRule()
Gets the rule of this rule violation.
|
java.lang.Object |
getValue()
Gets the value for this rule violation.
|
public RuleViolation(ModelElement element, Rule rule, java.lang.Object value)
element
- The violating model element.rule
- The violated rule.value
- Value of the rule violation.public ModelElement getModelElement()
public Rule getRule()
public java.lang.Object getValue()