Class LocalizedEntityTypeGenerator

java.lang.Object
de.hybris.platform.odata2services.odata.schema.entity.SingleEntityTypeGenerator
de.hybris.platform.odata2services.odata.schema.entity.LocalizedEntityTypeGenerator
All Implemented Interfaces:
EntityTypeGenerator, SchemaElementGenerator<List<org.apache.olingo.odata2.api.edm.provider.EntityType>,IntegrationObjectItemModel>

@Deprecated(since="2211.FP1", forRemoval=true) public class LocalizedEntityTypeGenerator extends SingleEntityTypeGenerator
Deprecated, for removal: This API element is subject to removal in a future version.
use instead.
A generator for generating an EntityType schema element from a IntegrationObjectItemModel.
  • Constructor Details

    • LocalizedEntityTypeGenerator

      public LocalizedEntityTypeGenerator()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • isApplicable

      protected boolean isApplicable(IntegrationObjectItemModel item)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from class: SingleEntityTypeGenerator
      Determines whether this generator is applicable to the specified item and can generate at least a single EDMX entity type.
      Specified by:
      isApplicable in class SingleEntityTypeGenerator
      Parameters:
      item - an item, based on which the decision has to be made.
      Returns:
      true, if at least one entity type can be generated for the given item; false, otherwise.
    • generateEntityTypeName

      protected String generateEntityTypeName(IntegrationObjectItemModel item)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from class: SingleEntityTypeGenerator
      Generates name for the entity type being generated.
      Specified by:
      generateEntityTypeName in class SingleEntityTypeGenerator
      Parameters:
      item - item, for which entity type is being generated.
      Returns:
      a valid EDMX entity type name.
    • getDescriptorFactory

      protected DescriptorFactory getDescriptorFactory()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setDescriptorFactory

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