Interface EdmEntityContainer

All Superinterfaces:
EdmAnnotatable, EdmNamed

public interface EdmEntityContainer extends EdmNamed, EdmAnnotatable
A CSDL EntityContainer element.
EdmEntityContainer hold the information of EntitySets, Singletons, ActionImports and FunctionImports contained
  • Method Details

    • getNamespace

      String getNamespace()
      Returns:
      namespace of this entity container
    • getFullQualifiedName

      FullQualifiedName getFullQualifiedName()
      Returns:
      full qualified name of this entity container
    • getSingleton

      EdmSingleton getSingleton(String name)
      Get contained Singleton by name.
      Parameters:
      name - name of contained Singleton
      Returns:
      EdmSingleton
    • getEntitySet

      EdmEntitySet getEntitySet(String name)
      Get contained EntitySet by name.
      Parameters:
      name - name of contained EntitySet
      Returns:
      EdmEntitySet
    • getActionImport

      EdmActionImport getActionImport(String name)
      Get contained ActionImport by name.
      Parameters:
      name - name of contained ActionImport
      Returns:
      EdmActionImport
    • getFunctionImport

      EdmFunctionImport getFunctionImport(String name)
      Get contained FunctionImport by name.
      Parameters:
      name - name of contained FunctionImport
      Returns:
      EdmFunctionImport
    • getEntitySets

      List<EdmEntitySet> getEntitySets()
      This method DOES NOT support lazy loading
      Returns:
      returns all entity sets for this container.
    • getEntitySetsWithAnnotations

      List<EdmEntitySet> getEntitySetsWithAnnotations()
      This method DOES NOT support lazy loading
      Returns:
      returns all entity sets for this container with annotations defined in external file.
    • getFunctionImports

      List<EdmFunctionImport> getFunctionImports()
      This method DOES NOT support lazy loading
      Returns:
      returns all function imports for this container.
    • getSingletons

      List<EdmSingleton> getSingletons()
      This method DOES NOT support lazy loading
      Returns:
      returns all singletons for this container.
    • getActionImports

      List<EdmActionImport> getActionImports()
      This method DOES NOT support lazy loading
      Returns:
      returns all action imports for this container.
    • getParentContainerName

      FullQualifiedName getParentContainerName()
      Returns:
      the FullQualifiedName of the parentContainer or null if no parent is specified