Class DataEntry

java.lang.Object
com.inet.taskplanner.server.api.DataEntry

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

    • DataEntry

      public DataEntry(String value, String label, 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 Details

    • getValue

      public 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 String getLabel()
      accessor method for the display label string of the entry
      Returns:
      the display label string of the entry
      Since:
      taskplanner 5.0