Interface EntityContainerGenerator
- All Known Implementing Classes:
DefaultEntityContainerGenerator
public interface EntityContainerGenerator
Generator of the
EntityContainer for an EDMX schema.-
Method Summary
Modifier and TypeMethodDescriptionList<org.apache.olingo.odata2.api.edm.provider.EntityContainer>generate(Collection<org.apache.olingo.odata2.api.edm.provider.EntityType> entityTypes, Collection<org.apache.olingo.odata2.api.edm.provider.Association> associations) Generates the entity container element.
-
Method Details
-
generate
List<org.apache.olingo.odata2.api.edm.provider.EntityContainer> generate(Collection<org.apache.olingo.odata2.api.edm.provider.EntityType> entityTypes, 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.
-