Class BasicAnnotationValidator.ValidationContext

java.lang.Object
org.eclipse.emf.cdo.etypes.util.BasicAnnotationValidator.ValidationContext
Enclosing class:
BasicAnnotationValidator

public static class BasicAnnotationValidator.ValidationContext extends Object
Context data used by validateAttributeDetailValueLiteral to pass contextual information that can be used when a data type's value is validated.
  • Field Details

  • Constructor Details

    • ValidationContext

      public ValidationContext(Annotation annotation, ModelElement modelElement, Map.Entry<String,String> entry, EAttribute eAttribute)
      Creates an instance.
      Parameters:
      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.
  • Method Details

    • getAnnotation

      public Annotation getAnnotation()
      Returns the annotation being validated.
      Returns:
      the annotation being validated.
    • getModelElement

      public ModelElement getModelElement()
      The containing model elements of the annotation being validated.
      Returns:
      the containing model elements of the annotation being validated.
    • getEntry

      public Map.Entry<String,String> getEntry()
      The detail entry being validated.
      Returns:
      the detail entry being validated.
    • getEAttribute

      public EAttribute getEAttribute()
      The attribute of the data type being validated.
      Returns:
      the attribute of the data type being validated.