
de.vdv.ojp20.siri.RoadSituationElementStructure Maven / Gradle / Ivy
Show all versions of ojp-java-model Show documentation
//
// This file was generated by the Eclipse Implementation of JAXB, v4.0.5
// See https://eclipse-ee4j.github.io/jaxb-ri
// Any modifications to this file will be lost upon recompilation of the source schema.
//
package de.vdv.ojp20.siri;
import java.math.BigInteger;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import eu.datex2.schema._2_0rc1._2_0.InformationStatusEnum;
import eu.datex2.schema._2_0rc1._2_0.ProbabilityOfOccurrenceEnum;
import eu.datex2.schema._2_0rc1._2_0.PublicEventTypeEnum;
import eu.datex2.schema._2_0rc1._2_0.SituationRecord;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlList;
import jakarta.xml.bind.annotation.XmlSchemaType;
import jakarta.xml.bind.annotation.XmlType;
import jakarta.xml.bind.annotation.adapters.CollapsedStringAdapter;
import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.opentripplanner.ojp.netex.OmitNullsToStringStyle;
import org.opentripplanner.ojp.time.XmlDateTime;
import uk.org.ifopt.ifopt.CountryRefStructure;
/**
* Java class for RoadSituationElementStructure complex type
.
*
* The following schema fragment specifies the expected content contained within this class.
*
* {@code
*
*
*
*
*
*
*
*
*
*
* }
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "RoadSituationElementStructure", propOrder = {
"verification",
"progress",
"qualityIndex",
"reality",
"likelihood",
"publication",
"validityPeriod",
"repetitions",
"publicationWindow",
"alertCause",
"unknownReason",
"miscellaneousReason",
"personnelReason",
"equipmentReason",
"environmentReason",
"undefinedReason",
"miscellaneousSubReason",
"personnelSubReason",
"equipmentSubReason",
"environmentSubReason",
"publicEventReason",
"reasonName",
"severity",
"priority",
"sensitivity",
"audience",
"scopeType",
"reportType",
"planned",
"keywords",
"secondaryReasons",
"language",
"summary",
"description",
"detail",
"advice",
"internal",
"images",
"infoLinks",
"affects",
"consequences",
"publishingActions",
"situationRecord",
"extensions"
})
public class RoadSituationElementStructure
extends SituationElementStructure
{
@XmlElement(name = "Verification")
protected VerificationStatusEnumeration verification;
@XmlElement(name = "Progress", defaultValue = "open")
@XmlSchemaType(name = "NMTOKEN")
protected WorkflowStatusEnumeration progress;
@XmlElement(name = "QualityIndex", defaultValue = "reliable")
@XmlSchemaType(name = "NMTOKEN")
protected QualityIndexEnumeration qualityIndex;
@XmlElement(name = "Reality")
@XmlSchemaType(name = "string")
protected InformationStatusEnum reality;
@XmlElement(name = "Likelihood")
@XmlSchemaType(name = "string")
protected ProbabilityOfOccurrenceEnum likelihood;
@XmlElement(name = "Publication")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "NMTOKEN")
protected List publication;
@XmlElement(name = "ValidityPeriod", required = true)
protected List validityPeriod;
@XmlElement(name = "Repetitions")
protected RoadSituationElementStructure.Repetitions repetitions;
@XmlElement(name = "PublicationWindow")
protected List publicationWindow;
@XmlElement(name = "AlertCause")
@XmlSchemaType(name = "NMTOKEN")
protected AlertCauseEnumeration alertCause;
@XmlElement(name = "UnknownReason")
protected String unknownReason;
@XmlElement(name = "MiscellaneousReason")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "NMTOKEN")
protected String miscellaneousReason;
@XmlElement(name = "PersonnelReason")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "NMTOKEN")
protected String personnelReason;
@XmlElement(name = "EquipmentReason")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "NMTOKEN")
protected String equipmentReason;
@XmlElement(name = "EnvironmentReason")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "NMTOKEN")
protected String environmentReason;
@XmlElement(name = "UndefinedReason")
protected String undefinedReason;
@XmlElement(name = "MiscellaneousSubReason")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "NMTOKEN")
protected String miscellaneousSubReason;
@XmlElement(name = "PersonnelSubReason")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "NMTOKEN")
protected String personnelSubReason;
@XmlElement(name = "EquipmentSubReason")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "NMTOKEN")
protected String equipmentSubReason;
@XmlElement(name = "EnvironmentSubReason")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "NMTOKEN")
protected String environmentSubReason;
@XmlElement(name = "PublicEventReason")
@XmlSchemaType(name = "string")
protected PublicEventTypeEnum publicEventReason;
@XmlElement(name = "ReasonName")
protected List reasonName;
@XmlElement(name = "Severity", defaultValue = "normal")
@XmlSchemaType(name = "NMTOKEN")
protected SeverityEnumeration severity;
@XmlElement(name = "Priority")
@XmlSchemaType(name = "nonNegativeInteger")
protected BigInteger priority;
@XmlElement(name = "Sensitivity")
@XmlSchemaType(name = "NMTOKEN")
protected SensitivityEnumeration sensitivity;
@XmlElement(name = "Audience", defaultValue = "public")
@XmlSchemaType(name = "NMTOKEN")
protected AudienceEnumeration audience;
@XmlElement(name = "ScopeType")
protected ScopeTypeEnumeration scopeType;
@XmlElement(name = "ReportType", defaultValue = "unknown")
@XmlSchemaType(name = "NMTOKEN")
protected ReportTypeEnumeration reportType;
@XmlElement(name = "Planned", defaultValue = "false")
protected Boolean planned;
@XmlList
@XmlElement(name = "Keywords")
@XmlSchemaType(name = "NMTOKENS")
protected List keywords;
@XmlElement(name = "SecondaryReasons")
protected RoadSituationElementStructure.SecondaryReasons secondaryReasons;
@XmlElement(name = "Language", defaultValue = "en")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "language")
protected String language;
@XmlElement(name = "Summary")
protected List summary;
@XmlElement(name = "Description")
protected List description;
@XmlElement(name = "Detail")
protected List detail;
@XmlElement(name = "Advice")
protected List advice;
@XmlElement(name = "Internal")
protected DefaultedTextStructure internal;
@XmlElement(name = "Images")
protected RoadSituationElementStructure.Images images;
@XmlElement(name = "InfoLinks")
protected RoadSituationElementStructure.InfoLinks infoLinks;
@XmlElement(name = "Affects")
protected AffectsScopeStructure affects;
@XmlElement(name = "Consequences")
protected PtConsequencesStructure consequences;
@XmlElement(name = "PublishingActions")
protected ActionsStructure publishingActions;
@XmlElement(name = "SituationRecord")
protected SituationRecord situationRecord;
@XmlElement(name = "Extensions")
protected ExtensionsStructure extensions;
/**
* Gets the value of the verification property.
*
* @return
* possible object is
* {@link VerificationStatusEnumeration }
*
*/
public VerificationStatusEnumeration getVerification() {
return verification;
}
/**
* Sets the value of the verification property.
*
* @param value
* allowed object is
* {@link VerificationStatusEnumeration }
*
*/
public void setVerification(VerificationStatusEnumeration value) {
this.verification = value;
}
/**
* Gets the value of the progress property.
*
* @return
* possible object is
* {@link WorkflowStatusEnumeration }
*
*/
public WorkflowStatusEnumeration getProgress() {
return progress;
}
/**
* Sets the value of the progress property.
*
* @param value
* allowed object is
* {@link WorkflowStatusEnumeration }
*
*/
public void setProgress(WorkflowStatusEnumeration value) {
this.progress = value;
}
/**
* Gets the value of the qualityIndex property.
*
* @return
* possible object is
* {@link QualityIndexEnumeration }
*
*/
public QualityIndexEnumeration getQualityIndex() {
return qualityIndex;
}
/**
* Sets the value of the qualityIndex property.
*
* @param value
* allowed object is
* {@link QualityIndexEnumeration }
*
*/
public void setQualityIndex(QualityIndexEnumeration value) {
this.qualityIndex = value;
}
/**
* Gets the value of the reality property.
*
* @return
* possible object is
* {@link InformationStatusEnum }
*
*/
public InformationStatusEnum getReality() {
return reality;
}
/**
* Sets the value of the reality property.
*
* @param value
* allowed object is
* {@link InformationStatusEnum }
*
*/
public void setReality(InformationStatusEnum value) {
this.reality = value;
}
/**
* Gets the value of the likelihood property.
*
* @return
* possible object is
* {@link ProbabilityOfOccurrenceEnum }
*
*/
public ProbabilityOfOccurrenceEnum getLikelihood() {
return likelihood;
}
/**
* Sets the value of the likelihood property.
*
* @param value
* allowed object is
* {@link ProbabilityOfOccurrenceEnum }
*
*/
public void setLikelihood(ProbabilityOfOccurrenceEnum value) {
this.likelihood = value;
}
/**
* Gets the value of the publication 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 set
method for the publication property.
*
*
* For example, to add a new item, do as follows:
*
*
* getPublication().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*
* @return
* The value of the publication property.
*/
public List getPublication() {
if (publication == null) {
publication = new ArrayList<>();
}
return this.publication;
}
/**
* Gets the value of the validityPeriod 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 set
method for the validityPeriod property.
*
*
* For example, to add a new item, do as follows:
*
*
* getValidityPeriod().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link HalfOpenTimestampOutputRangeStructure }
*
*
*
* @return
* The value of the validityPeriod property.
*/
public List getValidityPeriod() {
if (validityPeriod == null) {
validityPeriod = new ArrayList<>();
}
return this.validityPeriod;
}
/**
* Gets the value of the repetitions property.
*
* @return
* possible object is
* {@link RoadSituationElementStructure.Repetitions }
*
*/
public RoadSituationElementStructure.Repetitions getRepetitions() {
return repetitions;
}
/**
* Sets the value of the repetitions property.
*
* @param value
* allowed object is
* {@link RoadSituationElementStructure.Repetitions }
*
*/
public void setRepetitions(RoadSituationElementStructure.Repetitions value) {
this.repetitions = value;
}
/**
* Gets the value of the publicationWindow 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 set
method for the publicationWindow property.
*
*
* For example, to add a new item, do as follows:
*
*
* getPublicationWindow().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link HalfOpenTimestampOutputRangeStructure }
*
*
*
* @return
* The value of the publicationWindow property.
*/
public List getPublicationWindow() {
if (publicationWindow == null) {
publicationWindow = new ArrayList<>();
}
return this.publicationWindow;
}
/**
* Gets the value of the alertCause property.
*
* @return
* possible object is
* {@link AlertCauseEnumeration }
*
*/
public AlertCauseEnumeration getAlertCause() {
return alertCause;
}
/**
* Sets the value of the alertCause property.
*
* @param value
* allowed object is
* {@link AlertCauseEnumeration }
*
*/
public void setAlertCause(AlertCauseEnumeration value) {
this.alertCause = value;
}
/**
* Gets the value of the unknownReason property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getUnknownReason() {
return unknownReason;
}
/**
* Sets the value of the unknownReason property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setUnknownReason(String value) {
this.unknownReason = value;
}
/**
* Gets the value of the miscellaneousReason property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getMiscellaneousReason() {
return miscellaneousReason;
}
/**
* Sets the value of the miscellaneousReason property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setMiscellaneousReason(String value) {
this.miscellaneousReason = value;
}
/**
* Gets the value of the personnelReason property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPersonnelReason() {
return personnelReason;
}
/**
* Sets the value of the personnelReason property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setPersonnelReason(String value) {
this.personnelReason = value;
}
/**
* Gets the value of the equipmentReason property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getEquipmentReason() {
return equipmentReason;
}
/**
* Sets the value of the equipmentReason property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setEquipmentReason(String value) {
this.equipmentReason = value;
}
/**
* Gets the value of the environmentReason property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getEnvironmentReason() {
return environmentReason;
}
/**
* Sets the value of the environmentReason property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setEnvironmentReason(String value) {
this.environmentReason = value;
}
/**
* Gets the value of the undefinedReason property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getUndefinedReason() {
return undefinedReason;
}
/**
* Sets the value of the undefinedReason property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setUndefinedReason(String value) {
this.undefinedReason = value;
}
/**
* Gets the value of the miscellaneousSubReason property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getMiscellaneousSubReason() {
return miscellaneousSubReason;
}
/**
* Sets the value of the miscellaneousSubReason property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setMiscellaneousSubReason(String value) {
this.miscellaneousSubReason = value;
}
/**
* Gets the value of the personnelSubReason property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPersonnelSubReason() {
return personnelSubReason;
}
/**
* Sets the value of the personnelSubReason property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setPersonnelSubReason(String value) {
this.personnelSubReason = value;
}
/**
* Gets the value of the equipmentSubReason property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getEquipmentSubReason() {
return equipmentSubReason;
}
/**
* Sets the value of the equipmentSubReason property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setEquipmentSubReason(String value) {
this.equipmentSubReason = value;
}
/**
* Gets the value of the environmentSubReason property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getEnvironmentSubReason() {
return environmentSubReason;
}
/**
* Sets the value of the environmentSubReason property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setEnvironmentSubReason(String value) {
this.environmentSubReason = value;
}
/**
* Gets the value of the publicEventReason property.
*
* @return
* possible object is
* {@link PublicEventTypeEnum }
*
*/
public PublicEventTypeEnum getPublicEventReason() {
return publicEventReason;
}
/**
* Sets the value of the publicEventReason property.
*
* @param value
* allowed object is
* {@link PublicEventTypeEnum }
*
*/
public void setPublicEventReason(PublicEventTypeEnum value) {
this.publicEventReason = value;
}
/**
* Gets the value of the reasonName 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 set
method for the reasonName property.
*
*
* For example, to add a new item, do as follows:
*
*
* getReasonName().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link NaturalLanguageStringStructure }
*
*
*
* @return
* The value of the reasonName property.
*/
public List getReasonName() {
if (reasonName == null) {
reasonName = new ArrayList<>();
}
return this.reasonName;
}
/**
* Gets the value of the severity property.
*
* @return
* possible object is
* {@link SeverityEnumeration }
*
*/
public SeverityEnumeration getSeverity() {
return severity;
}
/**
* Sets the value of the severity property.
*
* @param value
* allowed object is
* {@link SeverityEnumeration }
*
*/
public void setSeverity(SeverityEnumeration value) {
this.severity = value;
}
/**
* Gets the value of the priority property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getPriority() {
return priority;
}
/**
* Sets the value of the priority property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setPriority(BigInteger value) {
this.priority = value;
}
/**
* Gets the value of the sensitivity property.
*
* @return
* possible object is
* {@link SensitivityEnumeration }
*
*/
public SensitivityEnumeration getSensitivity() {
return sensitivity;
}
/**
* Sets the value of the sensitivity property.
*
* @param value
* allowed object is
* {@link SensitivityEnumeration }
*
*/
public void setSensitivity(SensitivityEnumeration value) {
this.sensitivity = value;
}
/**
* Gets the value of the audience property.
*
* @return
* possible object is
* {@link AudienceEnumeration }
*
*/
public AudienceEnumeration getAudience() {
return audience;
}
/**
* Sets the value of the audience property.
*
* @param value
* allowed object is
* {@link AudienceEnumeration }
*
*/
public void setAudience(AudienceEnumeration value) {
this.audience = value;
}
/**
* Gets the value of the scopeType property.
*
* @return
* possible object is
* {@link ScopeTypeEnumeration }
*
*/
public ScopeTypeEnumeration getScopeType() {
return scopeType;
}
/**
* Sets the value of the scopeType property.
*
* @param value
* allowed object is
* {@link ScopeTypeEnumeration }
*
*/
public void setScopeType(ScopeTypeEnumeration value) {
this.scopeType = value;
}
/**
* Gets the value of the reportType property.
*
* @return
* possible object is
* {@link ReportTypeEnumeration }
*
*/
public ReportTypeEnumeration getReportType() {
return reportType;
}
/**
* Sets the value of the reportType property.
*
* @param value
* allowed object is
* {@link ReportTypeEnumeration }
*
*/
public void setReportType(ReportTypeEnumeration value) {
this.reportType = value;
}
/**
* Gets the value of the planned property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isPlanned() {
return planned;
}
/**
* Sets the value of the planned property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setPlanned(Boolean value) {
this.planned = value;
}
/**
* Gets the value of the keywords 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 set
method for the keywords property.
*
*
* For example, to add a new item, do as follows:
*
*
* getKeywords().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*
* @return
* The value of the keywords property.
*/
public List getKeywords() {
if (keywords == null) {
keywords = new ArrayList<>();
}
return this.keywords;
}
/**
* Gets the value of the secondaryReasons property.
*
* @return
* possible object is
* {@link RoadSituationElementStructure.SecondaryReasons }
*
*/
public RoadSituationElementStructure.SecondaryReasons getSecondaryReasons() {
return secondaryReasons;
}
/**
* Sets the value of the secondaryReasons property.
*
* @param value
* allowed object is
* {@link RoadSituationElementStructure.SecondaryReasons }
*
*/
public void setSecondaryReasons(RoadSituationElementStructure.SecondaryReasons value) {
this.secondaryReasons = value;
}
/**
* Gets the value of the language property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getLanguage() {
return language;
}
/**
* Sets the value of the language property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLanguage(String value) {
this.language = value;
}
/**
* Gets the value of the summary 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 set
method for the summary property.
*
*
* For example, to add a new item, do as follows:
*
*
* getSummary().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link DefaultedTextStructure }
*
*
*
* @return
* The value of the summary property.
*/
public List getSummary() {
if (summary == null) {
summary = new ArrayList<>();
}
return this.summary;
}
/**
* Gets the value of the description 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 set
method for the description property.
*
*
* For example, to add a new item, do as follows:
*
*
* getDescription().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link DefaultedTextStructure }
*
*
*
* @return
* The value of the description property.
*/
public List getDescription() {
if (description == null) {
description = new ArrayList<>();
}
return this.description;
}
/**
* Gets the value of the detail 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 set
method for the detail property.
*
*
* For example, to add a new item, do as follows:
*
*
* getDetail().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link DefaultedTextStructure }
*
*
*
* @return
* The value of the detail property.
*/
public List getDetail() {
if (detail == null) {
detail = new ArrayList<>();
}
return this.detail;
}
/**
* Gets the value of the advice 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 set
method for the advice property.
*
*
* For example, to add a new item, do as follows:
*
*
* getAdvice().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link DefaultedTextStructure }
*
*
*
* @return
* The value of the advice property.
*/
public List getAdvice() {
if (advice == null) {
advice = new ArrayList<>();
}
return this.advice;
}
/**
* Gets the value of the internal property.
*
* @return
* possible object is
* {@link DefaultedTextStructure }
*
*/
public DefaultedTextStructure getInternal() {
return internal;
}
/**
* Sets the value of the internal property.
*
* @param value
* allowed object is
* {@link DefaultedTextStructure }
*
*/
public void setInternal(DefaultedTextStructure value) {
this.internal = value;
}
/**
* Gets the value of the images property.
*
* @return
* possible object is
* {@link RoadSituationElementStructure.Images }
*
*/
public RoadSituationElementStructure.Images getImages() {
return images;
}
/**
* Sets the value of the images property.
*
* @param value
* allowed object is
* {@link RoadSituationElementStructure.Images }
*
*/
public void setImages(RoadSituationElementStructure.Images value) {
this.images = value;
}
/**
* Gets the value of the infoLinks property.
*
* @return
* possible object is
* {@link RoadSituationElementStructure.InfoLinks }
*
*/
public RoadSituationElementStructure.InfoLinks getInfoLinks() {
return infoLinks;
}
/**
* Sets the value of the infoLinks property.
*
* @param value
* allowed object is
* {@link RoadSituationElementStructure.InfoLinks }
*
*/
public void setInfoLinks(RoadSituationElementStructure.InfoLinks value) {
this.infoLinks = value;
}
/**
* Gets the value of the affects property.
*
* @return
* possible object is
* {@link AffectsScopeStructure }
*
*/
public AffectsScopeStructure getAffects() {
return affects;
}
/**
* Sets the value of the affects property.
*
* @param value
* allowed object is
* {@link AffectsScopeStructure }
*
*/
public void setAffects(AffectsScopeStructure value) {
this.affects = value;
}
/**
* Gets the value of the consequences property.
*
* @return
* possible object is
* {@link PtConsequencesStructure }
*
*/
public PtConsequencesStructure getConsequences() {
return consequences;
}
/**
* Sets the value of the consequences property.
*
* @param value
* allowed object is
* {@link PtConsequencesStructure }
*
*/
public void setConsequences(PtConsequencesStructure value) {
this.consequences = value;
}
/**
* Gets the value of the publishingActions property.
*
* @return
* possible object is
* {@link ActionsStructure }
*
*/
public ActionsStructure getPublishingActions() {
return publishingActions;
}
/**
* Sets the value of the publishingActions property.
*
* @param value
* allowed object is
* {@link ActionsStructure }
*
*/
public void setPublishingActions(ActionsStructure value) {
this.publishingActions = value;
}
/**
* Gets the value of the situationRecord property.
*
* @return
* possible object is
* {@link SituationRecord }
*
*/
public SituationRecord getSituationRecord() {
return situationRecord;
}
/**
* Sets the value of the situationRecord property.
*
* @param value
* allowed object is
* {@link SituationRecord }
*
*/
public void setSituationRecord(SituationRecord value) {
this.situationRecord = value;
}
/**
* Gets the value of the extensions property.
*
* @return
* possible object is
* {@link ExtensionsStructure }
*
*/
public ExtensionsStructure getExtensions() {
return extensions;
}
/**
* Sets the value of the extensions property.
*
* @param value
* allowed object is
* {@link ExtensionsStructure }
*
*/
public void setExtensions(ExtensionsStructure value) {
this.extensions = value;
}
public RoadSituationElementStructure withVerification(VerificationStatusEnumeration value) {
setVerification(value);
return this;
}
public RoadSituationElementStructure withProgress(WorkflowStatusEnumeration value) {
setProgress(value);
return this;
}
public RoadSituationElementStructure withQualityIndex(QualityIndexEnumeration value) {
setQualityIndex(value);
return this;
}
public RoadSituationElementStructure withReality(InformationStatusEnum value) {
setReality(value);
return this;
}
public RoadSituationElementStructure withLikelihood(ProbabilityOfOccurrenceEnum value) {
setLikelihood(value);
return this;
}
public RoadSituationElementStructure withPublication(String... values) {
if (values!= null) {
for (String value: values) {
getPublication().add(value);
}
}
return this;
}
public RoadSituationElementStructure withPublication(Collection values) {
if (values!= null) {
getPublication().addAll(values);
}
return this;
}
public RoadSituationElementStructure withValidityPeriod(HalfOpenTimestampOutputRangeStructure... values) {
if (values!= null) {
for (HalfOpenTimestampOutputRangeStructure value: values) {
getValidityPeriod().add(value);
}
}
return this;
}
public RoadSituationElementStructure withValidityPeriod(Collection values) {
if (values!= null) {
getValidityPeriod().addAll(values);
}
return this;
}
public RoadSituationElementStructure withRepetitions(RoadSituationElementStructure.Repetitions value) {
setRepetitions(value);
return this;
}
public RoadSituationElementStructure withPublicationWindow(HalfOpenTimestampOutputRangeStructure... values) {
if (values!= null) {
for (HalfOpenTimestampOutputRangeStructure value: values) {
getPublicationWindow().add(value);
}
}
return this;
}
public RoadSituationElementStructure withPublicationWindow(Collection values) {
if (values!= null) {
getPublicationWindow().addAll(values);
}
return this;
}
public RoadSituationElementStructure withAlertCause(AlertCauseEnumeration value) {
setAlertCause(value);
return this;
}
public RoadSituationElementStructure withUnknownReason(String value) {
setUnknownReason(value);
return this;
}
public RoadSituationElementStructure withMiscellaneousReason(String value) {
setMiscellaneousReason(value);
return this;
}
public RoadSituationElementStructure withPersonnelReason(String value) {
setPersonnelReason(value);
return this;
}
public RoadSituationElementStructure withEquipmentReason(String value) {
setEquipmentReason(value);
return this;
}
public RoadSituationElementStructure withEnvironmentReason(String value) {
setEnvironmentReason(value);
return this;
}
public RoadSituationElementStructure withUndefinedReason(String value) {
setUndefinedReason(value);
return this;
}
public RoadSituationElementStructure withMiscellaneousSubReason(String value) {
setMiscellaneousSubReason(value);
return this;
}
public RoadSituationElementStructure withPersonnelSubReason(String value) {
setPersonnelSubReason(value);
return this;
}
public RoadSituationElementStructure withEquipmentSubReason(String value) {
setEquipmentSubReason(value);
return this;
}
public RoadSituationElementStructure withEnvironmentSubReason(String value) {
setEnvironmentSubReason(value);
return this;
}
public RoadSituationElementStructure withPublicEventReason(PublicEventTypeEnum value) {
setPublicEventReason(value);
return this;
}
public RoadSituationElementStructure withReasonName(NaturalLanguageStringStructure... values) {
if (values!= null) {
for (NaturalLanguageStringStructure value: values) {
getReasonName().add(value);
}
}
return this;
}
public RoadSituationElementStructure withReasonName(Collection values) {
if (values!= null) {
getReasonName().addAll(values);
}
return this;
}
public RoadSituationElementStructure withSeverity(SeverityEnumeration value) {
setSeverity(value);
return this;
}
public RoadSituationElementStructure withPriority(BigInteger value) {
setPriority(value);
return this;
}
public RoadSituationElementStructure withSensitivity(SensitivityEnumeration value) {
setSensitivity(value);
return this;
}
public RoadSituationElementStructure withAudience(AudienceEnumeration value) {
setAudience(value);
return this;
}
public RoadSituationElementStructure withScopeType(ScopeTypeEnumeration value) {
setScopeType(value);
return this;
}
public RoadSituationElementStructure withReportType(ReportTypeEnumeration value) {
setReportType(value);
return this;
}
public RoadSituationElementStructure withPlanned(Boolean value) {
setPlanned(value);
return this;
}
public RoadSituationElementStructure withKeywords(String... values) {
if (values!= null) {
for (String value: values) {
getKeywords().add(value);
}
}
return this;
}
public RoadSituationElementStructure withKeywords(Collection values) {
if (values!= null) {
getKeywords().addAll(values);
}
return this;
}
public RoadSituationElementStructure withSecondaryReasons(RoadSituationElementStructure.SecondaryReasons value) {
setSecondaryReasons(value);
return this;
}
public RoadSituationElementStructure withLanguage(String value) {
setLanguage(value);
return this;
}
public RoadSituationElementStructure withSummary(DefaultedTextStructure... values) {
if (values!= null) {
for (DefaultedTextStructure value: values) {
getSummary().add(value);
}
}
return this;
}
public RoadSituationElementStructure withSummary(Collection values) {
if (values!= null) {
getSummary().addAll(values);
}
return this;
}
public RoadSituationElementStructure withDescription(DefaultedTextStructure... values) {
if (values!= null) {
for (DefaultedTextStructure value: values) {
getDescription().add(value);
}
}
return this;
}
public RoadSituationElementStructure withDescription(Collection values) {
if (values!= null) {
getDescription().addAll(values);
}
return this;
}
public RoadSituationElementStructure withDetail(DefaultedTextStructure... values) {
if (values!= null) {
for (DefaultedTextStructure value: values) {
getDetail().add(value);
}
}
return this;
}
public RoadSituationElementStructure withDetail(Collection values) {
if (values!= null) {
getDetail().addAll(values);
}
return this;
}
public RoadSituationElementStructure withAdvice(DefaultedTextStructure... values) {
if (values!= null) {
for (DefaultedTextStructure value: values) {
getAdvice().add(value);
}
}
return this;
}
public RoadSituationElementStructure withAdvice(Collection values) {
if (values!= null) {
getAdvice().addAll(values);
}
return this;
}
public RoadSituationElementStructure withInternal(DefaultedTextStructure value) {
setInternal(value);
return this;
}
public RoadSituationElementStructure withImages(RoadSituationElementStructure.Images value) {
setImages(value);
return this;
}
public RoadSituationElementStructure withInfoLinks(RoadSituationElementStructure.InfoLinks value) {
setInfoLinks(value);
return this;
}
public RoadSituationElementStructure withAffects(AffectsScopeStructure value) {
setAffects(value);
return this;
}
public RoadSituationElementStructure withConsequences(PtConsequencesStructure value) {
setConsequences(value);
return this;
}
public RoadSituationElementStructure withPublishingActions(ActionsStructure value) {
setPublishingActions(value);
return this;
}
public RoadSituationElementStructure withSituationRecord(SituationRecord value) {
setSituationRecord(value);
return this;
}
public RoadSituationElementStructure withExtensions(ExtensionsStructure value) {
setExtensions(value);
return this;
}
@Override
public RoadSituationElementStructure withReferences(ReferencesStructure value) {
setReferences(value);
return this;
}
@Override
public RoadSituationElementStructure withSource(SituationSourceStructure value) {
setSource(value);
return this;
}
@Override
public RoadSituationElementStructure withVersionedAtTime(XmlDateTime value) {
setVersionedAtTime(value);
return this;
}
@Override
public RoadSituationElementStructure withCreationTime(XmlDateTime value) {
setCreationTime(value);
return this;
}
@Override
public RoadSituationElementStructure withCountryRef(CountryRefStructure value) {
setCountryRef(value);
return this;
}
@Override
public RoadSituationElementStructure withParticipantRef(ParticipantRefStructure value) {
setParticipantRef(value);
return this;
}
@Override
public RoadSituationElementStructure withSituationNumber(EntryQualifierStructure value) {
setSituationNumber(value);
return this;
}
@Override
public RoadSituationElementStructure withUpdateCountryRef(CountryRefStructure value) {
setUpdateCountryRef(value);
return this;
}
@Override
public RoadSituationElementStructure withUpdateParticipantRef(ParticipantRefStructure value) {
setUpdateParticipantRef(value);
return this;
}
@Override
public RoadSituationElementStructure withVersion(SituationVersion value) {
setVersion(value);
return this;
}
/**
* Generates a String representation of the contents of this type.
* This is an extension method, produced by the 'ts' xjc plugin
*
*/
@Override
public String toString() {
return ToStringBuilder.reflectionToString(this, OmitNullsToStringStyle.INSTANCE);
}
/**
* Java class for anonymous complex type
.
*
* The following schema fragment specifies the expected content contained within this class.
*
* {@code
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
* }
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"image"
})
public static class Images {
@XmlElement(name = "Image", required = true)
protected List image;
/**
* Gets the value of the image 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 set
method for the image property.
*
*
* For example, to add a new item, do as follows:
*
*
* getImage().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link RoadSituationElementStructure.Images.Image }
*
*
*
* @return
* The value of the image property.
*/
public List getImage() {
if (image == null) {
image = new ArrayList<>();
}
return this.image;
}
public RoadSituationElementStructure.Images withImage(RoadSituationElementStructure.Images.Image... values) {
if (values!= null) {
for (RoadSituationElementStructure.Images.Image value: values) {
getImage().add(value);
}
}
return this;
}
public RoadSituationElementStructure.Images withImage(Collection values) {
if (values!= null) {
getImage().addAll(values);
}
return this;
}
/**
* Generates a String representation of the contents of this type.
* This is an extension method, produced by the 'ts' xjc plugin
*
*/
@Override
public String toString() {
return ToStringBuilder.reflectionToString(this, OmitNullsToStringStyle.INSTANCE);
}
/**
* Java class for anonymous complex type
.
*
* The following schema fragment specifies the expected content contained within this class.
*
* {@code
*
*
*
*
*
*
* }
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
public static class Image
extends ImageStructure
{
@Override
public RoadSituationElementStructure.Images.Image withImageRef(String value) {
setImageRef(value);
return this;
}
@Override
public RoadSituationElementStructure.Images.Image withImageBinary(byte[] value) {
setImageBinary(value);
return this;
}
@Override
public RoadSituationElementStructure.Images.Image withImageContent(ImageContentEnumeration value) {
setImageContent(value);
return this;
}
/**
* Generates a String representation of the contents of this type.
* This is an extension method, produced by the 'ts' xjc plugin
*
*/
@Override
public String toString() {
return ToStringBuilder.reflectionToString(this, OmitNullsToStringStyle.INSTANCE);
}
}
}
/**
* Java class for anonymous complex type
.
*
* The following schema fragment specifies the expected content contained within this class.
*
* {@code
*
*
*
*
*
*
*
*
*
* }
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"infoLink"
})
public static class InfoLinks {
@XmlElement(name = "InfoLink", required = true)
protected List infoLink;
/**
* Gets the value of the infoLink 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 set
method for the infoLink property.
*
*
* For example, to add a new item, do as follows:
*
*
* getInfoLink().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link InfoLinkStructure }
*
*
*
* @return
* The value of the infoLink property.
*/
public List getInfoLink() {
if (infoLink == null) {
infoLink = new ArrayList<>();
}
return this.infoLink;
}
public RoadSituationElementStructure.InfoLinks withInfoLink(InfoLinkStructure... values) {
if (values!= null) {
for (InfoLinkStructure value: values) {
getInfoLink().add(value);
}
}
return this;
}
public RoadSituationElementStructure.InfoLinks withInfoLink(Collection values) {
if (values!= null) {
getInfoLink().addAll(values);
}
return this;
}
/**
* Generates a String representation of the contents of this type.
* This is an extension method, produced by the 'ts' xjc plugin
*
*/
@Override
public String toString() {
return ToStringBuilder.reflectionToString(this, OmitNullsToStringStyle.INSTANCE);
}
}
/**
* Java class for anonymous complex type
.
*
* The following schema fragment specifies the expected content contained within this class.
*
* {@code
*
*
*
*
*
*
*
*
*
* }
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"dayType"
})
public static class Repetitions {
@XmlElement(name = "DayType", required = true, defaultValue = "everyDay")
@XmlSchemaType(name = "NMTOKEN")
protected List dayType;
/**
* Gets the value of the dayType 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 set
method for the dayType property.
*
*
* For example, to add a new item, do as follows:
*
*
* getDayType().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link DayTypeEnumeration }
*
*
*
* @return
* The value of the dayType property.
*/
public List getDayType() {
if (dayType == null) {
dayType = new ArrayList<>();
}
return this.dayType;
}
public RoadSituationElementStructure.Repetitions withDayType(DayTypeEnumeration... values) {
if (values!= null) {
for (DayTypeEnumeration value: values) {
getDayType().add(value);
}
}
return this;
}
public RoadSituationElementStructure.Repetitions withDayType(Collection values) {
if (values!= null) {
getDayType().addAll(values);
}
return this;
}
/**
* Generates a String representation of the contents of this type.
* This is an extension method, produced by the 'ts' xjc plugin
*
*/
@Override
public String toString() {
return ToStringBuilder.reflectionToString(this, OmitNullsToStringStyle.INSTANCE);
}
}
/**
* Java class for anonymous complex type
.
*
* The following schema fragment specifies the expected content contained within this class.
*
* {@code
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
* }
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"reason"
})
public static class SecondaryReasons {
@XmlElement(name = "Reason", required = true)
protected List reason;
/**
* Gets the value of the reason 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 set
method for the reason property.
*
*
* For example, to add a new item, do as follows:
*
*
* getReason().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link RoadSituationElementStructure.SecondaryReasons.Reason }
*
*
*
* @return
* The value of the reason property.
*/
public List getReason() {
if (reason == null) {
reason = new ArrayList<>();
}
return this.reason;
}
public RoadSituationElementStructure.SecondaryReasons withReason(RoadSituationElementStructure.SecondaryReasons.Reason... values) {
if (values!= null) {
for (RoadSituationElementStructure.SecondaryReasons.Reason value: values) {
getReason().add(value);
}
}
return this;
}
public RoadSituationElementStructure.SecondaryReasons withReason(Collection values) {
if (values!= null) {
getReason().addAll(values);
}
return this;
}
/**
* Generates a String representation of the contents of this type.
* This is an extension method, produced by the 'ts' xjc plugin
*
*/
@Override
public String toString() {
return ToStringBuilder.reflectionToString(this, OmitNullsToStringStyle.INSTANCE);
}
/**
* Java class for anonymous complex type
.
*
* The following schema fragment specifies the expected content contained within this class.
*
* {@code
*
*
*
*
*
*
*
*
*
* }
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"alertCause",
"unknownReason",
"miscellaneousReason",
"personnelReason",
"equipmentReason",
"environmentReason",
"undefinedReason",
"miscellaneousSubReason",
"personnelSubReason",
"equipmentSubReason",
"environmentSubReason",
"publicEventReason",
"reasonName"
})
public static class Reason {
@XmlElement(name = "AlertCause")
@XmlSchemaType(name = "NMTOKEN")
protected AlertCauseEnumeration alertCause;
@XmlElement(name = "UnknownReason")
protected String unknownReason;
@XmlElement(name = "MiscellaneousReason")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "NMTOKEN")
protected String miscellaneousReason;
@XmlElement(name = "PersonnelReason")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "NMTOKEN")
protected String personnelReason;
@XmlElement(name = "EquipmentReason")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "NMTOKEN")
protected String equipmentReason;
@XmlElement(name = "EnvironmentReason")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "NMTOKEN")
protected String environmentReason;
@XmlElement(name = "UndefinedReason")
protected String undefinedReason;
@XmlElement(name = "MiscellaneousSubReason")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "NMTOKEN")
protected String miscellaneousSubReason;
@XmlElement(name = "PersonnelSubReason")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "NMTOKEN")
protected String personnelSubReason;
@XmlElement(name = "EquipmentSubReason")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "NMTOKEN")
protected String equipmentSubReason;
@XmlElement(name = "EnvironmentSubReason")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "NMTOKEN")
protected String environmentSubReason;
@XmlElement(name = "PublicEventReason")
@XmlSchemaType(name = "string")
protected PublicEventTypeEnum publicEventReason;
@XmlElement(name = "ReasonName")
protected List reasonName;
/**
* Gets the value of the alertCause property.
*
* @return
* possible object is
* {@link AlertCauseEnumeration }
*
*/
public AlertCauseEnumeration getAlertCause() {
return alertCause;
}
/**
* Sets the value of the alertCause property.
*
* @param value
* allowed object is
* {@link AlertCauseEnumeration }
*
*/
public void setAlertCause(AlertCauseEnumeration value) {
this.alertCause = value;
}
/**
* Gets the value of the unknownReason property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getUnknownReason() {
return unknownReason;
}
/**
* Sets the value of the unknownReason property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setUnknownReason(String value) {
this.unknownReason = value;
}
/**
* Gets the value of the miscellaneousReason property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getMiscellaneousReason() {
return miscellaneousReason;
}
/**
* Sets the value of the miscellaneousReason property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setMiscellaneousReason(String value) {
this.miscellaneousReason = value;
}
/**
* Gets the value of the personnelReason property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPersonnelReason() {
return personnelReason;
}
/**
* Sets the value of the personnelReason property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setPersonnelReason(String value) {
this.personnelReason = value;
}
/**
* Gets the value of the equipmentReason property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getEquipmentReason() {
return equipmentReason;
}
/**
* Sets the value of the equipmentReason property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setEquipmentReason(String value) {
this.equipmentReason = value;
}
/**
* Gets the value of the environmentReason property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getEnvironmentReason() {
return environmentReason;
}
/**
* Sets the value of the environmentReason property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setEnvironmentReason(String value) {
this.environmentReason = value;
}
/**
* Gets the value of the undefinedReason property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getUndefinedReason() {
return undefinedReason;
}
/**
* Sets the value of the undefinedReason property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setUndefinedReason(String value) {
this.undefinedReason = value;
}
/**
* Gets the value of the miscellaneousSubReason property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getMiscellaneousSubReason() {
return miscellaneousSubReason;
}
/**
* Sets the value of the miscellaneousSubReason property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setMiscellaneousSubReason(String value) {
this.miscellaneousSubReason = value;
}
/**
* Gets the value of the personnelSubReason property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPersonnelSubReason() {
return personnelSubReason;
}
/**
* Sets the value of the personnelSubReason property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setPersonnelSubReason(String value) {
this.personnelSubReason = value;
}
/**
* Gets the value of the equipmentSubReason property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getEquipmentSubReason() {
return equipmentSubReason;
}
/**
* Sets the value of the equipmentSubReason property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setEquipmentSubReason(String value) {
this.equipmentSubReason = value;
}
/**
* Gets the value of the environmentSubReason property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getEnvironmentSubReason() {
return environmentSubReason;
}
/**
* Sets the value of the environmentSubReason property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setEnvironmentSubReason(String value) {
this.environmentSubReason = value;
}
/**
* Gets the value of the publicEventReason property.
*
* @return
* possible object is
* {@link PublicEventTypeEnum }
*
*/
public PublicEventTypeEnum getPublicEventReason() {
return publicEventReason;
}
/**
* Sets the value of the publicEventReason property.
*
* @param value
* allowed object is
* {@link PublicEventTypeEnum }
*
*/
public void setPublicEventReason(PublicEventTypeEnum value) {
this.publicEventReason = value;
}
/**
* Gets the value of the reasonName 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 set
method for the reasonName property.
*
*
* For example, to add a new item, do as follows:
*
*
* getReasonName().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link NaturalLanguageStringStructure }
*
*
*
* @return
* The value of the reasonName property.
*/
public List getReasonName() {
if (reasonName == null) {
reasonName = new ArrayList<>();
}
return this.reasonName;
}
public RoadSituationElementStructure.SecondaryReasons.Reason withAlertCause(AlertCauseEnumeration value) {
setAlertCause(value);
return this;
}
public RoadSituationElementStructure.SecondaryReasons.Reason withUnknownReason(String value) {
setUnknownReason(value);
return this;
}
public RoadSituationElementStructure.SecondaryReasons.Reason withMiscellaneousReason(String value) {
setMiscellaneousReason(value);
return this;
}
public RoadSituationElementStructure.SecondaryReasons.Reason withPersonnelReason(String value) {
setPersonnelReason(value);
return this;
}
public RoadSituationElementStructure.SecondaryReasons.Reason withEquipmentReason(String value) {
setEquipmentReason(value);
return this;
}
public RoadSituationElementStructure.SecondaryReasons.Reason withEnvironmentReason(String value) {
setEnvironmentReason(value);
return this;
}
public RoadSituationElementStructure.SecondaryReasons.Reason withUndefinedReason(String value) {
setUndefinedReason(value);
return this;
}
public RoadSituationElementStructure.SecondaryReasons.Reason withMiscellaneousSubReason(String value) {
setMiscellaneousSubReason(value);
return this;
}
public RoadSituationElementStructure.SecondaryReasons.Reason withPersonnelSubReason(String value) {
setPersonnelSubReason(value);
return this;
}
public RoadSituationElementStructure.SecondaryReasons.Reason withEquipmentSubReason(String value) {
setEquipmentSubReason(value);
return this;
}
public RoadSituationElementStructure.SecondaryReasons.Reason withEnvironmentSubReason(String value) {
setEnvironmentSubReason(value);
return this;
}
public RoadSituationElementStructure.SecondaryReasons.Reason withPublicEventReason(PublicEventTypeEnum value) {
setPublicEventReason(value);
return this;
}
public RoadSituationElementStructure.SecondaryReasons.Reason withReasonName(NaturalLanguageStringStructure... values) {
if (values!= null) {
for (NaturalLanguageStringStructure value: values) {
getReasonName().add(value);
}
}
return this;
}
public RoadSituationElementStructure.SecondaryReasons.Reason withReasonName(Collection values) {
if (values!= null) {
getReasonName().addAll(values);
}
return this;
}
/**
* Generates a String representation of the contents of this type.
* This is an extension method, produced by the 'ts' xjc plugin
*
*/
@Override
public String toString() {
return ToStringBuilder.reflectionToString(this, OmitNullsToStringStyle.INSTANCE);
}
}
}
}