Class PtConsequencesStructure

  • All Implemented Interfaces:
    Serializable

    public class PtConsequencesStructure
    extends Object
    implements Serializable
    Type for list of effects.

    Java class for PtConsequencesStructure complex type.

    The following schema fragment specifies the expected content contained within this class.

     <complexType name="PtConsequencesStructure">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element name="Consequence" type="{http://www.siri.org.uk/siri}PtConsequenceStructure" maxOccurs="unbounded"/>
           </sequence>
         </restriction>
       </complexContent>
     </complexType>
     
    See Also:
    Serialized Form
    • Constructor Detail

      • PtConsequencesStructure

        public PtConsequencesStructure()
    • Method Detail

      • getConsequences

        public List<PtConsequenceStructure> getConsequences()
        Gets the value of the consequences 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 consequences property.

        For example, to add a new item, do as follows:

            getConsequences().add(newItem);
         

        Objects of the following type(s) are allowed in the list PtConsequenceStructure