Class IntegrationObjectItemAttributeModelUtils
java.lang.Object
de.hybris.platform.integrationservices.model.IntegrationObjectItemAttributeModelUtils
Utilities used in integration object models.
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleanfalseIfNull(Boolean value) Returns false if the value is null, otherwise the value is returnedstatic booleanisUnique(IntegrationObjectItemAttributeModel attributeDefinitionModel) Indicates if an attribute is unique.
-
Method Details
-
isUnique
Indicates if an attribute is unique. If either the IntegrationObjectionAttributeDefinitionModel OR the model's attribute descriptor is unique, the attribute is unique- Parameters:
attributeDefinitionModel- Model to test for uniqueness- Returns:
- true if unique, else false
-
falseIfNull
Returns false if the value is null, otherwise the value is returned- Parameters:
value- boolean value for the attribute's property that is being evaluated- Returns:
- value if non-null, otherwise false
-