/* * Dog - Addons * * Copyright (c) 2011 Dario Bonino, Luigi De Russis and Emiliano Castellina * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License */ // // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1-b02-fcs // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2011.03.07 at 11:46:33 AM CET // package it.polito.elite.dog.addons.rules.schemalibrary; 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.XmlType; /** * <p>Java class for day complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="day"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="day" maxOccurs="unbounded"> * <simpleType> * <restriction base="{http://www.w3.org/2001/XMLSchema}int"> * <enumeration value="1"/> * <enumeration value="2"/> * <enumeration value="3"/> * <enumeration value="4"/> * <enumeration value="5"/> * <enumeration value="6"/> * <enumeration value="7"/> * <whiteSpace value="collapse"/> * </restriction> * </simpleType> * </element> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "day", propOrder = { "day" }) public class Day { @XmlElement(type = Integer.class) protected List<Integer> day; /** * Gets the value of the day property. * * <p> * 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 <CODE>set</CODE> method for the day property. * * <p> * For example, to add a new item, do as follows: * <pre> * getDay().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link Integer } * * */ public List<Integer> getDay() { if (day == null) { day = new ArrayList<Integer>(); } return this.day; } }