Class PromptTextParameter
- java.lang.Object
-
- de.xima.fc.prompt.service.support.PromptTextParameter
-
- All Implemented Interfaces:
Serializable
public class PromptTextParameter extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PromptTextParameter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()Gets the localized description of this input parameter.StringgetLabel()Gets the localized description of this input parameter.StringgetName()Gets the technical name of this input parameter.booleanisRequired()Gets whether this input parameter is required.voidsetDescription(String description)Sets the localized description of this input parameter.voidsetLabel(String label)Sets the localized description of this input parameter.voidsetName(String name)Sets the technical name of this input parameter.voidsetRequired(boolean required)Sets whether this input parameter is required.StringtoString()
-
-
-
Method Detail
-
getDescription
public String 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
public void setDescription(String description)
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
public String 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
public void setLabel(String label)
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
public String 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
public void setName(String name)
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.
-
-