public class Accident extends TrafficElement
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/2_0}TrafficElement">
<sequence>
<element name="accidentCause" type="{http://datex2.eu/schema/2/2_0}AccidentCauseEnum" minOccurs="0"/>
<element name="accidentType" type="{http://datex2.eu/schema/2/2_0}AccidentTypeEnum" maxOccurs="unbounded"/>
<element name="totalNumberOfPeopleInvolved" type="{http://datex2.eu/schema/2/2_0}NonNegativeInteger" minOccurs="0"/>
<element name="totalNumberOfVehiclesInvolved" type="{http://datex2.eu/schema/2/2_0}NonNegativeInteger" minOccurs="0"/>
<element name="vehicleInvolved" type="{http://datex2.eu/schema/2/2_0}Vehicle" maxOccurs="unbounded" minOccurs="0"/>
<element name="groupOfVehiclesInvolved" type="{http://datex2.eu/schema/2/2_0}GroupOfVehiclesInvolved" maxOccurs="unbounded" minOccurs="0"/>
<element name="groupOfPeopleInvolved" type="{http://datex2.eu/schema/2/2_0}GroupOfPeopleInvolved" maxOccurs="unbounded" minOccurs="0"/>
<element name="accidentExtension" type="{http://datex2.eu/schema/2/2_0}_ExtensionType" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected AccidentCauseEnum |
accidentCause |
protected ExtensionType |
accidentExtension |
protected List<AccidentTypeEnum> |
accidentType |
protected List<GroupOfPeopleInvolved> |
groupOfPeopleInvolved |
protected List<GroupOfVehiclesInvolved> |
groupOfVehiclesInvolved |
protected Long |
totalNumberOfPeopleInvolved |
protected Long |
totalNumberOfVehiclesInvolved |
protected List<Vehicle> |
vehicleInvolved |
trafficElementExtensioncause, confidentialityOverride, generalPublicComment, groupOfLocations, id, impact, management, nonGeneralPublicComment, probabilityOfOccurrence, severity, situationRecordCreationReference, situationRecordCreationTime, situationRecordExtension, situationRecordFirstSupplierVersionTime, situationRecordObservationTime, situationRecordVersionTime, source, urlLink, validity, version| Constructor and Description |
|---|
Accident() |
| Modifier and Type | Method and Description |
|---|---|
AccidentCauseEnum |
getAccidentCause()
Gets the value of the accidentCause property.
|
ExtensionType |
getAccidentExtension()
Gets the value of the accidentExtension property.
|
List<AccidentTypeEnum> |
getAccidentType()
Gets the value of the accidentType property.
|
List<GroupOfPeopleInvolved> |
getGroupOfPeopleInvolved()
Gets the value of the groupOfPeopleInvolved property.
|
List<GroupOfVehiclesInvolved> |
getGroupOfVehiclesInvolved()
Gets the value of the groupOfVehiclesInvolved property.
|
Long |
getTotalNumberOfPeopleInvolved()
Gets the value of the totalNumberOfPeopleInvolved property.
|
Long |
getTotalNumberOfVehiclesInvolved()
Gets the value of the totalNumberOfVehiclesInvolved property.
|
List<Vehicle> |
getVehicleInvolved()
Gets the value of the vehicleInvolved property.
|
void |
setAccidentCause(AccidentCauseEnum value)
Sets the value of the accidentCause property.
|
void |
setAccidentExtension(ExtensionType value)
Sets the value of the accidentExtension property.
|
void |
setTotalNumberOfPeopleInvolved(Long value)
Sets the value of the totalNumberOfPeopleInvolved property.
|
void |
setTotalNumberOfVehiclesInvolved(Long value)
Sets the value of the totalNumberOfVehiclesInvolved property.
|
getTrafficElementExtension, setTrafficElementExtensiongetCause, getConfidentialityOverride, getGeneralPublicComment, getGroupOfLocations, getId, getImpact, getManagement, getNonGeneralPublicComment, getProbabilityOfOccurrence, getSeverity, getSituationRecordCreationReference, getSituationRecordCreationTime, getSituationRecordExtension, getSituationRecordFirstSupplierVersionTime, getSituationRecordObservationTime, getSituationRecordVersionTime, getSource, getUrlLink, getValidity, getVersion, setCause, setConfidentialityOverride, setGroupOfLocations, setId, setImpact, setManagement, setProbabilityOfOccurrence, setSeverity, setSituationRecordCreationReference, setSituationRecordCreationTime, setSituationRecordExtension, setSituationRecordFirstSupplierVersionTime, setSituationRecordObservationTime, setSituationRecordVersionTime, setSource, setValidity, setVersionprotected AccidentCauseEnum accidentCause
protected List<AccidentTypeEnum> accidentType
protected Long totalNumberOfPeopleInvolved
protected Long totalNumberOfVehiclesInvolved
protected List<GroupOfVehiclesInvolved> groupOfVehiclesInvolved
protected List<GroupOfPeopleInvolved> groupOfPeopleInvolved
protected ExtensionType accidentExtension
public AccidentCauseEnum getAccidentCause()
AccidentCauseEnumpublic void setAccidentCause(AccidentCauseEnum value)
value - allowed object is
AccidentCauseEnumpublic List<AccidentTypeEnum> getAccidentType()
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 set method for the accidentType property.
For example, to add a new item, do as follows:
getAccidentType().add(newItem);
Objects of the following type(s) are allowed in the list
AccidentTypeEnum
public Long getTotalNumberOfPeopleInvolved()
Stringpublic void setTotalNumberOfPeopleInvolved(Long value)
value - allowed object is
Stringpublic Long getTotalNumberOfVehiclesInvolved()
Stringpublic void setTotalNumberOfVehiclesInvolved(Long value)
value - allowed object is
Stringpublic List<Vehicle> getVehicleInvolved()
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 set method for the vehicleInvolved property.
For example, to add a new item, do as follows:
getVehicleInvolved().add(newItem);
Objects of the following type(s) are allowed in the list
Vehicle
public List<GroupOfVehiclesInvolved> getGroupOfVehiclesInvolved()
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 set method for the groupOfVehiclesInvolved property.
For example, to add a new item, do as follows:
getGroupOfVehiclesInvolved().add(newItem);
Objects of the following type(s) are allowed in the list
GroupOfVehiclesInvolved
public List<GroupOfPeopleInvolved> getGroupOfPeopleInvolved()
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 set method for the groupOfPeopleInvolved property.
For example, to add a new item, do as follows:
getGroupOfPeopleInvolved().add(newItem);
Objects of the following type(s) are allowed in the list
GroupOfPeopleInvolved
public ExtensionType getAccidentExtension()
ExtensionTypepublic void setAccidentExtension(ExtensionType value)
value - allowed object is
ExtensionTypeCopyright © 2014–2015 Centrum dopravního výzkumu, v.v.i.. All rights reserved.