Class IntegrationObjectItemAttributeModelUtils

java.lang.Object
de.hybris.platform.integrationservices.model.IntegrationObjectItemAttributeModelUtils

public final class IntegrationObjectItemAttributeModelUtils extends Object
Utilities used in integration object models.
  • Method Details

    • 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(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