de.focus_shift.jollyday.jaxb.mapping.Configuration Maven / Gradle / Ivy
Show all versions of jollyday-jaxb Show documentation
//
// This file was generated by the Eclipse Implementation of JAXB, v3.0.2
// See https://eclipse-ee4j.github.io/jaxb-ri
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2024.11.15 at 03:06:00 PM UTC
//
package de.focus_shift.jollyday.jaxb.mapping;
import java.util.ArrayList;
import java.util.List;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlAttribute;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlType;
/**
* Java class for Configuration complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="Configuration">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Holidays" type="{https://focus_shift.de/jollyday/schema/holiday}Holidays"/>
* <element name="Sources" type="{https://focus_shift.de/jollyday/schema/holiday}Sources" minOccurs="0"/>
* <element name="SubConfigurations" type="{https://focus_shift.de/jollyday/schema/holiday}Configuration" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* <attribute name="hierarchy" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="description" type="{http://www.w3.org/2001/XMLSchema}string" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Configuration", propOrder = {
"holidays",
"sources",
"subConfigurations"
})
public class Configuration {
@XmlElement(name = "Holidays", required = true)
protected Holidays holidays;
@XmlElement(name = "Sources")
protected Sources sources;
@XmlElement(name = "SubConfigurations")
protected List subConfigurations;
@XmlAttribute(name = "hierarchy")
protected String hierarchy;
@XmlAttribute(name = "description")
protected String description;
/**
* Gets the value of the holidays property.
*
* @return
* possible object is
* {@link Holidays }
*
*/
public Holidays getHolidays() {
return holidays;
}
/**
* Sets the value of the holidays property.
*
* @param value
* allowed object is
* {@link Holidays }
*
*/
public void setHolidays(Holidays value) {
this.holidays = value;
}
/**
* Gets the value of the sources property.
*
* @return
* possible object is
* {@link Sources }
*
*/
public Sources getSources() {
return sources;
}
/**
* Sets the value of the sources property.
*
* @param value
* allowed object is
* {@link Sources }
*
*/
public void setSources(Sources value) {
this.sources = value;
}
/**
* Gets the value of the subConfigurations 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 Jakarta XML Binding object.
* This is why there is not a set
method for the subConfigurations property.
*
*
* For example, to add a new item, do as follows:
*
* getSubConfigurations().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Configuration }
*
*
*/
public List getSubConfigurations() {
if (subConfigurations == null) {
subConfigurations = new ArrayList();
}
return this.subConfigurations;
}
/**
* Gets the value of the hierarchy property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getHierarchy() {
return hierarchy;
}
/**
* Sets the value of the hierarchy property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setHierarchy(String value) {
this.hierarchy = value;
}
/**
* Gets the value of the description property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDescription() {
return description;
}
/**
* Sets the value of the description property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDescription(String value) {
this.description = value;
}
}