Class LocalizedKeyGenerator

java.lang.Object
de.hybris.platform.odata2services.odata.schema.KeyGenerator
de.hybris.platform.odata2services.odata.schema.LocalizedKeyGenerator
All Implemented Interfaces:
SchemaElementGenerator<Optional<org.apache.olingo.odata2.api.edm.provider.Key>,List<org.apache.olingo.odata2.api.edm.provider.Property>>

public class LocalizedKeyGenerator extends KeyGenerator
  • Constructor Details

    • LocalizedKeyGenerator

      public LocalizedKeyGenerator()
  • Method Details

    • isKey

      protected boolean isKey(org.apache.olingo.odata2.api.edm.provider.SimpleProperty property)
      Description copied from class: KeyGenerator
      Determines whether the specified property is a key property. Any property that is determined to be a key property will be included into the generated entity type key.
      Specified by:
      isKey in class KeyGenerator
      Parameters:
      property - a property to be checked.
      Returns:
      true, if the property is a key property; false otherwise.
      See Also: