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

de.vdv.ojp20.siri.PtConsequenceStructure 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.util.ArrayList;
import java.util.Collection;
import java.util.List;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlSchemaType;
import jakarta.xml.bind.annotation.XmlType;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.opentripplanner.ojp.netex.OmitNullsToStringStyle;
import uk.org.ifopt.acsb.SuitabilityStructure;


/**
 * 

Java class for PtConsequenceStructure complex type

. * *

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

* *
{@code
 * 
 *   
 *     
 *       
 *         
 *         
 *         
 *         
 *         
 *           
 *             
 *               
 *                 
 *                   
 *                 
 *               
 *             
 *           
 *         
 *         
 *         
 *         
 *         
 *         
 *         
 *         
 *       
 *     
 *   
 * 
 * }
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "PtConsequenceStructure", propOrder = { "period", "condition", "conditionName", "severity", "affects", "suitabilities", "advice", "blocking", "boarding", "delays", "casualties", "easements", "extensions" }) public class PtConsequenceStructure { @XmlElement(name = "Period") protected List period; @XmlElement(name = "Condition") @XmlSchemaType(name = "NMTOKEN") protected List condition; @XmlElement(name = "ConditionName") protected List conditionName; @XmlElement(name = "Severity") @XmlSchemaType(name = "NMTOKEN") protected SeverityEnumeration severity; @XmlElement(name = "Affects") protected AffectsScopeStructure affects; @XmlElement(name = "Suitabilities") protected PtConsequenceStructure.Suitabilities suitabilities; @XmlElement(name = "Advice") protected PtAdviceStructure advice; @XmlElement(name = "Blocking") protected BlockingStructure blocking; @XmlElement(name = "Boarding") protected BoardingStructure boarding; @XmlElement(name = "Delays") protected DelaysStructure delays; @XmlElement(name = "Casualties") protected CasualtiesStructure casualties; @XmlElement(name = "Easements") protected List easements; @XmlElement(name = "Extensions") protected ExtensionsStructure extensions; /** * Gets the value of the period 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 period property.

* *

* For example, to add a new item, do as follows: *

*
     * getPeriod().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link HalfOpenTimestampOutputRangeStructure } *

* * * @return * The value of the period property. */ public List getPeriod() { if (period == null) { period = new ArrayList<>(); } return this.period; } /** * Gets the value of the condition 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 condition property.

* *

* For example, to add a new item, do as follows: *

*
     * getCondition().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link ServiceConditionEnumeration } *

* * * @return * The value of the condition property. */ public List getCondition() { if (condition == null) { condition = new ArrayList<>(); } return this.condition; } /** * Gets the value of the conditionName 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 conditionName property.

* *

* For example, to add a new item, do as follows: *

*
     * getConditionName().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link NaturalLanguageStringStructure } *

* * * @return * The value of the conditionName property. */ public List getConditionName() { if (conditionName == null) { conditionName = new ArrayList<>(); } return this.conditionName; } /** * 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 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 suitabilities property. * * @return * possible object is * {@link PtConsequenceStructure.Suitabilities } * */ public PtConsequenceStructure.Suitabilities getSuitabilities() { return suitabilities; } /** * Sets the value of the suitabilities property. * * @param value * allowed object is * {@link PtConsequenceStructure.Suitabilities } * */ public void setSuitabilities(PtConsequenceStructure.Suitabilities value) { this.suitabilities = value; } /** * Gets the value of the advice property. * * @return * possible object is * {@link PtAdviceStructure } * */ public PtAdviceStructure getAdvice() { return advice; } /** * Sets the value of the advice property. * * @param value * allowed object is * {@link PtAdviceStructure } * */ public void setAdvice(PtAdviceStructure value) { this.advice = value; } /** * Gets the value of the blocking property. * * @return * possible object is * {@link BlockingStructure } * */ public BlockingStructure getBlocking() { return blocking; } /** * Sets the value of the blocking property. * * @param value * allowed object is * {@link BlockingStructure } * */ public void setBlocking(BlockingStructure value) { this.blocking = value; } /** * Gets the value of the boarding property. * * @return * possible object is * {@link BoardingStructure } * */ public BoardingStructure getBoarding() { return boarding; } /** * Sets the value of the boarding property. * * @param value * allowed object is * {@link BoardingStructure } * */ public void setBoarding(BoardingStructure value) { this.boarding = value; } /** * Gets the value of the delays property. * * @return * possible object is * {@link DelaysStructure } * */ public DelaysStructure getDelays() { return delays; } /** * Sets the value of the delays property. * * @param value * allowed object is * {@link DelaysStructure } * */ public void setDelays(DelaysStructure value) { this.delays = value; } /** * Gets the value of the casualties property. * * @return * possible object is * {@link CasualtiesStructure } * */ public CasualtiesStructure getCasualties() { return casualties; } /** * Sets the value of the casualties property. * * @param value * allowed object is * {@link CasualtiesStructure } * */ public void setCasualties(CasualtiesStructure value) { this.casualties = value; } /** * Gets the value of the easements 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 easements property.

* *

* For example, to add a new item, do as follows: *

*
     * getEasements().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link EasementsStructure } *

* * * @return * The value of the easements property. */ public List getEasements() { if (easements == null) { easements = new ArrayList<>(); } return this.easements; } /** * 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 PtConsequenceStructure withPeriod(HalfOpenTimestampOutputRangeStructure... values) { if (values!= null) { for (HalfOpenTimestampOutputRangeStructure value: values) { getPeriod().add(value); } } return this; } public PtConsequenceStructure withPeriod(Collection values) { if (values!= null) { getPeriod().addAll(values); } return this; } public PtConsequenceStructure withCondition(ServiceConditionEnumeration... values) { if (values!= null) { for (ServiceConditionEnumeration value: values) { getCondition().add(value); } } return this; } public PtConsequenceStructure withCondition(Collection values) { if (values!= null) { getCondition().addAll(values); } return this; } public PtConsequenceStructure withConditionName(NaturalLanguageStringStructure... values) { if (values!= null) { for (NaturalLanguageStringStructure value: values) { getConditionName().add(value); } } return this; } public PtConsequenceStructure withConditionName(Collection values) { if (values!= null) { getConditionName().addAll(values); } return this; } public PtConsequenceStructure withSeverity(SeverityEnumeration value) { setSeverity(value); return this; } public PtConsequenceStructure withAffects(AffectsScopeStructure value) { setAffects(value); return this; } public PtConsequenceStructure withSuitabilities(PtConsequenceStructure.Suitabilities value) { setSuitabilities(value); return this; } public PtConsequenceStructure withAdvice(PtAdviceStructure value) { setAdvice(value); return this; } public PtConsequenceStructure withBlocking(BlockingStructure value) { setBlocking(value); return this; } public PtConsequenceStructure withBoarding(BoardingStructure value) { setBoarding(value); return this; } public PtConsequenceStructure withDelays(DelaysStructure value) { setDelays(value); return this; } public PtConsequenceStructure withCasualties(CasualtiesStructure value) { setCasualties(value); return this; } public PtConsequenceStructure withEasements(EasementsStructure... values) { if (values!= null) { for (EasementsStructure value: values) { getEasements().add(value); } } return this; } public PtConsequenceStructure withEasements(Collection values) { if (values!= null) { getEasements().addAll(values); } return this; } public PtConsequenceStructure withExtensions(ExtensionsStructure value) { setExtensions(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 = { "suitability" }) public static class Suitabilities { @XmlElement(name = "Suitability", required = true) protected List suitability; /** * Gets the value of the suitability 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 suitability property.

* *

* For example, to add a new item, do as follows: *

*
         * getSuitability().add(newItem);
         * 
* * *

* Objects of the following type(s) are allowed in the list * {@link SuitabilityStructure } *

* * * @return * The value of the suitability property. */ public List getSuitability() { if (suitability == null) { suitability = new ArrayList<>(); } return this.suitability; } public PtConsequenceStructure.Suitabilities withSuitability(SuitabilityStructure... values) { if (values!= null) { for (SuitabilityStructure value: values) { getSuitability().add(value); } } return this; } public PtConsequenceStructure.Suitabilities withSuitability(Collection values) { if (values!= null) { getSuitability().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); } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy