Package uk.org.siri.siri20
Class PtAdviceStructure
- java.lang.Object
-
- uk.org.siri.siri20.PtAdviceStructure
-
- All Implemented Interfaces:
Serializable
public class PtAdviceStructure extends Object implements Serializable
Type for advice.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="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 AdviceRefStructureadviceRefprotected List<NaturalLanguageStringStructure>details
-
Constructor Summary
Constructors Constructor Description PtAdviceStructure()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AdviceRefStructuregetAdviceRef()Gets the value of the adviceRef property.List<NaturalLanguageStringStructure>getDetails()Gets the value of the details property.voidsetAdviceRef(AdviceRefStructure value)Sets the value of the adviceRef property.
-
-
-
Field Detail
-
adviceRef
protected AdviceRefStructure adviceRef
-
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
-
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
-
-