Interface DataLabelId

    • Method Summary

      Static Methods 
      Modifier and Type Method Description
      static void checkIfValid​(DataLabelId id)
      Checks if id passed as argument is not null and its value is not null as well and could be a valid label configuration object id.
      If not, throw a IllegalArgumentException.
      static DataLabelId create​(String id)
      Returns a key instance by its string value.
      static boolean isValid​(DataLabelId id)
      Returns true if id passed as argument is not null and its value is not null as well and could be a valid label configuration object id.
      • Methods inherited from interface org.pepstock.charba.client.commons.Key

        value
    • Method Detail

      • create

        static DataLabelId create​(String id)
        Returns a key instance by its string value.
        Parameters:
        id - string value to use
        Returns:
        new label configuration object id instance
      • isValid

        static boolean isValid​(DataLabelId id)
        Returns true if id passed as argument is not null and its value is not null as well and could be a valid label configuration object id.
        Parameters:
        id - label configuration object id to be checked
        Returns:
        true if id passed as argument is not null and its value is not null as well and could be a valid label configuration object id.
      • checkIfValid

        static void checkIfValid​(DataLabelId id)
        Checks if id passed as argument is not null and its value is not null as well and could be a valid label configuration object id.
        If not, throw a IllegalArgumentException.
        Parameters:
        id - label configuration object id to be checked