Package uk.org.siri.siri10
Class AnnotatedLineStructure
- java.lang.Object
-
- uk.org.siri.siri10.AnnotatedLineStructure
-
- All Implemented Interfaces:
Serializable
public class AnnotatedLineStructure extends Object implements Serializable
Summary information about a line type.Java class for AnnotatedLineStructure complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="AnnotatedLineStructure"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="LineRef" type="{http://www.siri.org.uk/}LineRefStructure" maxOccurs="unbounded"/> <element name="LineName" type="{http://www.siri.org.uk/}NaturalLanguageStringStructure"/> <element name="Monitored" type="{http://www.w3.org/2001/XMLSchema}boolean"/> <element name="Destinations" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element ref="{http://www.siri.org.uk/}Destination" maxOccurs="unbounded" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType> </element> <element name="Directions" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element ref="{http://www.siri.org.uk/}Direction" maxOccurs="unbounded"/> </sequence> </restriction> </complexContent> </complexType> </element> </sequence> </restriction> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAnnotatedLineStructure.DestinationsJava class for anonymous complex type.static classAnnotatedLineStructure.DirectionsJava class for anonymous complex type.
-
Field Summary
Fields Modifier and Type Field Description protected AnnotatedLineStructure.Destinationsdestinationsprotected AnnotatedLineStructure.Directionsdirectionsprotected NaturalLanguageStringStructurelineNameprotected List<LineRefStructure>lineRefprotected booleanmonitored
-
Constructor Summary
Constructors Constructor Description AnnotatedLineStructure()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AnnotatedLineStructure.DestinationsgetDestinations()Gets the value of the destinations property.AnnotatedLineStructure.DirectionsgetDirections()Gets the value of the directions property.NaturalLanguageStringStructuregetLineName()Gets the value of the lineName property.List<LineRefStructure>getLineRef()Gets the value of the lineRef property.booleanisMonitored()Gets the value of the monitored property.voidsetDestinations(AnnotatedLineStructure.Destinations value)Sets the value of the destinations property.voidsetDirections(AnnotatedLineStructure.Directions value)Sets the value of the directions property.voidsetLineName(NaturalLanguageStringStructure value)Sets the value of the lineName property.voidsetMonitored(boolean value)Sets the value of the monitored property.
-
-
-
Field Detail
-
lineRef
protected List<LineRefStructure> lineRef
-
lineName
protected NaturalLanguageStringStructure lineName
-
monitored
protected boolean monitored
-
destinations
protected AnnotatedLineStructure.Destinations destinations
-
directions
protected AnnotatedLineStructure.Directions directions
-
-
Method Detail
-
getLineRef
public List<LineRefStructure> getLineRef()
Gets the value of the lineRef 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 lineRef property.For example, to add a new item, do as follows:
getLineRef().add(newItem);Objects of the following type(s) are allowed in the list
LineRefStructure
-
getLineName
public NaturalLanguageStringStructure getLineName()
Gets the value of the lineName property.- Returns:
- possible object is
NaturalLanguageStringStructure
-
setLineName
public void setLineName(NaturalLanguageStringStructure value)
Sets the value of the lineName property.- Parameters:
value- allowed object isNaturalLanguageStringStructure
-
isMonitored
public boolean isMonitored()
Gets the value of the monitored property.
-
setMonitored
public void setMonitored(boolean value)
Sets the value of the monitored property.
-
getDestinations
public AnnotatedLineStructure.Destinations getDestinations()
Gets the value of the destinations property.- Returns:
- possible object is
AnnotatedLineStructure.Destinations
-
setDestinations
public void setDestinations(AnnotatedLineStructure.Destinations value)
Sets the value of the destinations property.- Parameters:
value- allowed object isAnnotatedLineStructure.Destinations
-
getDirections
public AnnotatedLineStructure.Directions getDirections()
Gets the value of the directions property.- Returns:
- possible object is
AnnotatedLineStructure.Directions
-
setDirections
public void setDirections(AnnotatedLineStructure.Directions value)
Sets the value of the directions property.- Parameters:
value- allowed object isAnnotatedLineStructure.Directions
-
-