org.rutebanken.netex.model.ZonesInFrame_RelStructure Maven / Gradle / Ivy
Show all versions of netex-java-model Show documentation
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2017.09.21 at 10:53:23 AM CEST
//
package org.rutebanken.netex.model;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlType;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.rutebanken.netex.OmitNullsToStringStyle;
/**
* Java class for zonesInFrame_RelStructure complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="zonesInFrame_RelStructure">
* <complexContent>
* <extension base="{http://www.netex.org.uk/netex}containmentAggregationStructure">
* <sequence>
* <element ref="{http://www.netex.org.uk/netex}Zone" maxOccurs="unbounded"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "zonesInFrame_RelStructure", propOrder = {
"zone"
})
public class ZonesInFrame_RelStructure
extends ContainmentAggregationStructure
{
@XmlElementRef(name = "Zone", namespace = "http://www.netex.org.uk/netex", type = JAXBElement.class)
protected List> zone;
/**
* Gets the value of the zone 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 zone property.
*
*
* For example, to add a new item, do as follows:
*
* getZone().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link JAXBElement }{@code <}{@link ParkingArea }{@code >}
* {@link JAXBElement }{@code <}{@link EquipmentPlace }{@code >}
* {@link JAXBElement }{@code <}{@link StopPlaceEntrance }{@code >}
* {@link JAXBElement }{@code <}{@link ParkingPassengerEntrance }{@code >}
* {@link JAXBElement }{@code <}{@link Quay }{@code >}
* {@link JAXBElement }{@code <}{@link TariffZone }{@code >}
* {@link JAXBElement }{@code <}{@link Site_VersionStructure }{@code >}
* {@link JAXBElement }{@code <}{@link StopArea }{@code >}
* {@link JAXBElement }{@code <}{@link FlexibleStopPlace }{@code >}
* {@link JAXBElement }{@code <}{@link StopPlace }{@code >}
* {@link JAXBElement }{@code <}{@link ParkingBay }{@code >}
* {@link JAXBElement }{@code <}{@link VehicleStoppingPlace }{@code >}
* {@link JAXBElement }{@code <}{@link PointOfInterest }{@code >}
* {@link JAXBElement }{@code <}{@link Country }{@code >}
* {@link JAXBElement }{@code <}{@link Parking }{@code >}
* {@link JAXBElement }{@code <}{@link TransportAdministrativeZone }{@code >}
* {@link JAXBElement }{@code <}{@link GeneralZone }{@code >}
* {@link JAXBElement }{@code <}{@link ServiceSite }{@code >}
* {@link JAXBElement }{@code <}{@link PointOfInterestVehicleEntrance }{@code >}
* {@link JAXBElement }{@code <}{@link HailAndRideArea }{@code >}
* {@link JAXBElement }{@code <}{@link PointOfInterestComponent_VersionStructure }{@code >}
* {@link JAXBElement }{@code <}{@link StopPlaceVehicleEntrance }{@code >}
* {@link JAXBElement }{@code <}{@link FlexibleQuay }{@code >}
* {@link JAXBElement }{@code <}{@link SiteComponent_VersionStructure }{@code >}
* {@link JAXBElement }{@code <}{@link PostalAddress }{@code >}
* {@link JAXBElement }{@code <}{@link SiteEntrance_VersionStructure }{@code >}
* {@link JAXBElement }{@code <}{@link Zone_VersionStructure }{@code >}
* {@link JAXBElement }{@code <}{@link VehicleEntrance }{@code >}
* {@link JAXBElement }{@code <}{@link StopPlaceComponent_VersionStructure }{@code >}
* {@link JAXBElement }{@code <}{@link Zone_VersionStructure }{@code >}
* {@link JAXBElement }{@code <}{@link AdministrativeZone }{@code >}
* {@link JAXBElement }{@code <}{@link TopographicPlace }{@code >}
* {@link JAXBElement }{@code <}{@link FareZone }{@code >}
* {@link JAXBElement }{@code <}{@link PointOfInterestSpace }{@code >}
* {@link JAXBElement }{@code <}{@link BoardingPosition }{@code >}
* {@link JAXBElement }{@code <}{@link ParkingEntranceForVehicles }{@code >}
* {@link JAXBElement }{@code <}{@link AddressablePlace }{@code >}
* {@link JAXBElement }{@code <}{@link FlexibleArea }{@code >}
* {@link JAXBElement }{@code <}{@link PointOfInterestEntrance }{@code >}
* {@link JAXBElement }{@code <}{@link Address_VersionStructure }{@code >}
* {@link JAXBElement }{@code <}{@link RoadAddress }{@code >}
* {@link JAXBElement }{@code <}{@link ParkingComponent }{@code >}
* {@link JAXBElement }{@code <}{@link AccessZone }{@code >}
* {@link JAXBElement }{@code <}{@link RoutingConstraintZone }{@code >}
* {@link JAXBElement }{@code <}{@link Garage }{@code >}
* {@link JAXBElement }{@code <}{@link StopPlaceSpace_VersionStructure }{@code >}
* {@link JAXBElement }{@code <}{@link SiteElement_VersionStructure }{@code >}
* {@link JAXBElement }{@code <}{@link AccessSpace }{@code >}
* {@link JAXBElement }{@code <}{@link Zone_VersionStructure }{@code >}
*
*
*/
public List> getZone() {
if (zone == null) {
zone = new ArrayList>();
}
return this.zone;
}
public ZonesInFrame_RelStructure withZone(JAXBElement extends Zone_VersionStructure> ... values) {
if (values!= null) {
for (JAXBElement extends Zone_VersionStructure> value: values) {
getZone().add(value);
}
}
return this;
}
public ZonesInFrame_RelStructure withZone(Collection> values) {
if (values!= null) {
getZone().addAll(values);
}
return this;
}
@Override
public ZonesInFrame_RelStructure withModificationSet(ModificationSetEnumeration value) {
setModificationSet(value);
return this;
}
@Override
public ZonesInFrame_RelStructure withId(String value) {
setId(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);
}
}