Package com.treescrub.spedran.data
Class VariableValue
- java.lang.Object
-
- com.treescrub.spedran.data.VariableValue
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Boolean>getFlags()Gets aMapof flags.StringgetLabel()Gets the label for this value.Optional<String>getRules()Gets the rules text if the variable is marked as a subcategory.StringtoString()
-
-
-
Method Detail
-
getLabel
public String getLabel()
Gets the label for this value.- Returns:
- the label text
-
getRules
public Optional<String> getRules()
Gets the rules text if the variable is marked as a subcategory.- Returns:
- an
Optionalwith the rules text, empty if variable is not a subcategory
-
getFlags
public Map<String,Boolean> getFlags()
- Returns:
- an unmodifiable
Mapof flags, empty if variable is not a subcategory
-
-