com.hubject.datex.energyinfrastructure.generated.facilities.Facility 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.facilities;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
import com.hubject.datex.energyinfrastructure.generated.common.ExtensionType;
import com.hubject.datex.energyinfrastructure.generated.infrastructure.EnergyInfrastructureSite;
import com.hubject.datex.energyinfrastructure.generated.infrastructure.EnergyInfrastructureStation;
import com.hubject.datex.energyinfrastructure.generated.infrastructure.RefillPoint;
/**
* Java class for Facility complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="Facility">
* <complexContent>
* <extension base="{http://datex2.eu/schema/3/facilities}FacilityObject">
* <sequence>
* <element name="supplementalFacility" type="{http://datex2.eu/schema/3/facilities}SupplementalFacility" maxOccurs="unbounded" minOccurs="0"/>
* <element name="_facilityExtension" type="{http://datex2.eu/schema/3/common}_ExtensionType" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Facility", propOrder = {
"supplementalFacility",
"facilityExtension"
})
@XmlSeeAlso({
EnergyInfrastructureSite.class,
EnergyInfrastructureStation.class,
RefillPoint.class
})
public abstract class Facility
extends FacilityObject
{
protected List supplementalFacility;
@XmlElement(name = "_facilityExtension")
protected ExtensionType facilityExtension;
/**
* Gets the value of the supplementalFacility 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 supplementalFacility property.
*
*
* For example, to add a new item, do as follows:
*
* getSupplementalFacility().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link SupplementalFacility }
*
*
*/
public List getSupplementalFacility() {
if (supplementalFacility == null) {
supplementalFacility = new ArrayList();
}
return this.supplementalFacility;
}
/**
* Gets the value of the facilityExtension property.
*
* @return
* possible object is
* {@link ExtensionType }
*
*/
public ExtensionType getFacilityExtension() {
return facilityExtension;
}
/**
* Sets the value of the facilityExtension property.
*
* @param value
* allowed object is
* {@link ExtensionType }
*
*/
public void setFacilityExtension(ExtensionType value) {
this.facilityExtension = value;
}
}