Package uk.org.siri.siri21
Class ModesStructure
- java.lang.Object
-
- uk.org.siri.siri21.ModesStructure
-
- All Implemented Interfaces:
Serializable
public class ModesStructure extends Object implements Serializable
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
-
-
Field Summary
Fields Modifier and Type Field Description protected Booleanexcludeprotected List<AllModesEnumeration>modes
-
Constructor Summary
Constructors Constructor Description ModesStructure()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<AllModesEnumeration>getModes()Gets the value of the modes property.booleanisExclude()Gets the value of the exclude property.voidsetExclude(Boolean value)Sets the value of the exclude property.
-
-
-
Field Detail
-
modes
protected List<AllModesEnumeration> modes
-
exclude
protected Boolean exclude
-
-
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 JAXB object. This is why there is not a
setmethod 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
-
-