public static class BasicEAnnotationValidator.ValidationContext
extends java.lang.Object
validateAttributeDetailValueLiteral
to pass contextual information that can be used when a data type's value is validated.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CONTEXT_KEY
The key used in the context map.
|
| Constructor and Description |
|---|
ValidationContext(EAnnotation eAnnotation,
EModelElement eModelElement,
java.util.Map.Entry<java.lang.String,java.lang.String> entry,
EAttribute eAttribute)
Creates an instance.
|
| Modifier and Type | Method and Description |
|---|---|
EAnnotation |
getEAnnotation()
Returns the annotation being validated.
|
EAttribute |
getEAttribute()
The attribute of the data type being validated.
|
EModelElement |
getEModelElement()
The containing model elements of the annotation being validated.
|
java.util.Map.Entry<java.lang.String,java.lang.String> |
getEntry()
The
detail entry being validated. |
public static final java.lang.String CONTEXT_KEY
public ValidationContext(EAnnotation eAnnotation, EModelElement eModelElement, java.util.Map.Entry<java.lang.String,java.lang.String> entry, EAttribute eAttribute)
eAnnotation - the annotation being validated.eModelElement - the model element containing that annotation.entry - the detail entry being validated.eAttribute - the structural feature of the data type.public EAnnotation getEAnnotation()
public EModelElement getEModelElement()
public java.util.Map.Entry<java.lang.String,java.lang.String> getEntry()
detail entry being validated.public EAttribute getEAttribute()
Copyright © 2018. Licensed under the Eclipse Public License v1.0. All rights reserved.
Submit a bug or feature