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

eu.datex2.schema._2._2_0.ElectricCharging Maven / Gradle / Ivy

The newest version!

package eu.datex2.schema._2._2_0;

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.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import org.w3._2001.xmlschema.Adapter2;


/**
 * 

Java class for ElectricCharging complex type. * *

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

 * <complexType name="ElectricCharging">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="chargingStationUsageType" type="{http://datex2.eu/schema/2/2_0}ChargingStationUsageTypeEnum" maxOccurs="unbounded"/>
 *         <element name="chargingStationModelType" type="{http://datex2.eu/schema/2/2_0}MultilingualString" minOccurs="0"/>
 *         <element name="maximumCurrent" type="{http://datex2.eu/schema/2/2_0}Ampere" minOccurs="0"/>
 *         <element name="voltage" type="{http://datex2.eu/schema/2/2_0}Volt" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="chargingStationConnectorType" type="{http://datex2.eu/schema/2/2_0}MultilingualString" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="numberOfChargingPoints" type="{http://datex2.eu/schema/2/2_0}NonNegativeInteger" minOccurs="0"/>
 *         <element name="electricChargingExtension" type="{http://datex2.eu/schema/2/2_0}_ExtensionType" minOccurs="0"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "ElectricCharging", propOrder = { "chargingStationUsageType", "chargingStationModelType", "maximumCurrent", "voltage", "chargingStationConnectorType", "numberOfChargingPoints", "electricChargingExtension" }) public class ElectricCharging { @XmlElement(required = true) @XmlSchemaType(name = "string") protected List chargingStationUsageType; protected MultilingualString chargingStationModelType; protected Float maximumCurrent; @XmlElement(type = Float.class) protected List voltage; protected List chargingStationConnectorType; @XmlElement(type = String.class) @XmlJavaTypeAdapter(Adapter2 .class) @XmlSchemaType(name = "nonNegativeInteger") protected Long numberOfChargingPoints; protected ExtensionType electricChargingExtension; /** * Gets the value of the chargingStationUsageType 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 chargingStationUsageType property. * *

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

     *    getChargingStationUsageType().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link ChargingStationUsageTypeEnum } * * */ public List getChargingStationUsageType() { if (chargingStationUsageType == null) { chargingStationUsageType = new ArrayList(); } return this.chargingStationUsageType; } /** * Gets the value of the chargingStationModelType property. * * @return * possible object is * {@link MultilingualString } * */ public MultilingualString getChargingStationModelType() { return chargingStationModelType; } /** * Sets the value of the chargingStationModelType property. * * @param value * allowed object is * {@link MultilingualString } * */ public void setChargingStationModelType(MultilingualString value) { this.chargingStationModelType = value; } /** * Gets the value of the maximumCurrent property. * * @return * possible object is * {@link Float } * */ public Float getMaximumCurrent() { return maximumCurrent; } /** * Sets the value of the maximumCurrent property. * * @param value * allowed object is * {@link Float } * */ public void setMaximumCurrent(Float value) { this.maximumCurrent = value; } /** * Gets the value of the voltage 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 voltage property. * *

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

     *    getVoltage().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Float } * * */ public List getVoltage() { if (voltage == null) { voltage = new ArrayList(); } return this.voltage; } /** * Gets the value of the chargingStationConnectorType 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 chargingStationConnectorType property. * *

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

     *    getChargingStationConnectorType().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link MultilingualString } * * */ public List getChargingStationConnectorType() { if (chargingStationConnectorType == null) { chargingStationConnectorType = new ArrayList(); } return this.chargingStationConnectorType; } /** * Gets the value of the numberOfChargingPoints property. * * @return * possible object is * {@link String } * */ public Long getNumberOfChargingPoints() { return numberOfChargingPoints; } /** * Sets the value of the numberOfChargingPoints property. * * @param value * allowed object is * {@link String } * */ public void setNumberOfChargingPoints(Long value) { this.numberOfChargingPoints = value; } /** * Gets the value of the electricChargingExtension property. * * @return * possible object is * {@link ExtensionType } * */ public ExtensionType getElectricChargingExtension() { return electricChargingExtension; } /** * Sets the value of the electricChargingExtension property. * * @param value * allowed object is * {@link ExtensionType } * */ public void setElectricChargingExtension(ExtensionType value) { this.electricChargingExtension = value; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy