Class KeyAttribute
java.lang.Object
de.hybris.platform.integrationservices.model.KeyAttribute
An attribute declared as a key attribute in integration object item definition.
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionboolean@NotNull TypeAttributeDescriptorRetrieves attribute descriptor for this key attributeRetrieves integration object item code this attribute belongs to.getName()Retrieves name of the integration object item attribute.inthashCode()toString()
-
Constructor Details
-
KeyAttribute
@Deprecated(since="2205", forRemoval=true) public KeyAttribute(IntegrationObjectItemAttributeModel model) Deprecated, for removal: This API element is subject to removal in a future version.useKeyAttribute(TypeAttributeDescriptor)to avoid conversion of the attribute model toTypeAttributeDescriptorInstantiates this key attribute- Parameters:
model- a model
-
KeyAttribute
-
-
Method Details
-
getItemCode
Retrieves integration object item code this attribute belongs to.- Returns:
- value of the corresponding
IntegrationObjectItemModel.getCode()
-
getName
Retrieves name of the integration object item attribute.- Returns:
- name of the attribute given in the integration object
-
getAttributeDescriptor
Retrieves attribute descriptor for this key attribute- Returns:
- attribute descriptor for this attribute.
-
equals
-
hashCode
public int hashCode() -
toString
-
KeyAttribute(TypeAttributeDescriptor)to avoid conversion of the attribute model toTypeAttributeDescriptor