Class DataEntry


  • @JsonData
    public class DataEntry
    extends java.lang.Object
    Defines an entry of requested data like priorities
    Since:
    taskplanner 5.0
    • Constructor Summary

      Constructors 
      Constructor Description
      DataEntry​(java.lang.String value, java.lang.String label, java.lang.String icon, int level)
      Creates the entry with all necessary fields
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getLabel()
      accessor method for the display label string of the entry
      java.lang.String getValue()
      accessor method for the internal value (string key) of the entry
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DataEntry

        public DataEntry​(java.lang.String value,
                         java.lang.String label,
                         java.lang.String icon,
                         int level)
        Creates the entry with all necessary fields
        Parameters:
        value - the value of the entry
        label - the label of the entry
        icon - the relative icon path to get an image for the entry
        level - the level in a tree, starting at 0
        Since:
        taskplanner 5.0
    • Method Detail

      • getValue

        public java.lang.String getValue()
        accessor method for the internal value (string key) of the entry
        Returns:
        the internal value (string key) of the entry
        Since:
        taskplanner 5.0
      • getLabel

        public java.lang.String getLabel()
        accessor method for the display label string of the entry
        Returns:
        the display label string of the entry
        Since:
        taskplanner 5.0