Class ModesStructure

  • All Implemented Interfaces:
    Serializable

    public class ModesStructure
    extends Object
    implements Serializable
    Data Type for Transport Modes

    Java class for ModesStructure complex type.

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

     <complexType name="ModesStructure">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element name="Mode" type="{http://www.siri.org.uk/siri}AllModesEnumeration" maxOccurs="unbounded"/>
           </sequence>
           <attribute name="Exclude" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
         </restriction>
       </complexContent>
     </complexType>
     
    See Also:
    Serialized Form
    • Constructor Detail

      • ModesStructure

        public ModesStructure()
    • Method Detail

      • getModes

        public List<AllModesEnumeration> getModes()
        Gets the value of the modes 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 modes property.

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

            getModes().add(newItem);
         

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

      • isExclude

        public boolean isExclude()
        Gets the value of the exclude property.
        Returns:
        possible object is Boolean
      • setExclude

        public void setExclude​(Boolean value)
        Sets the value of the exclude property.
        Parameters:
        value - allowed object is Boolean