Class IntegrationObjectItemAttributeModelUtils


  • public class IntegrationObjectItemAttributeModelUtils
    extends java.lang.Object
    Utilities used in integration object models.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean falseIfNull​(java.lang.Boolean value)
      Returns false if the value is null, otherwise the value is returned
      static boolean isUnique​(IntegrationObjectItemAttributeModel attributeDefinitionModel)
      Indicates if an attribute is unique.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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