com.hubject.datex.energyinfrastructure.generated.common.SpecialDay 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.common;
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;
/**
* Java class for SpecialDay complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="SpecialDay">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="intersectWithApplicableDays" type="{http://datex2.eu/schema/3/common}Boolean"/>
* <element name="specialDayType" type="{http://datex2.eu/schema/3/common}_SpecialDayTypeEnum"/>
* <element name="publicEvent" type="{http://datex2.eu/schema/3/common}_PublicEventTypeEnum" minOccurs="0"/>
* <element name="namedArea" type="{http://datex2.eu/schema/3/common}NamedArea" maxOccurs="unbounded" minOccurs="0"/>
* <element name="_specialDayExtension" type="{http://datex2.eu/schema/3/common}_ExtensionType" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "SpecialDay", propOrder = {
"intersectWithApplicableDays",
"specialDayType",
"publicEvent",
"namedArea",
"specialDayExtension"
})
@XmlSeeAlso({
PublicHoliday.class
})
public class SpecialDay {
protected boolean intersectWithApplicableDays;
@XmlElement(required = true)
protected SpecialDayTypeEnum specialDayType;
protected PublicEventTypeEnum publicEvent;
protected List namedArea;
@XmlElement(name = "_specialDayExtension")
protected ExtensionType specialDayExtension;
/**
* Gets the value of the intersectWithApplicableDays property.
*
*/
public boolean isIntersectWithApplicableDays() {
return intersectWithApplicableDays;
}
/**
* Sets the value of the intersectWithApplicableDays property.
*
*/
public void setIntersectWithApplicableDays(boolean value) {
this.intersectWithApplicableDays = value;
}
/**
* Gets the value of the specialDayType property.
*
* @return
* possible object is
* {@link SpecialDayTypeEnum }
*
*/
public SpecialDayTypeEnum getSpecialDayType() {
return specialDayType;
}
/**
* Sets the value of the specialDayType property.
*
* @param value
* allowed object is
* {@link SpecialDayTypeEnum }
*
*/
public void setSpecialDayType(SpecialDayTypeEnum value) {
this.specialDayType = value;
}
/**
* Gets the value of the publicEvent property.
*
* @return
* possible object is
* {@link PublicEventTypeEnum }
*
*/
public PublicEventTypeEnum getPublicEvent() {
return publicEvent;
}
/**
* Sets the value of the publicEvent property.
*
* @param value
* allowed object is
* {@link PublicEventTypeEnum }
*
*/
public void setPublicEvent(PublicEventTypeEnum value) {
this.publicEvent = value;
}
/**
* Gets the value of the namedArea 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 namedArea property.
*
*
* For example, to add a new item, do as follows:
*
* getNamedArea().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link NamedArea }
*
*
*/
public List getNamedArea() {
if (namedArea == null) {
namedArea = new ArrayList();
}
return this.namedArea;
}
/**
* Gets the value of the specialDayExtension property.
*
* @return
* possible object is
* {@link ExtensionType }
*
*/
public ExtensionType getSpecialDayExtension() {
return specialDayExtension;
}
/**
* Sets the value of the specialDayExtension property.
*
* @param value
* allowed object is
* {@link ExtensionType }
*
*/
public void setSpecialDayExtension(ExtensionType value) {
this.specialDayExtension = value;
}
}