Class Accident
- java.lang.Object
-
- eu.datex2.siri21.schema._2_0rc1._2_0.SituationRecord
-
- eu.datex2.siri21.schema._2_0rc1._2_0.TrafficElement
-
- eu.datex2.siri21.schema._2_0rc1._2_0.Accident
-
- All Implemented Interfaces:
Serializable
public class Accident extends TrafficElement implements Serializable
Java class for Accident complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Accident"> <complexContent> <extension base="{http://datex2.eu/schema/2_0RC1/2_0}TrafficElement"> <sequence> <element name="accidentCause" type="{http://datex2.eu/schema/2_0RC1/2_0}AccidentCauseEnum" minOccurs="0"/> <element name="accidentType" type="{http://datex2.eu/schema/2_0RC1/2_0}AccidentTypeEnum" maxOccurs="unbounded"/> <element name="totalNumberOfPeopleInvolved" type="{http://datex2.eu/schema/2_0RC1/2_0}NonNegativeInteger" minOccurs="0"/> <element name="totalNumberOfVehiclesInvolved" type="{http://datex2.eu/schema/2_0RC1/2_0}NonNegativeInteger" minOccurs="0"/> <element name="vehicleInvolved" type="{http://datex2.eu/schema/2_0RC1/2_0}Vehicle" maxOccurs="unbounded" minOccurs="0"/> <element name="groupOfVehiclesInvolved" type="{http://datex2.eu/schema/2_0RC1/2_0}GroupOfVehiclesInvolved" maxOccurs="unbounded" minOccurs="0"/> <element name="groupOfPeopleInvolved" type="{http://datex2.eu/schema/2_0RC1/2_0}GroupOfPeopleInvolved" maxOccurs="unbounded" minOccurs="0"/> <element name="accidentExtension" type="{http://datex2.eu/schema/2_0RC1/2_0}ExtensionType" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected AccidentCauseEnumaccidentCauseprotected ExtensionTypeaccidentExtensionprotected List<AccidentTypeEnum>accidentTypesprotected List<GroupOfPeopleInvolved>groupOfPeopleInvolvedsprotected List<GroupOfVehiclesInvolved>groupOfVehiclesInvolvedsprotected BigIntegertotalNumberOfPeopleInvolvedprotected BigIntegertotalNumberOfVehiclesInvolvedprotected List<Vehicle>vehicleInvolveds-
Fields inherited from class eu.datex2.siri21.schema._2_0rc1._2_0.TrafficElement
trafficElementExtension
-
Fields inherited from class eu.datex2.siri21.schema._2_0rc1._2_0.SituationRecord
cause, confidentialityOverride, generalPublicComments, groupOfLocations, id, impact, management, nonGeneralPublicComments, probabilityOfOccurrence, situationRecordCreationReference, situationRecordCreationTime, situationRecordExtension, situationRecordFirstSupplierVersionTime, situationRecordObservationTime, situationRecordVersion, situationRecordVersionTime, source, urlLinks, validity
-
-
Constructor Summary
Constructors Constructor Description Accident()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AccidentCauseEnumgetAccidentCause()Gets the value of the accidentCause property.ExtensionTypegetAccidentExtension()Gets the value of the accidentExtension property.List<AccidentTypeEnum>getAccidentTypes()Gets the value of the accidentTypes property.List<GroupOfPeopleInvolved>getGroupOfPeopleInvolveds()Gets the value of the groupOfPeopleInvolveds property.List<GroupOfVehiclesInvolved>getGroupOfVehiclesInvolveds()Gets the value of the groupOfVehiclesInvolveds property.BigIntegergetTotalNumberOfPeopleInvolved()Gets the value of the totalNumberOfPeopleInvolved property.BigIntegergetTotalNumberOfVehiclesInvolved()Gets the value of the totalNumberOfVehiclesInvolved property.List<Vehicle>getVehicleInvolveds()Gets the value of the vehicleInvolveds property.voidsetAccidentCause(AccidentCauseEnum value)Sets the value of the accidentCause property.voidsetAccidentExtension(ExtensionType value)Sets the value of the accidentExtension property.voidsetTotalNumberOfPeopleInvolved(BigInteger value)Sets the value of the totalNumberOfPeopleInvolved property.voidsetTotalNumberOfVehiclesInvolved(BigInteger value)Sets the value of the totalNumberOfVehiclesInvolved property.-
Methods inherited from class eu.datex2.siri21.schema._2_0rc1._2_0.TrafficElement
getTrafficElementExtension, setTrafficElementExtension
-
Methods inherited from class eu.datex2.siri21.schema._2_0rc1._2_0.SituationRecord
getCause, getConfidentialityOverride, getGeneralPublicComments, getGroupOfLocations, getId, getImpact, getManagement, getNonGeneralPublicComments, getProbabilityOfOccurrence, getSituationRecordCreationReference, getSituationRecordCreationTime, getSituationRecordExtension, getSituationRecordFirstSupplierVersionTime, getSituationRecordObservationTime, getSituationRecordVersion, getSituationRecordVersionTime, getSource, getUrlLinks, getValidity, setCause, setConfidentialityOverride, setGroupOfLocations, setId, setImpact, setManagement, setProbabilityOfOccurrence, setSituationRecordCreationReference, setSituationRecordCreationTime, setSituationRecordExtension, setSituationRecordFirstSupplierVersionTime, setSituationRecordObservationTime, setSituationRecordVersion, setSituationRecordVersionTime, setSource, setValidity
-
-
-
-
Field Detail
-
accidentCause
protected AccidentCauseEnum accidentCause
-
accidentTypes
protected List<AccidentTypeEnum> accidentTypes
-
totalNumberOfPeopleInvolved
protected BigInteger totalNumberOfPeopleInvolved
-
totalNumberOfVehiclesInvolved
protected BigInteger totalNumberOfVehiclesInvolved
-
groupOfVehiclesInvolveds
protected List<GroupOfVehiclesInvolved> groupOfVehiclesInvolveds
-
groupOfPeopleInvolveds
protected List<GroupOfPeopleInvolved> groupOfPeopleInvolveds
-
accidentExtension
protected ExtensionType accidentExtension
-
-
Method Detail
-
getAccidentCause
public AccidentCauseEnum getAccidentCause()
Gets the value of the accidentCause property.- Returns:
- possible object is
AccidentCauseEnum
-
setAccidentCause
public void setAccidentCause(AccidentCauseEnum value)
Sets the value of the accidentCause property.- Parameters:
value- allowed object isAccidentCauseEnum
-
getAccidentTypes
public List<AccidentTypeEnum> getAccidentTypes()
Gets the value of the accidentTypes 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 accidentTypes property.For example, to add a new item, do as follows:
getAccidentTypes().add(newItem);Objects of the following type(s) are allowed in the list
AccidentTypeEnum
-
getTotalNumberOfPeopleInvolved
public BigInteger getTotalNumberOfPeopleInvolved()
Gets the value of the totalNumberOfPeopleInvolved property.- Returns:
- possible object is
BigInteger
-
setTotalNumberOfPeopleInvolved
public void setTotalNumberOfPeopleInvolved(BigInteger value)
Sets the value of the totalNumberOfPeopleInvolved property.- Parameters:
value- allowed object isBigInteger
-
getTotalNumberOfVehiclesInvolved
public BigInteger getTotalNumberOfVehiclesInvolved()
Gets the value of the totalNumberOfVehiclesInvolved property.- Returns:
- possible object is
BigInteger
-
setTotalNumberOfVehiclesInvolved
public void setTotalNumberOfVehiclesInvolved(BigInteger value)
Sets the value of the totalNumberOfVehiclesInvolved property.- Parameters:
value- allowed object isBigInteger
-
getVehicleInvolveds
public List<Vehicle> getVehicleInvolveds()
Gets the value of the vehicleInvolveds 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 vehicleInvolveds property.For example, to add a new item, do as follows:
getVehicleInvolveds().add(newItem);Objects of the following type(s) are allowed in the list
Vehicle
-
getGroupOfVehiclesInvolveds
public List<GroupOfVehiclesInvolved> getGroupOfVehiclesInvolveds()
Gets the value of the groupOfVehiclesInvolveds 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 groupOfVehiclesInvolveds property.For example, to add a new item, do as follows:
getGroupOfVehiclesInvolveds().add(newItem);Objects of the following type(s) are allowed in the list
GroupOfVehiclesInvolved
-
getGroupOfPeopleInvolveds
public List<GroupOfPeopleInvolved> getGroupOfPeopleInvolveds()
Gets the value of the groupOfPeopleInvolveds 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 groupOfPeopleInvolveds property.For example, to add a new item, do as follows:
getGroupOfPeopleInvolveds().add(newItem);Objects of the following type(s) are allowed in the list
GroupOfPeopleInvolved
-
getAccidentExtension
public ExtensionType getAccidentExtension()
Gets the value of the accidentExtension property.- Returns:
- possible object is
ExtensionType
-
setAccidentExtension
public void setAccidentExtension(ExtensionType value)
Sets the value of the accidentExtension property.- Parameters:
value- allowed object isExtensionType
-
-