Coverage Report - org.kuali.student.core.dictionary.old.dto.ObjectStructure
 
Classes in this File Line Coverage Branch Coverage Complexity
ObjectStructure
0%
0/18
0%
0/2
1.1
 
 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.0 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: 2008.10.21 at 02:14:18 PM PDT 
 21  
 //
 22  
 
 23  
 
 24  
 package org.kuali.student.core.dictionary.old.dto;
 25  
 
 26  
 import java.io.Serializable;
 27  
 import java.util.ArrayList;
 28  
 import java.util.List;
 29  
 
 30  
 import javax.xml.bind.annotation.XmlAccessType;
 31  
 import javax.xml.bind.annotation.XmlAccessorType;
 32  
 import javax.xml.bind.annotation.XmlAttribute;
 33  
 import javax.xml.bind.annotation.XmlElement;
 34  
 
 35  
 
 36  
 /**
 37  
  * <p>Java class for anonymous complex type.
 38  
  * 
 39  
  * <p>The following schema fragment specifies the expected content contained within this class.
 40  
  * 
 41  
  * <pre>
 42  
  * &lt;complexType>
 43  
  *   &lt;complexContent>
 44  
  *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 45  
  *       &lt;sequence>
 46  
  *         &lt;element ref="{http://www.dto.dictionary.student.kuali.org}type" maxOccurs="unbounded"/>
 47  
  *       &lt;/sequence>
 48  
  *       &lt;attribute name="objectTypeKey" type="{http://www.w3.org/2001/XMLSchema}string" />
 49  
  *     &lt;/restriction>
 50  
  *   &lt;/complexContent>
 51  
  * &lt;/complexType>
 52  
  * </pre>
 53  
  * 
 54  
  * 
 55  
  */
 56  
 @XmlAccessorType(XmlAccessType.FIELD)
 57  0
 public class ObjectStructure implements Serializable{
 58  
 
 59  
     private static final long serialVersionUID = 1L;
 60  
 
 61  
     @XmlAttribute(required = true)
 62  
     protected String key;
 63  
 
 64  
     @XmlAttribute
 65  
     protected String id;
 66  
 
 67  
     @XmlElement(required = true)
 68  
     protected List<Type> type;
 69  
 
 70  
     @XmlElement
 71  
     protected String name;
 72  
     
 73  
     @XmlElement 
 74  
     protected String desc;
 75  
     
 76  
     /**
 77  
      * Gets the value of the type property.
 78  
      * 
 79  
      * <p>
 80  
      * This accessor method returns a reference to the live list,
 81  
      * not a snapshot. Therefore any modification you make to the
 82  
      * returned list will be present inside the JAXB object.
 83  
      * This is why there is not a <CODE>set</CODE> method for the type property.
 84  
      * 
 85  
      * <p>
 86  
      * For example, to add a new item, do as follows:
 87  
      * <pre>
 88  
      *    getType().add(newItem);
 89  
      * </pre>
 90  
      * 
 91  
      * 
 92  
      * <p>
 93  
      * Objects of the following type(s) are allowed in the list
 94  
      * {@link Type }
 95  
      * 
 96  
      * 
 97  
      */
 98  
     public List<Type> getType() {
 99  0
         if (type == null) {
 100  0
             type = new ArrayList<Type>();
 101  
         }
 102  0
         return this.type;
 103  
     }
 104  
 
 105  
     /**
 106  
      * Gets the value of the key property.
 107  
      * 
 108  
      * @return
 109  
      *     possible object is
 110  
      *     {@link String }
 111  
      *     
 112  
      */
 113  
     public String getKey() {
 114  0
         return key;
 115  
     }
 116  
 
 117  
     /**
 118  
      * Sets the value of the key property.
 119  
      * 
 120  
      * @param value
 121  
      *     allowed object is
 122  
      *     {@link String }
 123  
      *     
 124  
      */
 125  
     public void setKey(String value) {
 126  0
         this.key = value;
 127  0
     }
 128  
 
 129  
         public void setType(List<Type> type) {
 130  0
                 this.type = type;
 131  0
         }
 132  
 
 133  
         public String getId() {
 134  0
                 return id;
 135  
         }
 136  
 
 137  
         public void setId(String id) {
 138  0
                 this.id = id;
 139  0
         }
 140  
 
 141  
         public String getName() {
 142  0
                 return name;
 143  
         }
 144  
 
 145  
         public void setName(String name) {
 146  0
                 this.name = name;
 147  0
         }
 148  
 
 149  
         public String getDesc() {
 150  0
                 return desc;
 151  
         }
 152  
 
 153  
         public void setDesc(String desc) {
 154  0
                 this.desc = desc;
 155  0
         }
 156  
 }