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

de.vdv.ojp20.siri.AffectsScopeStructure 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 eu.datex2.schema._2_0rc1._2_0.AreaOfInterestEnum;
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.ifopt.AccessModesEnumeration;


/**
 * 

Java class for AffectsScopeStructure complex type

. * *

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

* *
{@code
 * 
 *   
 *     
 *       
 *         
 *         
 *           
 *             
 *               
 *                 
 *                   
 *                   
 *                 
 *               
 *             
 *           
 *         
 *         
 *           
 *             
 *               
 *                 
 *                   
 *                     
 *                       
 *                         
 *                         
 *                       
 *                     
 *                   
 *                 
 *               
 *             
 *           
 *         
 *         
 *           
 *             
 *               
 *                 
 *                   
 *                 
 *               
 *             
 *           
 *         
 *         
 *           
 *             
 *               
 *                 
 *                   
 *                 
 *               
 *             
 *           
 *         
 *         
 *           
 *             
 *               
 *                 
 *                   
 *                 
 *               
 *             
 *           
 *         
 *         
 *           
 *             
 *               
 *                 
 *                   
 *                 
 *               
 *             
 *           
 *         
 *         
 *           
 *             
 *               
 *                 
 *                   
 *                 
 *               
 *             
 *           
 *         
 *         
 *         
 *       
 *     
 *   
 * 
 * }
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "AffectsScopeStructure", propOrder = { "areaOfInterest", "operators", "networks", "stopPoints", "stopPlaces", "places", "vehicleJourneys", "vehicles", "roads", "extensions" }) public class AffectsScopeStructure { @XmlElement(name = "AreaOfInterest") @XmlSchemaType(name = "string") protected AreaOfInterestEnum areaOfInterest; @XmlElement(name = "Operators") protected AffectsScopeStructure.Operators operators; @XmlElement(name = "Networks") protected AffectsScopeStructure.Networks networks; @XmlElement(name = "StopPoints") protected AffectsScopeStructure.StopPoints stopPoints; @XmlElement(name = "StopPlaces") protected AffectsScopeStructure.StopPlaces stopPlaces; @XmlElement(name = "Places") protected AffectsScopeStructure.Places places; @XmlElement(name = "VehicleJourneys") protected AffectsScopeStructure.VehicleJourneys vehicleJourneys; @XmlElement(name = "Vehicles") protected AffectsScopeStructure.Vehicles vehicles; @XmlElement(name = "Roads") protected AffectedRoadsStructure roads; @XmlElement(name = "Extensions") protected ExtensionsStructure extensions; /** * Gets the value of the areaOfInterest property. * * @return * possible object is * {@link AreaOfInterestEnum } * */ public AreaOfInterestEnum getAreaOfInterest() { return areaOfInterest; } /** * Sets the value of the areaOfInterest property. * * @param value * allowed object is * {@link AreaOfInterestEnum } * */ public void setAreaOfInterest(AreaOfInterestEnum value) { this.areaOfInterest = value; } /** * Gets the value of the operators property. * * @return * possible object is * {@link AffectsScopeStructure.Operators } * */ public AffectsScopeStructure.Operators getOperators() { return operators; } /** * Sets the value of the operators property. * * @param value * allowed object is * {@link AffectsScopeStructure.Operators } * */ public void setOperators(AffectsScopeStructure.Operators value) { this.operators = value; } /** * Gets the value of the networks property. * * @return * possible object is * {@link AffectsScopeStructure.Networks } * */ public AffectsScopeStructure.Networks getNetworks() { return networks; } /** * Sets the value of the networks property. * * @param value * allowed object is * {@link AffectsScopeStructure.Networks } * */ public void setNetworks(AffectsScopeStructure.Networks value) { this.networks = value; } /** * Gets the value of the stopPoints property. * * @return * possible object is * {@link AffectsScopeStructure.StopPoints } * */ public AffectsScopeStructure.StopPoints getStopPoints() { return stopPoints; } /** * Sets the value of the stopPoints property. * * @param value * allowed object is * {@link AffectsScopeStructure.StopPoints } * */ public void setStopPoints(AffectsScopeStructure.StopPoints value) { this.stopPoints = value; } /** * Gets the value of the stopPlaces property. * * @return * possible object is * {@link AffectsScopeStructure.StopPlaces } * */ public AffectsScopeStructure.StopPlaces getStopPlaces() { return stopPlaces; } /** * Sets the value of the stopPlaces property. * * @param value * allowed object is * {@link AffectsScopeStructure.StopPlaces } * */ public void setStopPlaces(AffectsScopeStructure.StopPlaces value) { this.stopPlaces = value; } /** * Gets the value of the places property. * * @return * possible object is * {@link AffectsScopeStructure.Places } * */ public AffectsScopeStructure.Places getPlaces() { return places; } /** * Sets the value of the places property. * * @param value * allowed object is * {@link AffectsScopeStructure.Places } * */ public void setPlaces(AffectsScopeStructure.Places value) { this.places = value; } /** * Gets the value of the vehicleJourneys property. * * @return * possible object is * {@link AffectsScopeStructure.VehicleJourneys } * */ public AffectsScopeStructure.VehicleJourneys getVehicleJourneys() { return vehicleJourneys; } /** * Sets the value of the vehicleJourneys property. * * @param value * allowed object is * {@link AffectsScopeStructure.VehicleJourneys } * */ public void setVehicleJourneys(AffectsScopeStructure.VehicleJourneys value) { this.vehicleJourneys = value; } /** * Gets the value of the vehicles property. * * @return * possible object is * {@link AffectsScopeStructure.Vehicles } * */ public AffectsScopeStructure.Vehicles getVehicles() { return vehicles; } /** * Sets the value of the vehicles property. * * @param value * allowed object is * {@link AffectsScopeStructure.Vehicles } * */ public void setVehicles(AffectsScopeStructure.Vehicles value) { this.vehicles = value; } /** * Gets the value of the roads property. * * @return * possible object is * {@link AffectedRoadsStructure } * */ public AffectedRoadsStructure getRoads() { return roads; } /** * Sets the value of the roads property. * * @param value * allowed object is * {@link AffectedRoadsStructure } * */ public void setRoads(AffectedRoadsStructure value) { this.roads = 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 AffectsScopeStructure withAreaOfInterest(AreaOfInterestEnum value) { setAreaOfInterest(value); return this; } public AffectsScopeStructure withOperators(AffectsScopeStructure.Operators value) { setOperators(value); return this; } public AffectsScopeStructure withNetworks(AffectsScopeStructure.Networks value) { setNetworks(value); return this; } public AffectsScopeStructure withStopPoints(AffectsScopeStructure.StopPoints value) { setStopPoints(value); return this; } public AffectsScopeStructure withStopPlaces(AffectsScopeStructure.StopPlaces value) { setStopPlaces(value); return this; } public AffectsScopeStructure withPlaces(AffectsScopeStructure.Places value) { setPlaces(value); return this; } public AffectsScopeStructure withVehicleJourneys(AffectsScopeStructure.VehicleJourneys value) { setVehicleJourneys(value); return this; } public AffectsScopeStructure withVehicles(AffectsScopeStructure.Vehicles value) { setVehicles(value); return this; } public AffectsScopeStructure withRoads(AffectedRoadsStructure value) { setRoads(value); return this; } public AffectsScopeStructure 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 = { "affectedNetwork" }) public static class Networks { @XmlElement(name = "AffectedNetwork", required = true) protected List affectedNetwork; /** * Gets the value of the affectedNetwork 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 affectedNetwork property.

* *

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

*
         * getAffectedNetwork().add(newItem);
         * 
* * *

* Objects of the following type(s) are allowed in the list * {@link AffectsScopeStructure.Networks.AffectedNetwork } *

* * * @return * The value of the affectedNetwork property. */ public List getAffectedNetwork() { if (affectedNetwork == null) { affectedNetwork = new ArrayList<>(); } return this.affectedNetwork; } public AffectsScopeStructure.Networks withAffectedNetwork(AffectsScopeStructure.Networks.AffectedNetwork... values) { if (values!= null) { for (AffectsScopeStructure.Networks.AffectedNetwork value: values) { getAffectedNetwork().add(value); } } return this; } public AffectsScopeStructure.Networks withAffectedNetwork(Collection values) { if (values!= null) { getAffectedNetwork().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 AffectedNetwork extends AffectedNetworkStructure { @Override public AffectsScopeStructure.Networks.AffectedNetwork withAffectedOperator(AffectedOperatorStructure... values) { if (values!= null) { for (AffectedOperatorStructure value: values) { getAffectedOperator().add(value); } } return this; } @Override public AffectsScopeStructure.Networks.AffectedNetwork withAffectedOperator(Collection values) { if (values!= null) { getAffectedOperator().addAll(values); } return this; } @Override public AffectsScopeStructure.Networks.AffectedNetwork withNetworkRef(NetworkRefStructure value) { setNetworkRef(value); return this; } @Override public AffectsScopeStructure.Networks.AffectedNetwork withNetworkName(NaturalLanguageStringStructure... values) { if (values!= null) { for (NaturalLanguageStringStructure value: values) { getNetworkName().add(value); } } return this; } @Override public AffectsScopeStructure.Networks.AffectedNetwork withNetworkName(Collection values) { if (values!= null) { getNetworkName().addAll(values); } return this; } @Override public AffectsScopeStructure.Networks.AffectedNetwork withRoutesAffected(NaturalLanguageStringStructure... values) { if (values!= null) { for (NaturalLanguageStringStructure value: values) { getRoutesAffected().add(value); } } return this; } @Override public AffectsScopeStructure.Networks.AffectedNetwork withRoutesAffected(Collection values) { if (values!= null) { getRoutesAffected().addAll(values); } return this; } @Override public AffectsScopeStructure.Networks.AffectedNetwork withVehicleMode(VehicleModesOfTransportEnumeration value) { setVehicleMode(value); return this; } @Override public AffectsScopeStructure.Networks.AffectedNetwork withAirSubmode(AirSubmodesOfTransportEnumeration value) { setAirSubmode(value); return this; } @Override public AffectsScopeStructure.Networks.AffectedNetwork withBusSubmode(BusSubmodesOfTransportEnumeration value) { setBusSubmode(value); return this; } @Override public AffectsScopeStructure.Networks.AffectedNetwork withCoachSubmode(CoachSubmodesOfTransportEnumeration value) { setCoachSubmode(value); return this; } @Override public AffectsScopeStructure.Networks.AffectedNetwork withMetroSubmode(MetroSubmodesOfTransportEnumeration value) { setMetroSubmode(value); return this; } @Override public AffectsScopeStructure.Networks.AffectedNetwork withRailSubmode(RailSubmodesOfTransportEnumeration value) { setRailSubmode(value); return this; } @Override public AffectsScopeStructure.Networks.AffectedNetwork withTramSubmode(TramSubmodesOfTransportEnumeration value) { setTramSubmode(value); return this; } @Override public AffectsScopeStructure.Networks.AffectedNetwork withWaterSubmode(WaterSubmodesOfTransportEnumeration value) { setWaterSubmode(value); return this; } @Override public AffectsScopeStructure.Networks.AffectedNetwork withTelecabinSubmode(TelecabinSubmodesOfTransportEnumeration value) { setTelecabinSubmode(value); return this; } @Override public AffectsScopeStructure.Networks.AffectedNetwork withAccessMode(AccessModesEnumeration value) { setAccessMode(value); return this; } @Override public AffectsScopeStructure.Networks.AffectedNetwork withAllLines(String value) { setAllLines(value); return this; } @Override public AffectsScopeStructure.Networks.AffectedNetwork withSelectedRoutes(AffectedRouteStructure... values) { if (values!= null) { for (AffectedRouteStructure value: values) { getSelectedRoutes().add(value); } } return this; } @Override public AffectsScopeStructure.Networks.AffectedNetwork withSelectedRoutes(Collection values) { if (values!= null) { getSelectedRoutes().addAll(values); } return this; } @Override public AffectsScopeStructure.Networks.AffectedNetwork withAffectedSection(AffectedSectionStructure... values) { if (values!= null) { for (AffectedSectionStructure value: values) { getAffectedSection().add(value); } } return this; } @Override public AffectsScopeStructure.Networks.AffectedNetwork withAffectedSection(Collection values) { if (values!= null) { getAffectedSection().addAll(values); } return this; } @Override public AffectsScopeStructure.Networks.AffectedNetwork withAffectedLine(AffectedLineStructure... values) { if (values!= null) { for (AffectedLineStructure value: values) { getAffectedLine().add(value); } } return this; } @Override public AffectsScopeStructure.Networks.AffectedNetwork withAffectedLine(Collection values) { if (values!= null) { getAffectedLine().addAll(values); } return this; } @Override public AffectsScopeStructure.Networks.AffectedNetwork 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 = { "allOperators", "affectedOperator" }) public static class Operators { @XmlElement(name = "AllOperators") protected String allOperators; @XmlElement(name = "AffectedOperator") protected List affectedOperator; /** * Gets the value of the allOperators property. * * @return * possible object is * {@link String } * */ public String getAllOperators() { return allOperators; } /** * Sets the value of the allOperators property. * * @param value * allowed object is * {@link String } * */ public void setAllOperators(String value) { this.allOperators = value; } /** * Gets the value of the affectedOperator 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 affectedOperator property.

* *

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

*
         * getAffectedOperator().add(newItem);
         * 
* * *

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

* * * @return * The value of the affectedOperator property. */ public List getAffectedOperator() { if (affectedOperator == null) { affectedOperator = new ArrayList<>(); } return this.affectedOperator; } public AffectsScopeStructure.Operators withAllOperators(String value) { setAllOperators(value); return this; } public AffectsScopeStructure.Operators withAffectedOperator(AffectedOperatorStructure... values) { if (values!= null) { for (AffectedOperatorStructure value: values) { getAffectedOperator().add(value); } } return this; } public AffectsScopeStructure.Operators withAffectedOperator(Collection values) { if (values!= null) { getAffectedOperator().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 = { "affectedPlace" }) public static class Places { @XmlElement(name = "AffectedPlace", required = true) protected List affectedPlace; /** * Gets the value of the affectedPlace 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 affectedPlace property.

* *

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

*
         * getAffectedPlace().add(newItem);
         * 
* * *

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

* * * @return * The value of the affectedPlace property. */ public List getAffectedPlace() { if (affectedPlace == null) { affectedPlace = new ArrayList<>(); } return this.affectedPlace; } public AffectsScopeStructure.Places withAffectedPlace(AffectedPlaceStructure... values) { if (values!= null) { for (AffectedPlaceStructure value: values) { getAffectedPlace().add(value); } } return this; } public AffectsScopeStructure.Places withAffectedPlace(Collection values) { if (values!= null) { getAffectedPlace().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 = { "affectedStopPlace" }) public static class StopPlaces { @XmlElement(name = "AffectedStopPlace", required = true) protected List affectedStopPlace; /** * Gets the value of the affectedStopPlace 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 affectedStopPlace property.

* *

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

*
         * getAffectedStopPlace().add(newItem);
         * 
* * *

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

* * * @return * The value of the affectedStopPlace property. */ public List getAffectedStopPlace() { if (affectedStopPlace == null) { affectedStopPlace = new ArrayList<>(); } return this.affectedStopPlace; } public AffectsScopeStructure.StopPlaces withAffectedStopPlace(AffectedStopPlaceStructure... values) { if (values!= null) { for (AffectedStopPlaceStructure value: values) { getAffectedStopPlace().add(value); } } return this; } public AffectsScopeStructure.StopPlaces withAffectedStopPlace(Collection values) { if (values!= null) { getAffectedStopPlace().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 = { "affectedStopPoint" }) public static class StopPoints { @XmlElement(name = "AffectedStopPoint", required = true) protected List affectedStopPoint; /** * Gets the value of the affectedStopPoint 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 affectedStopPoint property.

* *

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

*
         * getAffectedStopPoint().add(newItem);
         * 
* * *

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

* * * @return * The value of the affectedStopPoint property. */ public List getAffectedStopPoint() { if (affectedStopPoint == null) { affectedStopPoint = new ArrayList<>(); } return this.affectedStopPoint; } public AffectsScopeStructure.StopPoints withAffectedStopPoint(AffectedStopPointStructure... values) { if (values!= null) { for (AffectedStopPointStructure value: values) { getAffectedStopPoint().add(value); } } return this; } public AffectsScopeStructure.StopPoints withAffectedStopPoint(Collection values) { if (values!= null) { getAffectedStopPoint().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 = { "affectedVehicleJourney" }) public static class VehicleJourneys { @XmlElement(name = "AffectedVehicleJourney", required = true) protected List affectedVehicleJourney; /** * Gets the value of the affectedVehicleJourney 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 affectedVehicleJourney property.

* *

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

*
         * getAffectedVehicleJourney().add(newItem);
         * 
* * *

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

* * * @return * The value of the affectedVehicleJourney property. */ public List getAffectedVehicleJourney() { if (affectedVehicleJourney == null) { affectedVehicleJourney = new ArrayList<>(); } return this.affectedVehicleJourney; } public AffectsScopeStructure.VehicleJourneys withAffectedVehicleJourney(AffectedVehicleJourneyStructure... values) { if (values!= null) { for (AffectedVehicleJourneyStructure value: values) { getAffectedVehicleJourney().add(value); } } return this; } public AffectsScopeStructure.VehicleJourneys withAffectedVehicleJourney(Collection values) { if (values!= null) { getAffectedVehicleJourney().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 = { "affectedVehicle" }) public static class Vehicles { @XmlElement(name = "AffectedVehicle", required = true) protected List affectedVehicle; /** * Gets the value of the affectedVehicle 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 affectedVehicle property.

* *

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

*
         * getAffectedVehicle().add(newItem);
         * 
* * *

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

* * * @return * The value of the affectedVehicle property. */ public List getAffectedVehicle() { if (affectedVehicle == null) { affectedVehicle = new ArrayList<>(); } return this.affectedVehicle; } public AffectsScopeStructure.Vehicles withAffectedVehicle(AffectedVehicleStructure... values) { if (values!= null) { for (AffectedVehicleStructure value: values) { getAffectedVehicle().add(value); } } return this; } public AffectsScopeStructure.Vehicles withAffectedVehicle(Collection values) { if (values!= null) { getAffectedVehicle().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