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="accidentType" type="{http://datex2.eu/schema/2/2_0}AccidentTypeEnum"/>
<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 ExtensionType |
accidentExtension |
protected AccidentTypeEnum |
accidentType |
trafficElementExtensioncause, generalPublicComments, groupOfLocations, id, impact, probabilityOfOccurrence, situationRecordCreationTime, situationRecordExtension, situationRecordVersionTime, urlLinks, validity, version| Constructor and Description |
|---|
Accident() |
| Modifier and Type | Method and Description |
|---|---|
ExtensionType |
getAccidentExtension()
Gets the value of the accidentExtension property.
|
AccidentTypeEnum |
getAccidentType()
Gets the value of the accidentType property.
|
void |
setAccidentExtension(ExtensionType value)
Sets the value of the accidentExtension property.
|
void |
setAccidentType(AccidentTypeEnum value)
Sets the value of the accidentType property.
|
getTrafficElementExtension, setTrafficElementExtensiongetCause, getGeneralPublicComments, getGroupOfLocations, getId, getImpact, getProbabilityOfOccurrence, getSituationRecordCreationTime, getSituationRecordExtension, getSituationRecordVersionTime, getUrlLinks, getValidity, getVersion, setCause, setGroupOfLocations, setId, setImpact, setProbabilityOfOccurrence, setSituationRecordCreationTime, setSituationRecordExtension, setSituationRecordVersionTime, setValidity, setVersionprotected AccidentTypeEnum accidentType
protected ExtensionType accidentExtension
public AccidentTypeEnum getAccidentType()
AccidentTypeEnumpublic void setAccidentType(AccidentTypeEnum value)
value - allowed object is
AccidentTypeEnumpublic ExtensionType getAccidentExtension()
ExtensionTypepublic void setAccidentExtension(ExtensionType value)
value - allowed object is
ExtensionType