Package com.inet.taskplanner.server.api
Class DataEntry
- java.lang.Object
-
- com.inet.taskplanner.server.api.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 entryjava.lang.String
getValue()
accessor method for the internal value (string key) of the entry
-
-
-
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 entrylabel
- the label of the entryicon
- the relative icon path to get an image for the entrylevel
- 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
-
-