Class DefaultSchemaGenerator
- java.lang.Object
-
- de.hybris.platform.odata2services.odata.schema.DefaultSchemaGenerator
-
- All Implemented Interfaces:
SchemaGenerator
public class DefaultSchemaGenerator extends java.lang.Object implements SchemaGenerator
-
-
Constructor Summary
Constructors Constructor Description DefaultSchemaGenerator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.olingo.odata2.api.edm.provider.SchemagenerateSchema(java.util.Collection<IntegrationObjectItemModel> allModelsForType)Generates aSchemafor anIntegrationObjectItemModeland all of its dependencies.voidsetAssociationListGeneratorRegistry(AssociationListGeneratorRegistry associationListGeneratorRegistry)voidsetEntityContainerGenerator(EntityContainerGenerator generator)voidsetEntityTypesGenerator(SchemaElementGenerator<java.util.List<org.apache.olingo.odata2.api.edm.provider.EntityType>,java.util.Collection<IntegrationObjectItemModel>> entityTypesGenerator)
-
-
-
Method Detail
-
generateSchema
public org.apache.olingo.odata2.api.edm.provider.Schema generateSchema(java.util.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<java.util.List<org.apache.olingo.odata2.api.edm.provider.EntityType>,java.util.Collection<IntegrationObjectItemModel>> entityTypesGenerator)
-
setAssociationListGeneratorRegistry
public void setAssociationListGeneratorRegistry(AssociationListGeneratorRegistry associationListGeneratorRegistry)
-
setEntityContainerGenerator
public void setEntityContainerGenerator(EntityContainerGenerator generator)
-
-