Class AssociationListGenerator
java.lang.Object
de.hybris.platform.odata2services.odata.schema.association.AssociationListGenerator
- All Implemented Interfaces:
SchemaElementGenerator<List<org.apache.olingo.odata2.api.edm.provider.Association>,Collection<IntegrationObjectItemModel>>
@Deprecated(since="2205",
forRemoval=true)
public class AssociationListGenerator
extends Object
implements SchemaElementGenerator<List<org.apache.olingo.odata2.api.edm.provider.Association>,Collection<IntegrationObjectItemModel>>
Deprecated, for removal: This API element is subject to removal in a future version.
Generates a list of associations to be included in the EDMX.
-
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.Association>generate(Collection<IntegrationObjectItemModel> allIntegrationObjectItemModelsForType) Deprecated, for removal: This API element is subject to removal in a future version.Generates the schema element whose type is defined by T.voidsetAssociationGeneratorRegistry(AssociationGeneratorRegistry associationGeneratorRegistry) 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.
-
Constructor Details
-
AssociationListGenerator
public AssociationListGenerator()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.Association> generate(Collection<IntegrationObjectItemModel> allIntegrationObjectItemModelsForType) 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.Association>,Collection<IntegrationObjectItemModel>> - Parameters:
allIntegrationObjectItemModelsForType- the object that is being converted- Returns:
- R the schema element
-
setAssociationGeneratorRegistry
public void setAssociationGeneratorRegistry(AssociationGeneratorRegistry associationGeneratorRegistry) 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.
-
AssociationListSchemaElementGeneratorinstead