| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| Fields |
|
| 2.0;2 |
| 1 | /** | |
| 2 | * Copyright 2010 The Kuali Foundation Licensed under the | |
| 3 | * Educational Community License, Version 2.0 (the "License"); you may | |
| 4 | * not use this file except in compliance with the License. You may | |
| 5 | * obtain a copy of the License at | |
| 6 | * | |
| 7 | * http://www.osedu.org/licenses/ECL-2.0 | |
| 8 | * | |
| 9 | * Unless required by applicable law or agreed to in writing, | |
| 10 | * software distributed under the License is distributed on an "AS IS" | |
| 11 | * BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express | |
| 12 | * or implied. See the License for the specific language governing | |
| 13 | * permissions and limitations under the License. | |
| 14 | */ | |
| 15 | ||
| 16 | // | |
| 17 | // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6 | |
| 18 | // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> | |
| 19 | // Any modifications to this file will be lost upon recompilation of the source schema. | |
| 20 | // Generated on: 2010.01.08 at 02:11:47 PM EST | |
| 21 | // | |
| 22 | ||
| 23 | ||
| 24 | package org.kuali.student.core.organization.dynamic; | |
| 25 | ||
| 26 | import java.util.ArrayList; | |
| 27 | import java.util.List; | |
| 28 | ||
| 29 | import javax.xml.bind.annotation.XmlAccessType; | |
| 30 | import javax.xml.bind.annotation.XmlAccessorType; | |
| 31 | import javax.xml.bind.annotation.XmlElement; | |
| 32 | import javax.xml.bind.annotation.XmlType; | |
| 33 | ||
| 34 | ||
| 35 | /** | |
| 36 | * <p>Java class for fields complex type. | |
| 37 | * | |
| 38 | * <p>The following schema fragment specifies the expected content contained within this class. | |
| 39 | * | |
| 40 | * <pre> | |
| 41 | * <complexType name="fields"> | |
| 42 | * <complexContent> | |
| 43 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> | |
| 44 | * <sequence> | |
| 45 | * <element name="field" type="{}field" maxOccurs="unbounded"/> | |
| 46 | * <element name="multipleField" type="{}multipleField" maxOccurs="unbounded"/> | |
| 47 | * </sequence> | |
| 48 | * </restriction> | |
| 49 | * </complexContent> | |
| 50 | * </complexType> | |
| 51 | * </pre> | |
| 52 | * | |
| 53 | * | |
| 54 | */ | |
| 55 | @XmlAccessorType(XmlAccessType.FIELD) | |
| 56 | @XmlType(name = "fields", propOrder = { | |
| 57 | "field", | |
| 58 | "multipleField" | |
| 59 | }) | |
| 60 | 0 | public class Fields { |
| 61 | ||
| 62 | @XmlElement(required = true) | |
| 63 | protected List<Field> field; | |
| 64 | @XmlElement(required = true) | |
| 65 | protected List<MultipleField> multipleField; | |
| 66 | ||
| 67 | /** | |
| 68 | * Gets the value of the field property. | |
| 69 | * | |
| 70 | * <p> | |
| 71 | * This accessor method returns a reference to the live list, | |
| 72 | * not a snapshot. Therefore any modification you make to the | |
| 73 | * returned list will be present inside the JAXB object. | |
| 74 | * This is why there is not a <CODE>set</CODE> method for the field property. | |
| 75 | * | |
| 76 | * <p> | |
| 77 | * For example, to add a new item, do as follows: | |
| 78 | * <pre> | |
| 79 | * getField().add(newItem); | |
| 80 | * </pre> | |
| 81 | * | |
| 82 | * | |
| 83 | * <p> | |
| 84 | * Objects of the following type(s) are allowed in the list | |
| 85 | * {@link Field } | |
| 86 | * | |
| 87 | * | |
| 88 | */ | |
| 89 | public List<Field> getField() { | |
| 90 | 0 | if (field == null) { |
| 91 | 0 | field = new ArrayList<Field>(); |
| 92 | } | |
| 93 | 0 | return this.field; |
| 94 | } | |
| 95 | ||
| 96 | /** | |
| 97 | * Gets the value of the multipleField property. | |
| 98 | * | |
| 99 | * <p> | |
| 100 | * This accessor method returns a reference to the live list, | |
| 101 | * not a snapshot. Therefore any modification you make to the | |
| 102 | * returned list will be present inside the JAXB object. | |
| 103 | * This is why there is not a <CODE>set</CODE> method for the multipleField property. | |
| 104 | * | |
| 105 | * <p> | |
| 106 | * For example, to add a new item, do as follows: | |
| 107 | * <pre> | |
| 108 | * getMultipleField().add(newItem); | |
| 109 | * </pre> | |
| 110 | * | |
| 111 | * | |
| 112 | * <p> | |
| 113 | * Objects of the following type(s) are allowed in the list | |
| 114 | * {@link MultipleField } | |
| 115 | * | |
| 116 | * | |
| 117 | */ | |
| 118 | public List<MultipleField> getMultipleField() { | |
| 119 | 0 | if (multipleField == null) { |
| 120 | 0 | multipleField = new ArrayList<MultipleField>(); |
| 121 | } | |
| 122 | 0 | return this.multipleField; |
| 123 | } | |
| 124 | ||
| 125 | } |