Class PromptDescription

java.lang.Object
com.inet.report.taskplanner.PromptDescription

@JsonData public class PromptDescription extends Object
Describes the prompt of a report
Since:
taskplanner 3.0
  • Constructor Details

    • PromptDescription

      public PromptDescription(String key, String displayName, int type, String value)
      Creates the description of a prompt field of a report
      Parameters:
      key - the key of the prompt
      displayName - the display name of the prompt
      type - the type of the prompt
      value - the current value of the prompt
      Since:
      taskplanner 3.0
  • Method Details

    • getKey

      public String getKey()
      Returns the key of the prompt field for the report
      Returns:
      the key of the prompt field for the report
      Since:
      taskplanner 3.0
    • getValue

      public String getValue()
      Returns the current value of the prompt of the report
      Returns:
      the current value of the prompt of the report
      Since:
      taskplanner 3.0
    • setValue

      public void setValue(String value)
      Sets the current value of the prompt for the report
      Parameters:
      value - the current value of the prompt for the report
      Since:
      taskplanner 3.0
    • getType

      public int getType()
      Get the field type of this prompt. Constant values can be found in com.inet.report.Field.
      Returns:
      the type
      Since:
      taskplanner 5.1