Package org.eclipse.emf.cdo.etypes.util
Klasse BasicAnnotationValidator.ValidationContext
java.lang.Object
org.eclipse.emf.cdo.etypes.util.BasicAnnotationValidator.ValidationContext
- Umschließende Klasse:
BasicAnnotationValidator
Context data used by
validateAttributeDetailValueLiteral
to pass contextual information that can be used when a data type's value is validated.-
Feldübersicht
Felder -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungValidationContext(Annotation annotation, ModelElement modelElement, Map.Entry<String, String> entry, EAttribute eAttribute) Creates an instance. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungReturns the annotation being validated.The attribute of the data type being validated.getEntry()Thedetail entrybeing validated.The containing model elements of the annotation being validated.
-
Felddetails
-
CONTEXT_KEY
The key used in the context map.- Siehe auch:
-
-
Konstruktordetails
-
ValidationContext
public ValidationContext(Annotation annotation, ModelElement modelElement, Map.Entry<String, String> entry, EAttribute eAttribute) Creates an instance.- Parameter:
annotation- the annotation being validated.modelElement- the model element containing that annotation.entry- the detail entry being validated.eAttribute- the structural feature of the data type.
-
-
Methodendetails
-
getAnnotation
Returns the annotation being validated.- Gibt zurück:
- the annotation being validated.
-
getModelElement
The containing model elements of the annotation being validated.- Gibt zurück:
- the containing model elements of the annotation being validated.
-
getEntry
Thedetail entrybeing validated.- Gibt zurück:
- the detail entry being validated.
-
getEAttribute
The attribute of the data type being validated.- Gibt zurück:
- the attribute of the data type being validated.
-