Class MapEntryEntityTypeGenerator
java.lang.Object
de.hybris.platform.odata2services.odata.schema.entity.MapEntryEntityTypeGenerator
- All Implemented Interfaces:
EntityTypeGenerator,SchemaElementGenerator<List<org.apache.olingo.odata2.api.edm.provider.EntityType>,IntegrationObjectItemModel>
@Deprecated(since="2211.FP1",
forRemoval=true)
public class MapEntryEntityTypeGenerator
extends Object
implements EntityTypeGenerator
Deprecated, for removal: This API element is subject to removal in a future version.
Generates entities for attribute that have
Map as their values.-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionList<org.apache.olingo.odata2.api.edm.provider.EntityType>Deprecated, for removal: This API element is subject to removal in a future version.Generates the schema element whose type is defined by T.List<org.apache.olingo.odata2.api.edm.provider.EntityType>generate(TypeDescriptor itemType) Deprecated, for removal: This API element is subject to removal in a future version.voidsetDescriptorFactory(DescriptorFactory factory) Deprecated, for removal: This API element is subject to removal in a future version.Injects descriptor factory to use.voidsetKeyGenerator(SchemaElementGenerator<Optional<org.apache.olingo.odata2.api.edm.provider.Key>, List<org.apache.olingo.odata2.api.edm.provider.Property>> generator) Deprecated, for removal: This API element is subject to removal in a future version.
-
Constructor Details
-
MapEntryEntityTypeGenerator
public MapEntryEntityTypeGenerator()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
generate
public List<org.apache.olingo.odata2.api.edm.provider.EntityType> generate(IntegrationObjectItemModel item) Deprecated, for removal: This API element is subject to removal in a future version.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>,IntegrationObjectItemModel> - Parameters:
item- the object that is being converted- Returns:
- R the schema element
-
generate
Deprecated, for removal: This API element is subject to removal in a future version. -
setDescriptorFactory
Deprecated, for removal: This API element is subject to removal in a future version.Injects descriptor factory to use.- Parameters:
factory- factory implementation to be used by this generator.
-
setKeyGenerator
public void setKeyGenerator(SchemaElementGenerator<Optional<org.apache.olingo.odata2.api.edm.provider.Key>, List<org.apache.olingo.odata2.api.edm.provider.Property>> generator) Deprecated, for removal: This API element is subject to removal in a future version.
-
MapEntryEntityTypeElementGeneratorinstead.