Class KeyList

  • All Implemented Interfaces:
    Serializable

    public class KeyList
    extends Object
    implements Serializable
    Type for a Key List. +SIRI v2.1

    Java class for KeyListStructure complex type.

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

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

      • KeyList

        public KeyList()
    • Method Detail

      • getKeyValues

        public List<KeyValueStructure> getKeyValues()
        Gets the value of the keyValues 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 JAXB object. This is why there is not a set method for the keyValues property.

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

            getKeyValues().add(newItem);
         

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