Class ValuelistValue
- java.lang.Object
-
- com.iknowbase.api.contentservices.v2.model.ValuelistValue
-
- All Implemented Interfaces:
Serializable
public class ValuelistValue extends Object implements Serializable
Java class for valuelistValue complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="valuelistValue"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="valueReference" type="{http://www.iknowbase.com/ws/iknowbase-2}objectReference"/> <element name="prompts" type="{http://www.iknowbase.com/ws/iknowbase-2}prompts"/> </sequence> </restriction> </complexContent> </complexType>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Prompts
prompts
protected ObjectReference
valueReference
-
Constructor Summary
Constructors Constructor Description ValuelistValue()
Default no-arg constructorValuelistValue(ObjectReference objectReference)
ValuelistValue(ObjectReference valueReference, Prompts prompts)
Fully-initialising value constructorValuelistValue(String externalKey)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Prompts
getPrompts()
Gets the value of the prompts property.ObjectReference
getValueReference()
Gets the value of the valueReference property.void
setPrompts(Prompts value)
Sets the value of the prompts property.void
setValueReference(ObjectReference value)
Sets the value of the valueReference property.ValuelistValue
withPrompt(String languageReference, String value)
ValuelistValue
withPrompt(String languageReference, String value, String description)
ValuelistValue
withPrompts(Prompts value)
ValuelistValue
withValueReference(ObjectReference value)
ValuelistValue
withValueReference(String value)
-
-
-
Field Detail
-
valueReference
protected ObjectReference valueReference
-
prompts
protected Prompts prompts
-
-
Constructor Detail
-
ValuelistValue
public ValuelistValue()
Default no-arg constructor
-
ValuelistValue
public ValuelistValue(ObjectReference valueReference, Prompts prompts)
Fully-initialising value constructor
-
ValuelistValue
public ValuelistValue(ObjectReference objectReference)
-
ValuelistValue
public ValuelistValue(String externalKey)
-
-
Method Detail
-
getValueReference
public ObjectReference getValueReference()
Gets the value of the valueReference property.- Returns:
- possible object is
ObjectReference
-
setValueReference
public void setValueReference(ObjectReference value)
Sets the value of the valueReference property.- Parameters:
value
- allowed object isObjectReference
-
getPrompts
public Prompts getPrompts()
Gets the value of the prompts property.- Returns:
- possible object is
Prompts
-
setPrompts
public void setPrompts(Prompts value)
Sets the value of the prompts property.- Parameters:
value
- allowed object isPrompts
-
withValueReference
public ValuelistValue withValueReference(ObjectReference value)
-
withPrompts
public ValuelistValue withPrompts(Prompts value)
-
withValueReference
public ValuelistValue withValueReference(String value)
-
withPrompt
public ValuelistValue withPrompt(String languageReference, String value, String description)
-
withPrompt
public ValuelistValue withPrompt(String languageReference, String value)
-
-