Class Prompt
- java.lang.Object
-
- com.iknowbase.api.contentservices.v2.model.Prompt
-
- All Implemented Interfaces:
Serializable
public class Prompt extends Object implements Serializable
Java class for prompt complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="prompt"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="languageReference" type="{http://www.iknowbase.com/ws/iknowbase-2}objectReference"/> <element name="value" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected String
description
protected ObjectReference
languageReference
protected String
value
-
Constructor Summary
Constructors Constructor Description Prompt()
Default no-arg constructorPrompt(ObjectReference languageReference, String value, String description)
Fully-initialising value constructorPrompt(String externalKey, String value)
Prompt(String externalKey, String value, String description)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDescription()
Gets the value of the description property.ObjectReference
getLanguageReference()
Gets the value of the languageReference property.String
getValue()
Gets the value of the value property.void
setDescription(String value)
Sets the value of the description property.void
setLanguageReference(ObjectReference value)
Sets the value of the languageReference property.void
setValue(String value)
Sets the value of the value property.Prompt
withDescription(String value)
Prompt
withLanguageReference(ObjectReference value)
Prompt
withValue(String value)
-
-
-
Field Detail
-
languageReference
protected ObjectReference languageReference
-
value
protected String value
-
description
protected String description
-
-
Constructor Detail
-
Prompt
public Prompt()
Default no-arg constructor
-
Prompt
public Prompt(ObjectReference languageReference, String value, String description)
Fully-initialising value constructor
-
-
Method Detail
-
getLanguageReference
public ObjectReference getLanguageReference()
Gets the value of the languageReference property.- Returns:
- possible object is
ObjectReference
-
setLanguageReference
public void setLanguageReference(ObjectReference value)
Sets the value of the languageReference property.- Parameters:
value
- allowed object isObjectReference
-
getValue
public String getValue()
Gets the value of the value property.- Returns:
- possible object is
String
-
setValue
public void setValue(String value)
Sets the value of the value property.- Parameters:
value
- allowed object isString
-
getDescription
public String getDescription()
Gets the value of the description property.- Returns:
- possible object is
String
-
setDescription
public void setDescription(String value)
Sets the value of the description property.- Parameters:
value
- allowed object isString
-
withLanguageReference
public Prompt withLanguageReference(ObjectReference value)
-
-