public class DefaultSchemaGenerator extends java.lang.Object implements SchemaGenerator
| Constructor and Description |
|---|
DefaultSchemaGenerator() |
| Modifier and Type | Method and Description |
|---|---|
Schema |
generateSchema(java.util.Collection<IntegrationObjectItemModel> allModelsForType)
Generates a
org.apache.olingo.odata2.api.edm.provider.Schema for an IntegrationObjectItemModel and
all of its dependencies. |
void |
setAssociationListGenerator(SchemaElementGenerator<java.util.List<Association>,java.util.Collection<IntegrationObjectItemModel>> associationListGenerator) |
void |
setEntityContainerGenerator(EntityContainerGenerator generator) |
void |
setEntityTypeGenerator(SchemaElementGenerator<java.util.Optional<EntityType>,IntegrationObjectItemModel> entityTypeGenerator) |
public Schema generateSchema(java.util.Collection<IntegrationObjectItemModel> allModelsForType)
SchemaGeneratororg.apache.olingo.odata2.api.edm.provider.Schema for an IntegrationObjectItemModel and
all of its dependencies.generateSchema in interface SchemaGeneratorallModelsForType - a model and its dependenciespublic void setEntityTypeGenerator(SchemaElementGenerator<java.util.Optional<EntityType>,IntegrationObjectItemModel> entityTypeGenerator)
public void setAssociationListGenerator(SchemaElementGenerator<java.util.List<Association>,java.util.Collection<IntegrationObjectItemModel>> associationListGenerator)
public void setEntityContainerGenerator(EntityContainerGenerator generator)
Copyright © 2018 SAP SE. All Rights Reserved.