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 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: SchemaElementGenerator
      Generates the schema element whose type is defined by T.
      Specified by:
      generate in interface SchemaElementGenerator<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

      public void setDescriptorFactory(DescriptorFactory factory)
      Deprecated, for removal: This API element is subject to removal in a future version.