public class AnnotationViolation
extends java.lang.Object
| Constructor and Description |
|---|
AnnotationViolation() |
AnnotationViolation(AnnotationViolationType type) |
AnnotationViolation(AnnotationViolationType type,
ModelElementReference referenced) |
AnnotationViolation(AnnotationViolationType type,
ModelElementReference changedElement,
boolean breaking) |
| Modifier and Type | Method and Description |
|---|---|
ModelElementReference |
getAffectedElement()
Gets
affectedElement. |
AnnotationViolationType |
getType()
Gets
type. |
boolean |
isBreaking()
Gets
breaking. |
void |
setAffectedElement(ModelElementReference changedElement)
Sets
affectedElement. |
void |
setBreaking(boolean breaking)
Sets
breaking. |
public AnnotationViolation(AnnotationViolationType type, ModelElementReference changedElement, boolean breaking)
public AnnotationViolation(AnnotationViolationType type, ModelElementReference referenced)
public AnnotationViolation(AnnotationViolationType type)
public AnnotationViolation()
public AnnotationViolationType getType()
type.typepublic ModelElementReference getAffectedElement()
affectedElement.affectedElementpublic void setAffectedElement(ModelElementReference changedElement)
affectedElement.changedElement - New value for affectedElement