Class LocalizedKeyGenerator

  • All Implemented Interfaces:
    SchemaElementGenerator<java.util.Optional<org.apache.olingo.odata2.api.edm.provider.Key>,​java.util.List<org.apache.olingo.odata2.api.edm.provider.Property>>

    public class LocalizedKeyGenerator
    extends KeyGenerator
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected boolean isKey​(org.apache.olingo.odata2.api.edm.provider.SimpleProperty property)
      Determines whether the specified property is a key property.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LocalizedKeyGenerator

        public LocalizedKeyGenerator()
    • Method Detail

      • 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:
        KeyGenerator.createKey(List)