Class PtAdviceStructure
- java.lang.Object
-
- uk.org.siri.siri21.PtAdviceStructure
-
- All Implemented Interfaces:
Serializable
public class PtAdviceStructure extends Object implements Serializable
Type for (structured) advice. The AdviceType enumerated value can be used to generate standardized messages describing the SITUATION. If no enumerated value is given, AdviceName is used instead. Note: this means that AdviceName is NOT a complete message, but only a (few) word(s) to be included in the message! Alternatively, AdviceRef can be used to reference a (complete) standardised advisory message.Java class for PtAdviceStructure complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="PtAdviceStructure"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="AdviceRef" type="{http://www.siri.org.uk/siri}AdviceRefStructure" minOccurs="0"/> <element name="AdviceType" type="{http://www.siri.org.uk/siri}AdviceTypeEnumeration" minOccurs="0"/> <element name="AdviceName" type="{http://www.siri.org.uk/siri}NaturalLanguageStringStructure" maxOccurs="unbounded" minOccurs="0"/> <element name="Details" type="{http://www.siri.org.uk/siri}NaturalLanguageStringStructure" maxOccurs="unbounded" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected List<NaturalLanguageStringStructure>adviceNamesprotected AdviceRefStructureadviceRefprotected AdviceTypeEnumerationadviceTypeprotected List<NaturalLanguageStringStructure>details
-
Constructor Summary
Constructors Constructor Description PtAdviceStructure()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<NaturalLanguageStringStructure>getAdviceNames()Gets the value of the adviceNames property.AdviceRefStructuregetAdviceRef()Gets the value of the adviceRef property.AdviceTypeEnumerationgetAdviceType()Gets the value of the adviceType property.List<NaturalLanguageStringStructure>getDetails()Gets the value of the details property.voidsetAdviceRef(AdviceRefStructure value)Sets the value of the adviceRef property.voidsetAdviceType(AdviceTypeEnumeration value)Sets the value of the adviceType property.
-
-
-
Field Detail
-
adviceRef
protected AdviceRefStructure adviceRef
-
adviceType
protected AdviceTypeEnumeration adviceType
-
adviceNames
protected List<NaturalLanguageStringStructure> adviceNames
-
details
protected List<NaturalLanguageStringStructure> details
-
-
Method Detail
-
getAdviceRef
public AdviceRefStructure getAdviceRef()
Gets the value of the adviceRef property.- Returns:
- possible object is
AdviceRefStructure
-
setAdviceRef
public void setAdviceRef(AdviceRefStructure value)
Sets the value of the adviceRef property.- Parameters:
value- allowed object isAdviceRefStructure
-
getAdviceType
public AdviceTypeEnumeration getAdviceType()
Gets the value of the adviceType property.- Returns:
- possible object is
AdviceTypeEnumeration
-
setAdviceType
public void setAdviceType(AdviceTypeEnumeration value)
Sets the value of the adviceType property.- Parameters:
value- allowed object isAdviceTypeEnumeration
-
getAdviceNames
public List<NaturalLanguageStringStructure> getAdviceNames()
Gets the value of the adviceNames 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 Jakarta XML Binding object. This is why there is not a
setmethod for the adviceNames property.For example, to add a new item, do as follows:
getAdviceNames().add(newItem);Objects of the following type(s) are allowed in the list
NaturalLanguageStringStructure
-
getDetails
public List<NaturalLanguageStringStructure> getDetails()
Gets the value of the details 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 Jakarta XML Binding object. This is why there is not a
setmethod for the details property.For example, to add a new item, do as follows:
getDetails().add(newItem);Objects of the following type(s) are allowed in the list
NaturalLanguageStringStructure
-
-