Class IntegrationObjectItemAttributeModelUtils
- java.lang.Object
-
- de.hybris.platform.integrationservices.model.IntegrationObjectItemAttributeModelUtils
-
public class IntegrationObjectItemAttributeModelUtils extends java.lang.ObjectUtilities used in integration object models.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanfalseIfNull(java.lang.Boolean value)Returns false if the value is null, otherwise the value is returnedstatic booleanisUnique(IntegrationObjectItemAttributeModel attributeDefinitionModel)Indicates if an attribute is unique.
-
-
-
Method Detail
-
isUnique
public static boolean isUnique(IntegrationObjectItemAttributeModel attributeDefinitionModel)
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
public static boolean falseIfNull(java.lang.Boolean value)
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
-
-