com.hubject.datex.energyinfrastructure.generated.facilities.RateLine 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.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.XmlType;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import javax.xml.datatype.Duration;
import com.hubject.datex.convert.adapter.XsdTimeAdapter;
import com.hubject.datex.energyinfrastructure.generated.common.ExtensionType;
import com.hubject.datex.energyinfrastructure.generated.common.MultilingualString;
/**
* Java class for RateLine complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="RateLine">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="rateLineType" type="{http://datex2.eu/schema/3/facilities}_RateLineTypeEnum"/>
* <element name="description" type="{http://datex2.eu/schema/3/common}MultilingualString" minOccurs="0"/>
* <element name="durationStart" type="{http://datex2.eu/schema/3/common}Time" minOccurs="0"/>
* <element name="durationEnd" type="{http://datex2.eu/schema/3/common}Time" minOccurs="0"/>
* <element name="incrementPeriod" type="{http://datex2.eu/schema/3/facilities}Duration" minOccurs="0"/>
* <element name="value" type="{http://datex2.eu/schema/3/facilities}AmountOfMoney"/>
* <element name="minValue" type="{http://datex2.eu/schema/3/facilities}AmountOfMoney" minOccurs="0"/>
* <element name="maxValue" type="{http://datex2.eu/schema/3/facilities}AmountOfMoney" minOccurs="0"/>
* <element name="usageCondition" type="{http://datex2.eu/schema/3/facilities}_RateUsageConditionsTypeEnum" minOccurs="0"/>
* <element name="surcharge" type="{http://datex2.eu/schema/3/facilities}Surcharge" maxOccurs="unbounded" minOccurs="0"/>
* <element name="rateLineTax" type="{http://datex2.eu/schema/3/facilities}RateLineTax" maxOccurs="unbounded" minOccurs="0"/>
* <element name="_rateLineExtension" type="{http://datex2.eu/schema/3/common}_ExtensionType" minOccurs="0"/>
* </sequence>
* <attribute name="sequence" use="required" type="{http://datex2.eu/schema/3/common}Integer" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "RateLine", propOrder = {
"rateLineType",
"description",
"durationStart",
"durationEnd",
"incrementPeriod",
"value",
"minValue",
"maxValue",
"usageCondition",
"surcharge",
"rateLineTax",
"rateLineExtension"
})
public class RateLine {
@XmlElement(required = true)
protected RateLineTypeEnum rateLineType;
protected MultilingualString description;
@XmlElement(type = String.class)
@XmlJavaTypeAdapter(XsdTimeAdapter.class)
@XmlSchemaType(name = "time")
protected LocalTime durationStart;
@XmlElement(type = String.class)
@XmlJavaTypeAdapter(XsdTimeAdapter.class)
@XmlSchemaType(name = "time")
protected LocalTime durationEnd;
protected Duration incrementPeriod;
@XmlElement(required = true)
protected BigDecimal value;
protected BigDecimal minValue;
protected BigDecimal maxValue;
protected RateUsageConditionsTypeEnum usageCondition;
protected List surcharge;
protected List rateLineTax;
@XmlElement(name = "_rateLineExtension")
protected ExtensionType rateLineExtension;
@XmlAttribute(name = "sequence", required = true)
protected BigInteger sequence;
/**
* Gets the value of the rateLineType property.
*
* @return
* possible object is
* {@link RateLineTypeEnum }
*
*/
public RateLineTypeEnum getRateLineType() {
return rateLineType;
}
/**
* Sets the value of the rateLineType property.
*
* @param value
* allowed object is
* {@link RateLineTypeEnum }
*
*/
public void setRateLineType(RateLineTypeEnum value) {
this.rateLineType = value;
}
/**
* Gets the value of the description property.
*
* @return
* possible object is
* {@link MultilingualString }
*
*/
public MultilingualString getDescription() {
return description;
}
/**
* Sets the value of the description property.
*
* @param value
* allowed object is
* {@link MultilingualString }
*
*/
public void setDescription(MultilingualString value) {
this.description = value;
}
/**
* Gets the value of the durationStart property.
*
* @return
* possible object is
* {@link String }
*
*/
public LocalTime getDurationStart() {
return durationStart;
}
/**
* Sets the value of the durationStart property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDurationStart(LocalTime value) {
this.durationStart = value;
}
/**
* Gets the value of the durationEnd property.
*
* @return
* possible object is
* {@link String }
*
*/
public LocalTime getDurationEnd() {
return durationEnd;
}
/**
* Sets the value of the durationEnd property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDurationEnd(LocalTime value) {
this.durationEnd = value;
}
/**
* Gets the value of the incrementPeriod property.
*
* @return
* possible object is
* {@link Duration }
*
*/
public Duration getIncrementPeriod() {
return incrementPeriod;
}
/**
* Sets the value of the incrementPeriod property.
*
* @param value
* allowed object is
* {@link Duration }
*
*/
public void setIncrementPeriod(Duration value) {
this.incrementPeriod = value;
}
/**
* Gets the value of the value property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getValue() {
return value;
}
/**
* Sets the value of the value property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setValue(BigDecimal value) {
this.value = value;
}
/**
* Gets the value of the minValue property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getMinValue() {
return minValue;
}
/**
* Sets the value of the minValue property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setMinValue(BigDecimal value) {
this.minValue = value;
}
/**
* Gets the value of the maxValue property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getMaxValue() {
return maxValue;
}
/**
* Sets the value of the maxValue property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setMaxValue(BigDecimal value) {
this.maxValue = value;
}
/**
* Gets the value of the usageCondition property.
*
* @return
* possible object is
* {@link RateUsageConditionsTypeEnum }
*
*/
public RateUsageConditionsTypeEnum getUsageCondition() {
return usageCondition;
}
/**
* Sets the value of the usageCondition property.
*
* @param value
* allowed object is
* {@link RateUsageConditionsTypeEnum }
*
*/
public void setUsageCondition(RateUsageConditionsTypeEnum value) {
this.usageCondition = value;
}
/**
* Gets the value of the surcharge 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 surcharge property.
*
*
* For example, to add a new item, do as follows:
*
* getSurcharge().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Surcharge }
*
*
*/
public List getSurcharge() {
if (surcharge == null) {
surcharge = new ArrayList();
}
return this.surcharge;
}
/**
* Gets the value of the rateLineTax 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 rateLineTax property.
*
*
* For example, to add a new item, do as follows:
*
* getRateLineTax().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link RateLineTax }
*
*
*/
public List getRateLineTax() {
if (rateLineTax == null) {
rateLineTax = new ArrayList();
}
return this.rateLineTax;
}
/**
* Gets the value of the rateLineExtension property.
*
* @return
* possible object is
* {@link ExtensionType }
*
*/
public ExtensionType getRateLineExtension() {
return rateLineExtension;
}
/**
* Sets the value of the rateLineExtension property.
*
* @param value
* allowed object is
* {@link ExtensionType }
*
*/
public void setRateLineExtension(ExtensionType value) {
this.rateLineExtension = value;
}
/**
* Gets the value of the sequence property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getSequence() {
return sequence;
}
/**
* Sets the value of the sequence property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setSequence(BigInteger value) {
this.sequence = value;
}
}