com.hubject.datex.energyinfrastructure.generated.facilities.RateLineCollection Maven / Gradle / Ivy
//
// 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.math.BigDecimal;
import java.math.BigInteger;
import java.time.LocalTime;
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.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import javax.xml.datatype.Duration;
import javax.xml.datatype.XMLGregorianCalendar;
import com.hubject.datex.convert.adapter.XsdTimeAdapter;
import com.hubject.datex.energyinfrastructure.generated.common.ExtensionType;
/**
* Java class for RateLineCollection complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="RateLineCollection">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="applicableCurrency" type="{http://datex2.eu/schema/3/facilities}CurrencyCode" minOccurs="0"/>
* <element name="minValueCollection" type="{http://datex2.eu/schema/3/facilities}AmountOfMoney" minOccurs="0"/>
* <element name="maxValueCollection" type="{http://datex2.eu/schema/3/facilities}AmountOfMoney" minOccurs="0"/>
* <element name="validStart" type="{http://datex2.eu/schema/3/common}DateTime" minOccurs="0"/>
* <element name="validEnd" type="{http://datex2.eu/schema/3/common}DateTime" minOccurs="0"/>
* <element name="minTime" type="{http://datex2.eu/schema/3/facilities}Duration" minOccurs="0"/>
* <element name="maxTime" type="{http://datex2.eu/schema/3/facilities}Duration" minOccurs="0"/>
* <element name="resetTime" type="{http://datex2.eu/schema/3/common}Time" minOccurs="0"/>
* <element name="taxIncluded" type="{http://datex2.eu/schema/3/common}Boolean" minOccurs="0"/>
* <element name="taxRate" type="{http://datex2.eu/schema/3/common}Percentage" minOccurs="0"/>
* <element name="taxValue" type="{http://datex2.eu/schema/3/facilities}AmountOfMoney" minOccurs="0"/>
* <element name="relativeTimes" type="{http://datex2.eu/schema/3/common}Boolean" minOccurs="0"/>
* <element name="rateLine" type="{http://datex2.eu/schema/3/facilities}RateLine" maxOccurs="unbounded"/>
* <element name="_rateLineCollectionExtension" type="{http://datex2.eu/schema/3/common}_ExtensionType" minOccurs="0"/>
* </sequence>
* <attribute name="collectionSequence" use="required" type="{http://datex2.eu/schema/3/common}Integer" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "RateLineCollection", propOrder = {
"applicableCurrency",
"minValueCollection",
"maxValueCollection",
"validStart",
"validEnd",
"minTime",
"maxTime",
"resetTime",
"taxIncluded",
"taxRate",
"taxValue",
"relativeTimes",
"rateLine",
"rateLineCollectionExtension"
})
@XmlSeeAlso({
RelativeTimeRates.class
})
public class RateLineCollection {
protected String applicableCurrency;
protected BigDecimal minValueCollection;
protected BigDecimal maxValueCollection;
@XmlSchemaType(name = "dateTime")
protected XMLGregorianCalendar validStart;
@XmlSchemaType(name = "dateTime")
protected XMLGregorianCalendar validEnd;
protected Duration minTime;
protected Duration maxTime;
@XmlElement(type = String.class)
@XmlJavaTypeAdapter(XsdTimeAdapter.class)
@XmlSchemaType(name = "time")
protected LocalTime resetTime;
protected Boolean taxIncluded;
protected Float taxRate;
protected BigDecimal taxValue;
protected Boolean relativeTimes;
@XmlElement(required = true)
protected List rateLine;
@XmlElement(name = "_rateLineCollectionExtension")
protected ExtensionType rateLineCollectionExtension;
@XmlAttribute(name = "collectionSequence", required = true)
protected BigInteger collectionSequence;
/**
* Gets the value of the applicableCurrency property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getApplicableCurrency() {
return applicableCurrency;
}
/**
* Sets the value of the applicableCurrency property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setApplicableCurrency(String value) {
this.applicableCurrency = value;
}
/**
* Gets the value of the minValueCollection property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getMinValueCollection() {
return minValueCollection;
}
/**
* Sets the value of the minValueCollection property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setMinValueCollection(BigDecimal value) {
this.minValueCollection = value;
}
/**
* Gets the value of the maxValueCollection property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getMaxValueCollection() {
return maxValueCollection;
}
/**
* Sets the value of the maxValueCollection property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setMaxValueCollection(BigDecimal value) {
this.maxValueCollection = value;
}
/**
* Gets the value of the validStart property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getValidStart() {
return validStart;
}
/**
* Sets the value of the validStart property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setValidStart(XMLGregorianCalendar value) {
this.validStart = value;
}
/**
* Gets the value of the validEnd property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getValidEnd() {
return validEnd;
}
/**
* Sets the value of the validEnd property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setValidEnd(XMLGregorianCalendar value) {
this.validEnd = value;
}
/**
* Gets the value of the minTime property.
*
* @return
* possible object is
* {@link Duration }
*
*/
public Duration getMinTime() {
return minTime;
}
/**
* Sets the value of the minTime property.
*
* @param value
* allowed object is
* {@link Duration }
*
*/
public void setMinTime(Duration value) {
this.minTime = value;
}
/**
* Gets the value of the maxTime property.
*
* @return
* possible object is
* {@link Duration }
*
*/
public Duration getMaxTime() {
return maxTime;
}
/**
* Sets the value of the maxTime property.
*
* @param value
* allowed object is
* {@link Duration }
*
*/
public void setMaxTime(Duration value) {
this.maxTime = value;
}
/**
* Gets the value of the resetTime property.
*
* @return
* possible object is
* {@link String }
*
*/
public LocalTime getResetTime() {
return resetTime;
}
/**
* Sets the value of the resetTime property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setResetTime(LocalTime value) {
this.resetTime = value;
}
/**
* Gets the value of the taxIncluded property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isTaxIncluded() {
return taxIncluded;
}
/**
* Sets the value of the taxIncluded property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setTaxIncluded(Boolean value) {
this.taxIncluded = value;
}
/**
* Gets the value of the taxRate property.
*
* @return
* possible object is
* {@link Float }
*
*/
public Float getTaxRate() {
return taxRate;
}
/**
* Sets the value of the taxRate property.
*
* @param value
* allowed object is
* {@link Float }
*
*/
public void setTaxRate(Float value) {
this.taxRate = value;
}
/**
* Gets the value of the taxValue property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getTaxValue() {
return taxValue;
}
/**
* Sets the value of the taxValue property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setTaxValue(BigDecimal value) {
this.taxValue = value;
}
/**
* Gets the value of the relativeTimes property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isRelativeTimes() {
return relativeTimes;
}
/**
* Sets the value of the relativeTimes property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setRelativeTimes(Boolean value) {
this.relativeTimes = value;
}
/**
* Gets the value of the rateLine 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 rateLine property.
*
*
* For example, to add a new item, do as follows:
*
* getRateLine().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link RateLine }
*
*
*/
public List getRateLine() {
if (rateLine == null) {
rateLine = new ArrayList();
}
return this.rateLine;
}
/**
* Gets the value of the rateLineCollectionExtension property.
*
* @return
* possible object is
* {@link ExtensionType }
*
*/
public ExtensionType getRateLineCollectionExtension() {
return rateLineCollectionExtension;
}
/**
* Sets the value of the rateLineCollectionExtension property.
*
* @param value
* allowed object is
* {@link ExtensionType }
*
*/
public void setRateLineCollectionExtension(ExtensionType value) {
this.rateLineCollectionExtension = value;
}
/**
* Gets the value of the collectionSequence property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getCollectionSequence() {
return collectionSequence;
}
/**
* Sets the value of the collectionSequence property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setCollectionSequence(BigInteger value) {
this.collectionSequence = value;
}
}