Package com.inet.report.taskplanner
Class PromptDescription
- java.lang.Object
-
- com.inet.report.taskplanner.PromptDescription
-
@JsonData public class PromptDescription extends java.lang.ObjectDescribes 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.StringgetKey()Returns the key of the prompt field for the reportintgetType()Get the field type of this prompt.java.lang.StringgetValue()Returns the current value of the prompt of the reportvoidsetValue(java.lang.String value)Sets the current value of the prompt for the report
-
-
-
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 promptdisplayName- the display name of the prompttype- the type of the promptvalue- 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
-
-