Class 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
    • Constructor Detail

      • PtAdviceStructure

        public PtAdviceStructure()
    • Method Detail

      • 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 set method 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 set method 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