| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| Configuration |
|
| 1.1428571428571428;1,143 |
| 1 | // | |
| 2 | // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 | |
| 3 | // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> | |
| 4 | // Any modifications to this file will be lost upon recompilation of the source schema. | |
| 5 | // Generated on: 2015.04.14 at 06:59:39 PM CEST | |
| 6 | // | |
| 7 | ||
| 8 | ||
| 9 | package de.jollyday.config; | |
| 10 | ||
| 11 | import java.util.ArrayList; | |
| 12 | import java.util.List; | |
| 13 | import javax.xml.bind.annotation.XmlAccessType; | |
| 14 | import javax.xml.bind.annotation.XmlAccessorType; | |
| 15 | import javax.xml.bind.annotation.XmlAttribute; | |
| 16 | import javax.xml.bind.annotation.XmlElement; | |
| 17 | import javax.xml.bind.annotation.XmlType; | |
| 18 | ||
| 19 | ||
| 20 | /** | |
| 21 | * <p>Java class for Configuration complex type. | |
| 22 | * | |
| 23 | * <p>The following schema fragment specifies the expected content contained within this class. | |
| 24 | * | |
| 25 | * <pre> | |
| 26 | * <complexType name="Configuration"> | |
| 27 | * <complexContent> | |
| 28 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> | |
| 29 | * <sequence> | |
| 30 | * <element name="Holidays" type="{http://www.example.org/Holiday}Holidays"/> | |
| 31 | * <element name="SubConfigurations" type="{http://www.example.org/Holiday}Configuration" maxOccurs="unbounded" minOccurs="0"/> | |
| 32 | * </sequence> | |
| 33 | * <attribute name="hierarchy" type="{http://www.w3.org/2001/XMLSchema}string" /> | |
| 34 | * <attribute name="description" type="{http://www.w3.org/2001/XMLSchema}string" /> | |
| 35 | * </restriction> | |
| 36 | * </complexContent> | |
| 37 | * </complexType> | |
| 38 | * </pre> | |
| 39 | * | |
| 40 | * | |
| 41 | */ | |
| 42 | @XmlAccessorType(XmlAccessType.FIELD) | |
| 43 | @XmlType(name = "Configuration", propOrder = { | |
| 44 | "holidays", | |
| 45 | "subConfigurations" | |
| 46 | }) | |
| 47 | 681 | public class Configuration { |
| 48 | ||
| 49 | @XmlElement(name = "Holidays", required = true) | |
| 50 | protected Holidays holidays; | |
| 51 | @XmlElement(name = "SubConfigurations") | |
| 52 | protected List<Configuration> subConfigurations; | |
| 53 | @XmlAttribute(name = "hierarchy") | |
| 54 | protected String hierarchy; | |
| 55 | @XmlAttribute(name = "description") | |
| 56 | protected String description; | |
| 57 | ||
| 58 | /** | |
| 59 | * Gets the value of the holidays property. | |
| 60 | * | |
| 61 | * @return | |
| 62 | * possible object is | |
| 63 | * {@link Holidays } | |
| 64 | * | |
| 65 | */ | |
| 66 | public Holidays getHolidays() { | |
| 67 | 485 | return holidays; |
| 68 | } | |
| 69 | ||
| 70 | /** | |
| 71 | * Sets the value of the holidays property. | |
| 72 | * | |
| 73 | * @param value | |
| 74 | * allowed object is | |
| 75 | * {@link Holidays } | |
| 76 | * | |
| 77 | */ | |
| 78 | public void setHolidays(Holidays value) { | |
| 79 | 0 | this.holidays = value; |
| 80 | 0 | } |
| 81 | ||
| 82 | /** | |
| 83 | * Gets the value of the subConfigurations property. | |
| 84 | * | |
| 85 | * <p> | |
| 86 | * This accessor method returns a reference to the live list, | |
| 87 | * not a snapshot. Therefore any modification you make to the | |
| 88 | * returned list will be present inside the JAXB object. | |
| 89 | * This is why there is not a <CODE>set</CODE> method for the subConfigurations property. | |
| 90 | * | |
| 91 | * <p> | |
| 92 | * For example, to add a new item, do as follows: | |
| 93 | * <pre> | |
| 94 | * getSubConfigurations().add(newItem); | |
| 95 | * </pre> | |
| 96 | * | |
| 97 | * | |
| 98 | * <p> | |
| 99 | * Objects of the following type(s) are allowed in the list | |
| 100 | * {@link Configuration } | |
| 101 | * | |
| 102 | * | |
| 103 | */ | |
| 104 | public List<Configuration> getSubConfigurations() { | |
| 105 | 2504 | if (subConfigurations == null) { |
| 106 | 634 | subConfigurations = new ArrayList<Configuration>(); |
| 107 | } | |
| 108 | 2504 | return this.subConfigurations; |
| 109 | } | |
| 110 | ||
| 111 | /** | |
| 112 | * Gets the value of the hierarchy property. | |
| 113 | * | |
| 114 | * @return | |
| 115 | * possible object is | |
| 116 | * {@link String } | |
| 117 | * | |
| 118 | */ | |
| 119 | public String getHierarchy() { | |
| 120 | 5183 | return hierarchy; |
| 121 | } | |
| 122 | ||
| 123 | /** | |
| 124 | * Sets the value of the hierarchy property. | |
| 125 | * | |
| 126 | * @param value | |
| 127 | * allowed object is | |
| 128 | * {@link String } | |
| 129 | * | |
| 130 | */ | |
| 131 | public void setHierarchy(String value) { | |
| 132 | 0 | this.hierarchy = value; |
| 133 | 0 | } |
| 134 | ||
| 135 | /** | |
| 136 | * Gets the value of the description property. | |
| 137 | * | |
| 138 | * @return | |
| 139 | * possible object is | |
| 140 | * {@link String } | |
| 141 | * | |
| 142 | */ | |
| 143 | public String getDescription() { | |
| 144 | 909 | return description; |
| 145 | } | |
| 146 | ||
| 147 | /** | |
| 148 | * Sets the value of the description property. | |
| 149 | * | |
| 150 | * @param value | |
| 151 | * allowed object is | |
| 152 | * {@link String } | |
| 153 | * | |
| 154 | */ | |
| 155 | public void setDescription(String value) { | |
| 156 | 0 | this.description = value; |
| 157 | 0 | } |
| 158 | ||
| 159 | } |