Package uk.org.siri.siri13
Class ActionDataStructure
- java.lang.Object
-
- uk.org.siri.siri13.ActionDataStructure
-
- All Implemented Interfaces:
Serializable
public class ActionDataStructure extends Object implements Serializable
Type for list of situations.Java class for ActionDataStructure complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ActionDataStructure"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="Name" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN"/> <element name="Type" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN"/> <element name="Value" type="{http://www.w3.org/2001/XMLSchema}anyType" maxOccurs="unbounded"/> <element name="Prompt" type="{http://www.siri.org.uk/siri}NaturalLanguageStringStructure" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ActionDataStructure()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()Gets the value of the name property.NaturalLanguageStringStructuregetPrompt()Gets the value of the prompt property.StringgetType()Gets the value of the type property.List<Object>getValues()Gets the value of the values property.voidsetName(String value)Sets the value of the name property.voidsetPrompt(NaturalLanguageStringStructure value)Sets the value of the prompt property.voidsetType(String value)Sets the value of the type property.
-
-
-
Field Detail
-
name
protected String name
-
type
protected String type
-
prompt
protected NaturalLanguageStringStructure prompt
-
-
Method Detail
-
getName
public String getName()
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
public void setName(String value)
Sets the value of the name property.- Parameters:
value- allowed object isString
-
getType
public String getType()
Gets the value of the type property.- Returns:
- possible object is
String
-
setType
public void setType(String value)
Sets the value of the type property.- Parameters:
value- allowed object isString
-
getValues
public List<Object> getValues()
Gets the value of the values property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the values property.For example, to add a new item, do as follows:
getValues().add(newItem);Objects of the following type(s) are allowed in the list
Object
-
getPrompt
public NaturalLanguageStringStructure getPrompt()
Gets the value of the prompt property.- Returns:
- possible object is
NaturalLanguageStringStructure
-
setPrompt
public void setPrompt(NaturalLanguageStringStructure value)
Sets the value of the prompt property.- Parameters:
value- allowed object isNaturalLanguageStringStructure
-
-