Class DefaultSchemaGenerator
java.lang.Object
de.hybris.platform.odata2services.odata.schema.DefaultSchemaGenerator
- All Implemented Interfaces:
SchemaGenerator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.olingo.odata2.api.edm.provider.SchemagenerateSchema(Collection<IntegrationObjectItemModel> allModelsForType) Generates aSchemafor anIntegrationObjectItemModeland all of its dependencies.voidsetAssociationListGeneratorRegistry(AssociationListGeneratorRegistry associationListGeneratorRegistry) voidsetDescriptorFactory(DescriptorFactory factory) voidvoidsetEntityTypesGenerator(SchemaElementGenerator<List<org.apache.olingo.odata2.api.edm.provider.EntityType>, Collection<IntegrationObjectItemModel>> entityTypesGenerator)
-
Constructor Details
-
DefaultSchemaGenerator
public DefaultSchemaGenerator()
-
-
Method Details
-
generateSchema
public org.apache.olingo.odata2.api.edm.provider.Schema generateSchema(Collection<IntegrationObjectItemModel> allModelsForType) Description copied from interface:SchemaGeneratorGenerates aSchemafor anIntegrationObjectItemModeland all of its dependencies.- Specified by:
generateSchemain interfaceSchemaGenerator- Parameters:
allModelsForType- a model and its dependencies- Returns:
- a schema representing those types
-
setEntityTypesGenerator
public void setEntityTypesGenerator(SchemaElementGenerator<List<org.apache.olingo.odata2.api.edm.provider.EntityType>, Collection<IntegrationObjectItemModel>> entityTypesGenerator) -
setAssociationListGeneratorRegistry
public void setAssociationListGeneratorRegistry(AssociationListGeneratorRegistry associationListGeneratorRegistry) -
setEntityContainerGenerator
-
setDescriptorFactory
-