Class DcsDefautlValueUtil


  • public final class DcsDefautlValueUtil
    extends Object
    Class provides default methods for checking object in data composition schema for default value
    Restriction:
    This class is not intended to be sub-classed by clients.
    Restriction:
    This class is not intended to be instantiated by clients.
    • Method Detail

      • isDefaultValue

        public static boolean isDefaultValue​(DataCompositionConditionalAppearance conditionalAppearance)
        Checks object for default value
        Parameters:
        conditionalAppearance - checking object for default value, can be null
        Returns:
        true if conditionalAppearance is null or it has no items and presentation, otherwise false
      • isDefaultValue

        public static boolean isDefaultValue​(DataCompositionOrder order)
        Checks object for default value
        Parameters:
        order - checking object for default value, can be null
        Returns:
        true if order is null or it has no items and presentation, otherwise false
      • isDefaultValue

        public static boolean isDefaultValue​(DataCompositionDataParameterValues dataParameterValue)
        Checks object for default value
        Parameters:
        dataParameterValue - checking object for default value, can be null
        Returns:
        true if dataParameterValue is null or it has no items, otherwise false
      • isDefaultValue

        public static boolean isDefaultValue​(DataCompositionFilter filter)
        Checks object for default value
        Parameters:
        filter - checking object for default value, can be null
        Returns:
        true if filter is null or it has no items and presentation, otherwise false
      • isDefaultValue

        public static boolean isDefaultValue​(DataCompositionUserFields userFields)
        Checks object for default value
        Parameters:
        userFields - checking object for default value, can be null
        Returns:
        true if userFields is null or it has no items, otherwise false
      • isDefaultValue

        public static boolean isDefaultValue​(DataCompositionSelectedFields selectFields)
        Checks object for default value
        Parameters:
        selectFields - checking object for default value, can be null
        Returns:
        true if selectFields is null or it has no items and presentation, otherwise false
      • isDefaultValue

        public static boolean isDefaultValue​(Presentation presentation)
        Checks object for default value
        Parameters:
        presentation - checking object for default value, can be null
        Returns:
        true if presentation is null or it has no value and local value, otherwise false
      • isDefaultValue

        public static boolean isDefaultValue​(Color color)
        Checks object for default value
        Parameters:
        color - checking object for default value, can be null
        Returns:
        true if color has total rgb value equals to 0, otherwise false
      • isDefaultValue

        public static boolean isDefaultValue​(DataCompositionTable table)
        Checks object for default value
        Parameters:
        table - checking object for default value, can be null
        Returns:
        true if table is null or it has no name, rows, columns, selection, appearance, parameters and etc, otherwise false
      • isDefaultValue

        public static boolean isDefaultValue​(DataCompositionSettings settings)
        Checks object for default value
        Parameters:
        settings - checking object for default value, can be null
        Returns:
        true if settings is null or it has no selection, appearance, parameters, items and presentation, otherwise false
      • isDefaultValue

        public static boolean isDefaultValue​(TypeDescription type)
        Checks object for default value
        Parameters:
        type - checking object for default value, can be null
        Returns:
        true if type is null or it has no types and qualifiers, otherwise false
      • isDefaultValue

        public static boolean isDefaultValue​(DataCompositionDataSetFieldRole role)
        Checks object for default value
        Parameters:
        role - checking object for default value, can be null
        Returns:
        true if role is null or all its attribute is false, otherwise false