com.hubject.datex.energyinfrastructure.generated.location_referencing.NamedArea Maven / Gradle / Ivy
Show all versions of convert Show documentation
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.1
// See https://javaee.github.io/jaxb-v2/
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2022.10.06 at 11:44:34 AM CEST
//
package com.hubject.datex.energyinfrastructure.generated.location_referencing;
import java.util.ArrayList;
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.XmlElementRefs;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
import com.hubject.datex.energyinfrastructure.generated.common.MultilingualString;
/**
* Java class for NamedArea complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="NamedArea">
* <complexContent>
* <extension base="{http://datex2.eu/schema/3/common}NamedArea">
* <sequence>
* <element name="areaName" type="{http://datex2.eu/schema/3/common}MultilingualString"/>
* <element name="namedAreaType" type="{http://datex2.eu/schema/3/locationReferencing}_NamedAreaTypeEnum" minOccurs="0"/>
* <element name="country" type="{http://datex2.eu/schema/3/common}CountryCode" minOccurs="0"/>
* <element name="_namedAreaExtension" type="{http://datex2.eu/schema/3/locationReferencing}_NamedAreaExtensionType" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "NamedArea", propOrder = {
"rest"
})
@XmlSeeAlso({
IsoNamedArea.class,
NutsNamedArea.class
})
public class NamedArea
extends com.hubject.datex.energyinfrastructure.generated.common.NamedArea
{
@XmlElementRefs({
@XmlElementRef(name = "areaName", namespace = "http://datex2.eu/schema/3/locationReferencing", type = JAXBElement.class, required = false),
@XmlElementRef(name = "namedAreaType", namespace = "http://datex2.eu/schema/3/locationReferencing", type = JAXBElement.class, required = false),
@XmlElementRef(name = "country", namespace = "http://datex2.eu/schema/3/locationReferencing", type = JAXBElement.class, required = false),
@XmlElementRef(name = "_namedAreaExtension", namespace = "http://datex2.eu/schema/3/locationReferencing", type = JAXBElement.class, required = false)
})
protected List> rest;
/**
* Gets the rest of the content model.
*
*
* You are getting this "catch-all" property because of the following reason:
* The field name "NamedAreaExtension" is used by two different parts of a schema. See:
* line 287 of file:/home/jacek/IdeaProjects/hubject/oicp-datex-II-converter/src/main/resources/soap/DATEXII_3_LocationReferencing.xsd
* line 683 of file:/home/jacek/IdeaProjects/hubject/oicp-datex-II-converter/src/main/resources/soap/DATEXII_3_Common.xsd
*
* To get rid of this property, apply a property customization to one
* of both of the following declarations to change their names:
* Gets the value of the rest 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 rest property.
*
*
* For example, to add a new item, do as follows:
*
* getRest().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link JAXBElement }{@code <}{@link MultilingualString }{@code >}
* {@link JAXBElement }{@code <}{@link NamedAreaTypeEnum }{@code >}
* {@link JAXBElement }{@code <}{@link String }{@code >}
* {@link JAXBElement }{@code <}{@link NamedAreaExtensionType }{@code >}
*
*
*/
public List> getRest() {
if (rest == null) {
rest = new ArrayList>();
}
return this.rest;
}
}