Class PromptTextParameter
java.lang.Object
de.xima.fc.prompt.service.support.PromptTextParameter
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the localized description of this input parameter.getLabel()Gets the localized description of this input parameter.getName()Gets the technical name of this input parameter.booleanGets whether this input parameter is required.voidsetDescription(String description) Sets the localized description of this input parameter.voidSets the localized description of this input parameter.voidSets the technical name of this input parameter.voidsetRequired(boolean required) Sets whether this input parameter is required.toString()
-
Constructor Details
-
PromptTextParameter
public PromptTextParameter()
-
-
Method Details
-
getDescription
Gets the localized description of this input parameter. Can be empty when not description is available.- Returns:
- The localized description of this input parameter.
-
setDescription
Sets the localized description of this input parameter. Can be empty when no description is available.- Parameters:
description- The localized description of this input parameter.
-
getLabel
Gets the localized description of this input parameter. Can be empty when not description is available.- Returns:
- The localized description of this input parameter.
-
setLabel
Sets the localized description of this input parameter. Can be empty when no description is available.- Parameters:
label- The localized description of this input parameter.
-
getName
Gets the technical name of this input parameter. This is used to identify the input parameter in the prompt.- Returns:
- The name of this input parameter.
-
setName
Sets the technical name of this input parameter. This is used to identify the input parameter in the prompt.- Parameters:
name- The name of this input parameter.
-
isRequired
public boolean isRequired()Gets whether this input parameter is required. If true, the user must provide a value for this input parameter.- Returns:
- True if this input parameter is required, false otherwise.
-
setRequired
public void setRequired(boolean required) Sets whether this input parameter is required. If true, the user must provide a value for this input parameter.- Parameters:
required- True if this input parameter is required, false otherwise.
-
toString
-