Class PromptDescription


  • @JsonData
    public class PromptDescription
    extends java.lang.Object
    Describes the prompt of a report
    Since:
    taskplanner 3.0
    • Constructor Summary

      Constructors 
      Constructor Description
      PromptDescription​(java.lang.String key, java.lang.String displayName, int type, java.lang.String value)
      Creates the description of a prompt field of a report
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getKey()
      Returns the key of the prompt field for the report
      int getType()
      Get the field type of this prompt.
      java.lang.String getValue()
      Returns the current value of the prompt of the report
      void setValue​(java.lang.String value)
      Sets the current value of the prompt for the report
      • Methods inherited from class java.lang.Object

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

      • PromptDescription

        public PromptDescription​(java.lang.String key,
                                 java.lang.String displayName,
                                 int type,
                                 java.lang.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 Detail

      • getKey

        public java.lang.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 java.lang.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​(java.lang.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