All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.vdv.ojp20.siri.PtSituationElementStructure Maven / Gradle / Ivy

The newest version!
//
// 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 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 PtSituationElementStructure complex type

. * *

The following schema fragment specifies the expected content contained within this class.

* *
{@code
 * 
 *   
 *     
 *       
 *         
 *         
 *       
 *     
 *   
 * 
 * }
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "PtSituationElementStructure", 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", "extensions" }) public class PtSituationElementStructure 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 de.vdv.ojp20.siri.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 de.vdv.ojp20.siri.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 de.vdv.ojp20.siri.RoadSituationElementStructure.Images images; @XmlElement(name = "InfoLinks") protected de.vdv.ojp20.siri.RoadSituationElementStructure.InfoLinks infoLinks; @XmlElement(name = "Affects") protected AffectsScopeStructure affects; @XmlElement(name = "Consequences") protected PtConsequencesStructure consequences; @XmlElement(name = "PublishingActions") protected ActionsStructure publishingActions; @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 de.vdv.ojp20.siri.RoadSituationElementStructure.Repetitions } * */ public de.vdv.ojp20.siri.RoadSituationElementStructure.Repetitions getRepetitions() { return repetitions; } /** * Sets the value of the repetitions property. * * @param value * allowed object is * {@link de.vdv.ojp20.siri.RoadSituationElementStructure.Repetitions } * */ public void setRepetitions(de.vdv.ojp20.siri.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 de.vdv.ojp20.siri.RoadSituationElementStructure.SecondaryReasons } * */ public de.vdv.ojp20.siri.RoadSituationElementStructure.SecondaryReasons getSecondaryReasons() { return secondaryReasons; } /** * Sets the value of the secondaryReasons property. * * @param value * allowed object is * {@link de.vdv.ojp20.siri.RoadSituationElementStructure.SecondaryReasons } * */ public void setSecondaryReasons(de.vdv.ojp20.siri.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 de.vdv.ojp20.siri.RoadSituationElementStructure.Images } * */ public de.vdv.ojp20.siri.RoadSituationElementStructure.Images getImages() { return images; } /** * Sets the value of the images property. * * @param value * allowed object is * {@link de.vdv.ojp20.siri.RoadSituationElementStructure.Images } * */ public void setImages(de.vdv.ojp20.siri.RoadSituationElementStructure.Images value) { this.images = value; } /** * Gets the value of the infoLinks property. * * @return * possible object is * {@link de.vdv.ojp20.siri.RoadSituationElementStructure.InfoLinks } * */ public de.vdv.ojp20.siri.RoadSituationElementStructure.InfoLinks getInfoLinks() { return infoLinks; } /** * Sets the value of the infoLinks property. * * @param value * allowed object is * {@link de.vdv.ojp20.siri.RoadSituationElementStructure.InfoLinks } * */ public void setInfoLinks(de.vdv.ojp20.siri.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 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 PtSituationElementStructure withVerification(VerificationStatusEnumeration value) { setVerification(value); return this; } public PtSituationElementStructure withProgress(WorkflowStatusEnumeration value) { setProgress(value); return this; } public PtSituationElementStructure withQualityIndex(QualityIndexEnumeration value) { setQualityIndex(value); return this; } public PtSituationElementStructure withReality(InformationStatusEnum value) { setReality(value); return this; } public PtSituationElementStructure withLikelihood(ProbabilityOfOccurrenceEnum value) { setLikelihood(value); return this; } public PtSituationElementStructure withPublication(String... values) { if (values!= null) { for (String value: values) { getPublication().add(value); } } return this; } public PtSituationElementStructure withPublication(Collection values) { if (values!= null) { getPublication().addAll(values); } return this; } public PtSituationElementStructure withValidityPeriod(HalfOpenTimestampOutputRangeStructure... values) { if (values!= null) { for (HalfOpenTimestampOutputRangeStructure value: values) { getValidityPeriod().add(value); } } return this; } public PtSituationElementStructure withValidityPeriod(Collection values) { if (values!= null) { getValidityPeriod().addAll(values); } return this; } public PtSituationElementStructure withRepetitions(de.vdv.ojp20.siri.RoadSituationElementStructure.Repetitions value) { setRepetitions(value); return this; } public PtSituationElementStructure withPublicationWindow(HalfOpenTimestampOutputRangeStructure... values) { if (values!= null) { for (HalfOpenTimestampOutputRangeStructure value: values) { getPublicationWindow().add(value); } } return this; } public PtSituationElementStructure withPublicationWindow(Collection values) { if (values!= null) { getPublicationWindow().addAll(values); } return this; } public PtSituationElementStructure withAlertCause(AlertCauseEnumeration value) { setAlertCause(value); return this; } public PtSituationElementStructure withUnknownReason(String value) { setUnknownReason(value); return this; } public PtSituationElementStructure withMiscellaneousReason(String value) { setMiscellaneousReason(value); return this; } public PtSituationElementStructure withPersonnelReason(String value) { setPersonnelReason(value); return this; } public PtSituationElementStructure withEquipmentReason(String value) { setEquipmentReason(value); return this; } public PtSituationElementStructure withEnvironmentReason(String value) { setEnvironmentReason(value); return this; } public PtSituationElementStructure withUndefinedReason(String value) { setUndefinedReason(value); return this; } public PtSituationElementStructure withMiscellaneousSubReason(String value) { setMiscellaneousSubReason(value); return this; } public PtSituationElementStructure withPersonnelSubReason(String value) { setPersonnelSubReason(value); return this; } public PtSituationElementStructure withEquipmentSubReason(String value) { setEquipmentSubReason(value); return this; } public PtSituationElementStructure withEnvironmentSubReason(String value) { setEnvironmentSubReason(value); return this; } public PtSituationElementStructure withPublicEventReason(PublicEventTypeEnum value) { setPublicEventReason(value); return this; } public PtSituationElementStructure withReasonName(NaturalLanguageStringStructure... values) { if (values!= null) { for (NaturalLanguageStringStructure value: values) { getReasonName().add(value); } } return this; } public PtSituationElementStructure withReasonName(Collection values) { if (values!= null) { getReasonName().addAll(values); } return this; } public PtSituationElementStructure withSeverity(SeverityEnumeration value) { setSeverity(value); return this; } public PtSituationElementStructure withPriority(BigInteger value) { setPriority(value); return this; } public PtSituationElementStructure withSensitivity(SensitivityEnumeration value) { setSensitivity(value); return this; } public PtSituationElementStructure withAudience(AudienceEnumeration value) { setAudience(value); return this; } public PtSituationElementStructure withScopeType(ScopeTypeEnumeration value) { setScopeType(value); return this; } public PtSituationElementStructure withReportType(ReportTypeEnumeration value) { setReportType(value); return this; } public PtSituationElementStructure withPlanned(Boolean value) { setPlanned(value); return this; } public PtSituationElementStructure withKeywords(String... values) { if (values!= null) { for (String value: values) { getKeywords().add(value); } } return this; } public PtSituationElementStructure withKeywords(Collection values) { if (values!= null) { getKeywords().addAll(values); } return this; } public PtSituationElementStructure withSecondaryReasons(de.vdv.ojp20.siri.RoadSituationElementStructure.SecondaryReasons value) { setSecondaryReasons(value); return this; } public PtSituationElementStructure withLanguage(String value) { setLanguage(value); return this; } public PtSituationElementStructure withSummary(DefaultedTextStructure... values) { if (values!= null) { for (DefaultedTextStructure value: values) { getSummary().add(value); } } return this; } public PtSituationElementStructure withSummary(Collection values) { if (values!= null) { getSummary().addAll(values); } return this; } public PtSituationElementStructure withDescription(DefaultedTextStructure... values) { if (values!= null) { for (DefaultedTextStructure value: values) { getDescription().add(value); } } return this; } public PtSituationElementStructure withDescription(Collection values) { if (values!= null) { getDescription().addAll(values); } return this; } public PtSituationElementStructure withDetail(DefaultedTextStructure... values) { if (values!= null) { for (DefaultedTextStructure value: values) { getDetail().add(value); } } return this; } public PtSituationElementStructure withDetail(Collection values) { if (values!= null) { getDetail().addAll(values); } return this; } public PtSituationElementStructure withAdvice(DefaultedTextStructure... values) { if (values!= null) { for (DefaultedTextStructure value: values) { getAdvice().add(value); } } return this; } public PtSituationElementStructure withAdvice(Collection values) { if (values!= null) { getAdvice().addAll(values); } return this; } public PtSituationElementStructure withInternal(DefaultedTextStructure value) { setInternal(value); return this; } public PtSituationElementStructure withImages(de.vdv.ojp20.siri.RoadSituationElementStructure.Images value) { setImages(value); return this; } public PtSituationElementStructure withInfoLinks(de.vdv.ojp20.siri.RoadSituationElementStructure.InfoLinks value) { setInfoLinks(value); return this; } public PtSituationElementStructure withAffects(AffectsScopeStructure value) { setAffects(value); return this; } public PtSituationElementStructure withConsequences(PtConsequencesStructure value) { setConsequences(value); return this; } public PtSituationElementStructure withPublishingActions(ActionsStructure value) { setPublishingActions(value); return this; } public PtSituationElementStructure withExtensions(ExtensionsStructure value) { setExtensions(value); return this; } @Override public PtSituationElementStructure withReferences(ReferencesStructure value) { setReferences(value); return this; } @Override public PtSituationElementStructure withSource(SituationSourceStructure value) { setSource(value); return this; } @Override public PtSituationElementStructure withVersionedAtTime(XmlDateTime value) { setVersionedAtTime(value); return this; } @Override public PtSituationElementStructure withCreationTime(XmlDateTime value) { setCreationTime(value); return this; } @Override public PtSituationElementStructure withCountryRef(CountryRefStructure value) { setCountryRef(value); return this; } @Override public PtSituationElementStructure withParticipantRef(ParticipantRefStructure value) { setParticipantRef(value); return this; } @Override public PtSituationElementStructure withSituationNumber(EntryQualifierStructure value) { setSituationNumber(value); return this; } @Override public PtSituationElementStructure withUpdateCountryRef(CountryRefStructure value) { setUpdateCountryRef(value); return this; } @Override public PtSituationElementStructure withUpdateParticipantRef(ParticipantRefStructure value) { setUpdateParticipantRef(value); return this; } @Override public PtSituationElementStructure 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); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy