Class OptionalTrafficElementStructure
- java.lang.Object
-
- uk.org.siri.siri21.OptionalTrafficElementStructure
-
- All Implemented Interfaces:
Serializable
public abstract class OptionalTrafficElementStructure extends Object implements Serializable
An event which is not planned by the traffic OPERATOR, which is affecting, or has the potential to affect traffic flow. This SIRI-SX element embeds the Datex2 TrafficElement, making all elements optional because they may alternatvielky be specified by common SIRI-SRX SITUATION elements.Java class for OptionalTrafficElementStructure complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="OptionalTrafficElementStructure"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <group ref="{http://www.siri.org.uk/siri}Datex2ManagementGroup"/> <group ref="{http://www.siri.org.uk/siri}Datex2SituationGroup"/> <group ref="{http://www.siri.org.uk/siri}Datex2RoadGroup"/> <group ref="{http://www.siri.org.uk/siri}Datex2OtherGroup"/> </sequence> </restriction> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Causecauseprotected List<Comment>generalPublicCommentsprotected GroupOfLocationsgroupOfLocationsprotected Impactimpactprotected Managementmanagementprotected List<Comment>nonGeneralPublicCommentsprotected ProbabilityOfOccurrenceEnumprobabilityOfOccurrenceprotected StringsituationRecordCreationReferenceprotected ZonedDateTimesituationRecordCreationTimeprotected ExtensionTypesituationRecordExtensionprotected ZonedDateTimesituationRecordFirstSupplierVersionTimeprotected ZonedDateTimesituationRecordObservationTimeprotected BigIntegersituationRecordVersionprotected ZonedDateTimesituationRecordVersionTimeprotected Sourcesourceprotected ExtensionTypetrafficElementExtensionprotected Validityvalidity
-
Constructor Summary
Constructors Constructor Description OptionalTrafficElementStructure()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CausegetCause()Gets the value of the cause property.List<Comment>getGeneralPublicComments()Gets the value of the generalPublicComments property.GroupOfLocationsgetGroupOfLocations()Gets the value of the groupOfLocations property.ImpactgetImpact()Gets the value of the impact property.ManagementgetManagement()Gets the value of the management property.List<Comment>getNonGeneralPublicComments()Gets the value of the nonGeneralPublicComments property.ProbabilityOfOccurrenceEnumgetProbabilityOfOccurrence()Gets the value of the probabilityOfOccurrence property.StringgetSituationRecordCreationReference()Gets the value of the situationRecordCreationReference property.ZonedDateTimegetSituationRecordCreationTime()Gets the value of the situationRecordCreationTime property.ExtensionTypegetSituationRecordExtension()Gets the value of the situationRecordExtension property.ZonedDateTimegetSituationRecordFirstSupplierVersionTime()Gets the value of the situationRecordFirstSupplierVersionTime property.ZonedDateTimegetSituationRecordObservationTime()Gets the value of the situationRecordObservationTime property.BigIntegergetSituationRecordVersion()Gets the value of the situationRecordVersion property.ZonedDateTimegetSituationRecordVersionTime()Gets the value of the situationRecordVersionTime property.SourcegetSource()Gets the value of the source property.ExtensionTypegetTrafficElementExtension()Gets the value of the trafficElementExtension property.ValiditygetValidity()Gets the value of the validity property.voidsetCause(Cause value)Sets the value of the cause property.voidsetGroupOfLocations(GroupOfLocations value)Sets the value of the groupOfLocations property.voidsetImpact(Impact value)Sets the value of the impact property.voidsetManagement(Management value)Sets the value of the management property.voidsetProbabilityOfOccurrence(ProbabilityOfOccurrenceEnum value)Sets the value of the probabilityOfOccurrence property.voidsetSituationRecordCreationReference(String value)Sets the value of the situationRecordCreationReference property.voidsetSituationRecordCreationTime(ZonedDateTime value)Sets the value of the situationRecordCreationTime property.voidsetSituationRecordExtension(ExtensionType value)Sets the value of the situationRecordExtension property.voidsetSituationRecordFirstSupplierVersionTime(ZonedDateTime value)Sets the value of the situationRecordFirstSupplierVersionTime property.voidsetSituationRecordObservationTime(ZonedDateTime value)Sets the value of the situationRecordObservationTime property.voidsetSituationRecordVersion(BigInteger value)Sets the value of the situationRecordVersion property.voidsetSituationRecordVersionTime(ZonedDateTime value)Sets the value of the situationRecordVersionTime property.voidsetSource(Source value)Sets the value of the source property.voidsetTrafficElementExtension(ExtensionType value)Sets the value of the trafficElementExtension property.voidsetValidity(Validity value)Sets the value of the validity property.
-
-
-
Field Detail
-
situationRecordCreationReference
protected String situationRecordCreationReference
-
situationRecordCreationTime
protected ZonedDateTime situationRecordCreationTime
-
situationRecordObservationTime
protected ZonedDateTime situationRecordObservationTime
-
situationRecordVersion
protected BigInteger situationRecordVersion
-
situationRecordVersionTime
protected ZonedDateTime situationRecordVersionTime
-
situationRecordFirstSupplierVersionTime
protected ZonedDateTime situationRecordFirstSupplierVersionTime
-
probabilityOfOccurrence
protected ProbabilityOfOccurrenceEnum probabilityOfOccurrence
-
source
protected Source source
-
validity
protected Validity validity
-
impact
protected Impact impact
-
cause
protected Cause cause
-
groupOfLocations
protected GroupOfLocations groupOfLocations
-
management
protected Management management
-
situationRecordExtension
protected ExtensionType situationRecordExtension
-
trafficElementExtension
protected ExtensionType trafficElementExtension
-
-
Method Detail
-
getSituationRecordCreationReference
public String getSituationRecordCreationReference()
Gets the value of the situationRecordCreationReference property.- Returns:
- possible object is
String
-
setSituationRecordCreationReference
public void setSituationRecordCreationReference(String value)
Sets the value of the situationRecordCreationReference property.- Parameters:
value- allowed object isString
-
getSituationRecordCreationTime
public ZonedDateTime getSituationRecordCreationTime()
Gets the value of the situationRecordCreationTime property.- Returns:
- possible object is
String
-
setSituationRecordCreationTime
public void setSituationRecordCreationTime(ZonedDateTime value)
Sets the value of the situationRecordCreationTime property.- Parameters:
value- allowed object isString
-
getSituationRecordObservationTime
public ZonedDateTime getSituationRecordObservationTime()
Gets the value of the situationRecordObservationTime property.- Returns:
- possible object is
String
-
setSituationRecordObservationTime
public void setSituationRecordObservationTime(ZonedDateTime value)
Sets the value of the situationRecordObservationTime property.- Parameters:
value- allowed object isString
-
getSituationRecordVersion
public BigInteger getSituationRecordVersion()
Gets the value of the situationRecordVersion property.- Returns:
- possible object is
BigInteger
-
setSituationRecordVersion
public void setSituationRecordVersion(BigInteger value)
Sets the value of the situationRecordVersion property.- Parameters:
value- allowed object isBigInteger
-
getSituationRecordVersionTime
public ZonedDateTime getSituationRecordVersionTime()
Gets the value of the situationRecordVersionTime property.- Returns:
- possible object is
String
-
setSituationRecordVersionTime
public void setSituationRecordVersionTime(ZonedDateTime value)
Sets the value of the situationRecordVersionTime property.- Parameters:
value- allowed object isString
-
getSituationRecordFirstSupplierVersionTime
public ZonedDateTime getSituationRecordFirstSupplierVersionTime()
Gets the value of the situationRecordFirstSupplierVersionTime property.- Returns:
- possible object is
String
-
setSituationRecordFirstSupplierVersionTime
public void setSituationRecordFirstSupplierVersionTime(ZonedDateTime value)
Sets the value of the situationRecordFirstSupplierVersionTime property.- Parameters:
value- allowed object isString
-
getProbabilityOfOccurrence
public ProbabilityOfOccurrenceEnum getProbabilityOfOccurrence()
Gets the value of the probabilityOfOccurrence property.- Returns:
- possible object is
ProbabilityOfOccurrenceEnum
-
setProbabilityOfOccurrence
public void setProbabilityOfOccurrence(ProbabilityOfOccurrenceEnum value)
Sets the value of the probabilityOfOccurrence property.- Parameters:
value- allowed object isProbabilityOfOccurrenceEnum
-
getSource
public Source getSource()
Gets the value of the source property.- Returns:
- possible object is
Source
-
setSource
public void setSource(Source value)
Sets the value of the source property.- Parameters:
value- allowed object isSource
-
getValidity
public Validity getValidity()
Gets the value of the validity property.- Returns:
- possible object is
Validity
-
setValidity
public void setValidity(Validity value)
Sets the value of the validity property.- Parameters:
value- allowed object isValidity
-
getImpact
public Impact getImpact()
Gets the value of the impact property.- Returns:
- possible object is
Impact
-
setImpact
public void setImpact(Impact value)
Sets the value of the impact property.- Parameters:
value- allowed object isImpact
-
getCause
public Cause getCause()
Gets the value of the cause property.- Returns:
- possible object is
Cause
-
setCause
public void setCause(Cause value)
Sets the value of the cause property.- Parameters:
value- allowed object isCause
-
getGeneralPublicComments
public List<Comment> getGeneralPublicComments()
Gets the value of the generalPublicComments 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 generalPublicComments property.For example, to add a new item, do as follows:
getGeneralPublicComments().add(newItem);Objects of the following type(s) are allowed in the list
Comment
-
getNonGeneralPublicComments
public List<Comment> getNonGeneralPublicComments()
Gets the value of the nonGeneralPublicComments 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 nonGeneralPublicComments property.For example, to add a new item, do as follows:
getNonGeneralPublicComments().add(newItem);Objects of the following type(s) are allowed in the list
Comment
-
getGroupOfLocations
public GroupOfLocations getGroupOfLocations()
Gets the value of the groupOfLocations property.- Returns:
- possible object is
GroupOfLocations
-
setGroupOfLocations
public void setGroupOfLocations(GroupOfLocations value)
Sets the value of the groupOfLocations property.- Parameters:
value- allowed object isGroupOfLocations
-
getManagement
public Management getManagement()
Gets the value of the management property.- Returns:
- possible object is
Management
-
setManagement
public void setManagement(Management value)
Sets the value of the management property.- Parameters:
value- allowed object isManagement
-
getSituationRecordExtension
public ExtensionType getSituationRecordExtension()
Gets the value of the situationRecordExtension property.- Returns:
- possible object is
ExtensionType
-
setSituationRecordExtension
public void setSituationRecordExtension(ExtensionType value)
Sets the value of the situationRecordExtension property.- Parameters:
value- allowed object isExtensionType
-
getTrafficElementExtension
public ExtensionType getTrafficElementExtension()
Gets the value of the trafficElementExtension property.- Returns:
- possible object is
ExtensionType
-
setTrafficElementExtension
public void setTrafficElementExtension(ExtensionType value)
Sets the value of the trafficElementExtension property.- Parameters:
value- allowed object isExtensionType
-
-