Class IntegrationKeyGenerator
java.lang.Object
de.hybris.platform.odata2services.odata.schema.KeyGenerator
de.hybris.platform.odata2services.odata.schema.IntegrationKeyGenerator
- All Implemented Interfaces:
SchemaElementGenerator<Optional<org.apache.olingo.odata2.api.edm.provider.Key>,List<org.apache.olingo.odata2.api.edm.provider.Property>>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanisKey(org.apache.olingo.odata2.api.edm.provider.SimpleProperty property) Determines whether the specified property is a key property.Methods inherited from class de.hybris.platform.odata2services.odata.schema.KeyGenerator
createKey, generate, getSimpleProperties
-
Constructor Details
-
IntegrationKeyGenerator
public IntegrationKeyGenerator()
-
-
Method Details
-
isKey
protected boolean isKey(org.apache.olingo.odata2.api.edm.provider.SimpleProperty property) Description copied from class:KeyGeneratorDetermines 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:
isKeyin classKeyGenerator- Parameters:
property- a property to be checked.- Returns:
true, if the property is a key property;falseotherwise.- See Also:
-