org.odata4j.edm
Class EdmItem

java.lang.Object
  extended by org.odata4j.edm.EdmItem
Direct Known Subclasses:
EdmAssociation, EdmAssociationEnd, EdmAssociationSet, EdmAssociationSetEnd, EdmEntityContainer, EdmEntitySet, EdmFunctionImport, EdmFunctionParameter, EdmPropertyBase, EdmSchema, EdmType

public class EdmItem
extends Object

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)


    Nested Class Summary
    static class EdmItem.Builder<T,TBuilder>
              Mutable builder for EdmItem objects.
     
    Constructor Summary
    protected EdmItem(EdmDocumentation documentation, ImmutableList<EdmAnnotation<?>> annotations)
               
     
    Method Summary
     NamespacedAnnotation<?> findAnnotation(String namespaceUri, String localName)
               
     Iterable<? extends NamespacedAnnotation<?>> getAnnotations()
               
     EdmDocumentation getDocumentation()
               
     
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
     

    Constructor Detail

    EdmItem

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

    findAnnotation

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

    getAnnotations

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

    getDocumentation

    public EdmDocumentation getDocumentation()


    http://odata4j.org