public class

EdmItem

extends Object
java.lang.Object
   ↳ org.odata4j.edm.EdmItem
Known Direct Subclasses
Known Indirect Subclasses

Class Overview

Constructs in the CSDL that we model in the org.odata4j.edm package share some common functionality:

  • Documentation (see EdmDocumentation)
  • Annotation (attributes and elements, see EdmAnnotation)

  • Summary

    Nested Classes
    class EdmItem.Builder<T, TBuilder> Mutable builder for EdmItem objects. 
    Fields
    private final ImmutableList<? extends NamespacedAnnotation<?>> annotations
    private final EdmDocumentation documentation
    Protected Constructors
    EdmItem(EdmDocumentation documentation, ImmutableList<EdmAnnotation<?>> annotations)
    Public Methods
    NamespacedAnnotation<?> findAnnotation(String namespaceUri, String localName)
    Iterable<? extends NamespacedAnnotation<?>> getAnnotations()
    EdmDocumentation getDocumentation()
    [Expand]
    Inherited Methods
    From class java.lang.Object

    Fields

    private final ImmutableList<? extends NamespacedAnnotation<?>> annotations

    private final EdmDocumentation documentation

    Protected Constructors

    protected EdmItem (EdmDocumentation documentation, ImmutableList<EdmAnnotation<?>> annotations)

    Parameters
    documentation
    annotations

    Public Methods

    public NamespacedAnnotation<?> findAnnotation (String namespaceUri, String localName)

    Parameters
    namespaceUri
    localName

    public Iterable<? extends NamespacedAnnotation<?>> getAnnotations ()

    public EdmDocumentation getDocumentation ()