Package uk.org.siri.siri20
Class ServiceException
- java.lang.Object
-
- uk.org.siri.siri20.AbstractItemStructure
-
- uk.org.siri.siri20.ServiceException
-
- All Implemented Interfaces:
Serializable
public class ServiceException extends AbstractItemStructure implements Serializable
Type for whether service is unavailable for all or some services SIRI 2.0Java class for ServiceExceptionStructure complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ServiceExceptionStructure"> <complexContent> <extension base="{http://www.siri.org.uk/siri}AbstractItemStructure"> <sequence> <element ref="{http://www.siri.org.uk/siri}LineRef" minOccurs="0"/> <element name="DirectionRef" type="{http://www.siri.org.uk/siri}DirectionRefStructure" minOccurs="0"/> <element ref="{http://www.siri.org.uk/siri}StopPointRef" minOccurs="0"/> <element name="ServiceStatus" type="{http://www.siri.org.uk/siri}ServiceExceptionEnumeration" minOccurs="0"/> <element name="Notice" type="{http://www.siri.org.uk/siri}NaturalLanguageStringStructure" maxOccurs="unbounded" minOccurs="0"/> <element name="SituationRef" type="{http://www.siri.org.uk/siri}SituationSimpleRefStructure" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected DirectionRefStructuredirectionRefprotected LineReflineRefprotected List<NaturalLanguageStringStructure>noticesprotected ServiceExceptionEnumerationserviceStatusprotected SituationSimpleRefsituationRefprotected StopPointRefstopPointRef-
Fields inherited from class uk.org.siri.siri20.AbstractItemStructure
recordedAtTime
-
-
Constructor Summary
Constructors Constructor Description ServiceException()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DirectionRefStructuregetDirectionRef()Gets the value of the directionRef property.LineRefgetLineRef()Gets the value of the lineRef property.List<NaturalLanguageStringStructure>getNotices()Gets the value of the notices property.ServiceExceptionEnumerationgetServiceStatus()Gets the value of the serviceStatus property.SituationSimpleRefgetSituationRef()Gets the value of the situationRef property.StopPointRefgetStopPointRef()Gets the value of the stopPointRef property.voidsetDirectionRef(DirectionRefStructure value)Sets the value of the directionRef property.voidsetLineRef(LineRef value)Sets the value of the lineRef property.voidsetServiceStatus(ServiceExceptionEnumeration value)Sets the value of the serviceStatus property.voidsetSituationRef(SituationSimpleRef value)Sets the value of the situationRef property.voidsetStopPointRef(StopPointRef value)Sets the value of the stopPointRef property.-
Methods inherited from class uk.org.siri.siri20.AbstractItemStructure
getRecordedAtTime, setRecordedAtTime
-
-
-
-
Field Detail
-
lineRef
protected LineRef lineRef
-
directionRef
protected DirectionRefStructure directionRef
-
stopPointRef
protected StopPointRef stopPointRef
-
serviceStatus
protected ServiceExceptionEnumeration serviceStatus
-
notices
protected List<NaturalLanguageStringStructure> notices
-
situationRef
protected SituationSimpleRef situationRef
-
-
Method Detail
-
getLineRef
public LineRef getLineRef()
Gets the value of the lineRef property.- Returns:
- possible object is
LineRef
-
setLineRef
public void setLineRef(LineRef value)
Sets the value of the lineRef property.- Parameters:
value- allowed object isLineRef
-
getDirectionRef
public DirectionRefStructure getDirectionRef()
Gets the value of the directionRef property.- Returns:
- possible object is
DirectionRefStructure
-
setDirectionRef
public void setDirectionRef(DirectionRefStructure value)
Sets the value of the directionRef property.- Parameters:
value- allowed object isDirectionRefStructure
-
getStopPointRef
public StopPointRef getStopPointRef()
Gets the value of the stopPointRef property.- Returns:
- possible object is
StopPointRef
-
setStopPointRef
public void setStopPointRef(StopPointRef value)
Sets the value of the stopPointRef property.- Parameters:
value- allowed object isStopPointRef
-
getServiceStatus
public ServiceExceptionEnumeration getServiceStatus()
Gets the value of the serviceStatus property.- Returns:
- possible object is
ServiceExceptionEnumeration
-
setServiceStatus
public void setServiceStatus(ServiceExceptionEnumeration value)
Sets the value of the serviceStatus property.- Parameters:
value- allowed object isServiceExceptionEnumeration
-
getNotices
public List<NaturalLanguageStringStructure> getNotices()
Gets the value of the notices 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
setmethod for the notices property.For example, to add a new item, do as follows:
getNotices().add(newItem);Objects of the following type(s) are allowed in the list
NaturalLanguageStringStructure
-
getSituationRef
public SituationSimpleRef getSituationRef()
Gets the value of the situationRef property.- Returns:
- possible object is
SituationSimpleRef
-
setSituationRef
public void setSituationRef(SituationSimpleRef value)
Sets the value of the situationRef property.- Parameters:
value- allowed object isSituationSimpleRef
-
-