@Test public void testElements() { List<? extends EdmAnnotationElement> annotations = annotationsProvider.getAnnotationElements(); assertEquals(1, annotations.size()); Iterator<? extends EdmAnnotationElement> iterator = annotations.iterator(); while (iterator.hasNext()) { EdmAnnotationElement element = iterator.next(); assertEquals("elementName", element.getName()); assertEquals("namespace", element.getNamespace()); assertEquals("prefix", element.getPrefix()); assertEquals("xmlData", element.getText()); } }
@Override public List<EdmAnnotationElement> getAnnotationElements() { return annotationElements; }
EdmAnnotationsImplProv implements EdmAnnotations { @Override public List<EdmAnnotationElement> getAnnotationElements() { return annotationElements; } }
EdmAnnotationsImplProv implements EdmAnnotations { @Override public List<EdmAnnotationElement> getAnnotationElements() { return annotationElements; } EdmAnnotationsImplProv(final List<AnnotationAttribute> annotationAttributes,
      final List<AnnotationElement> annotationElements); }
EdmAnnotationsImplProv implements EdmAnnotations { @Override public List<EdmAnnotationElement> getAnnotationElements() { return annotationElements; } EdmAnnotationsImplProv(final List<AnnotationAttribute> annotationAttributes,
      final List<AnnotationElement> annotationElements); @Override List<EdmAnnotationElement> getAnnotationElements(); @Override EdmAnnotationElement getAnnotationElement(final String name, final String namespace); @Override List<EdmAnnotationAttribute> getAnnotationAttributes(); @Override EdmAnnotationAttribute getAnnotationAttribute(final String name, final String namespace); }
EdmAnnotationsImplProv implements EdmAnnotations { @Override public List<EdmAnnotationElement> getAnnotationElements() { return annotationElements; } EdmAnnotationsImplProv(final List<AnnotationAttribute> annotationAttributes,
      final List<AnnotationElement> annotationElements); @Override List<EdmAnnotationElement> getAnnotationElements(); @Override EdmAnnotationElement getAnnotationElement(final String name, final String namespace); @Override List<EdmAnnotationAttribute> getAnnotationAttributes(); @Override EdmAnnotationAttribute getAnnotationAttribute(final String name, final String namespace);  }