Interface EntityContainerGenerator

  • All Known Implementing Classes:
    DefaultEntityContainerGenerator

    public interface EntityContainerGenerator
    Generator of the EntityContainer for an EDMX schema.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.List<org.apache.olingo.odata2.api.edm.provider.EntityContainer> generate​(java.util.Collection<org.apache.olingo.odata2.api.edm.provider.EntityType> entityTypes, java.util.Collection<org.apache.olingo.odata2.api.edm.provider.Association> associations)
      Generates the entity container element.
    • Method Detail

      • generate

        java.util.List<org.apache.olingo.odata2.api.edm.provider.EntityContainer> generate​(java.util.Collection<org.apache.olingo.odata2.api.edm.provider.EntityType> entityTypes,
                                                                                           java.util.Collection<org.apache.olingo.odata2.api.edm.provider.Association> associations)
        Generates the entity container element.
        Parameters:
        entityTypes - all entity types included in the schema.
        associations - all associations between the entity types included in the schema.
        Returns:
        the generated entity containers or an empty list, if there are no entity types and associations to include in the schema.