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>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringGenerates name for the entity type being generated.protected DescriptorFactoryprotected booleanDetermines whether this generator is applicable to the specified item and can generate at least a single EDMX entity type.voidsetDescriptorFactory(DescriptorFactory descriptorFactory) Methods inherited from class de.hybris.platform.odata2services.odata.schema.entity.SingleEntityTypeGenerator
generate, generateEntityType, generateKey, getKeyGenerator, getPropertiesGenerator, setKeyGenerator, setPropertiesGenerator
-
Constructor Details
-
LocalizedEntityTypeGenerator
public LocalizedEntityTypeGenerator()
-
-
Method Details
-
isApplicable
Description copied from class:SingleEntityTypeGeneratorDetermines whether this generator is applicable to the specified item and can generate at least a single EDMX entity type.- Specified by:
isApplicablein classSingleEntityTypeGenerator- 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
Description copied from class:SingleEntityTypeGeneratorGenerates name for the entity type being generated.- Specified by:
generateEntityTypeNamein classSingleEntityTypeGenerator- Parameters:
item- item, for which entity type is being generated.- Returns:
- a valid EDMX entity type name.
-
getDescriptorFactory
-
setDescriptorFactory
-