Class EntityTypeListGenerator
java.lang.Object
de.hybris.platform.odata2services.odata.schema.entity.EntityTypeListGenerator
- All Implemented Interfaces:
SchemaElementGenerator<List<org.apache.olingo.odata2.api.edm.provider.EntityType>,Collection<IntegrationObjectItemModel>>
public class EntityTypeListGenerator
extends Object
implements SchemaElementGenerator<List<org.apache.olingo.odata2.api.edm.provider.EntityType>,Collection<IntegrationObjectItemModel>>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<org.apache.olingo.odata2.api.edm.provider.EntityType>generate(Collection<IntegrationObjectItemModel> models) Generates the schema element whose type is defined by T.voidsetEntityTypeGenerators(List<SchemaElementGenerator<Collection<org.apache.olingo.odata2.api.edm.provider.EntityType>, IntegrationObjectItemModel>> entityTypeGenerators)
-
Constructor Details
-
EntityTypeListGenerator
public EntityTypeListGenerator()
-
-
Method Details
-
generate
public List<org.apache.olingo.odata2.api.edm.provider.EntityType> generate(Collection<IntegrationObjectItemModel> models) Description copied from interface:SchemaElementGeneratorGenerates the schema element whose type is defined by T.- Specified by:
generatein interfaceSchemaElementGenerator<List<org.apache.olingo.odata2.api.edm.provider.EntityType>,Collection<IntegrationObjectItemModel>> - Parameters:
models- the object that is being converted- Returns:
- R the schema element
-
setEntityTypeGenerators
public void setEntityTypeGenerators(List<SchemaElementGenerator<Collection<org.apache.olingo.odata2.api.edm.provider.EntityType>, IntegrationObjectItemModel>> entityTypeGenerators)
-