001 // 002 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.5-b01-fcs 003 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 004 // Any modifications to this file will be lost upon recompilation of the source schema. 005 // Generated on: 2008.01.25 at 09:11:54 AM GMT-10:00 006 // 007 008 009 package org.hackystat.sensor.ant.findbugs.jaxb; 010 011 import java.util.ArrayList; 012 import java.util.List; 013 import javax.xml.bind.annotation.XmlAccessType; 014 import javax.xml.bind.annotation.XmlAccessorType; 015 import javax.xml.bind.annotation.XmlElement; 016 import javax.xml.bind.annotation.XmlRootElement; 017 import javax.xml.bind.annotation.XmlType; 018 019 020 /** 021 * <p>Java class for anonymous complex type. 022 * 023 * <p>The following schema fragment specifies the expected content contained within this class. 024 * 025 * <pre> 026 * <complexType> 027 * <complexContent> 028 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 029 * <sequence> 030 * <element ref="{}Project"/> 031 * <element ref="{}BugInstance" maxOccurs="unbounded"/> 032 * </sequence> 033 * </restriction> 034 * </complexContent> 035 * </complexType> 036 * </pre> 037 * 038 * 039 */ 040 @XmlAccessorType(XmlAccessType.FIELD) 041 @XmlType(name = "", propOrder = { 042 "project", 043 "bugInstance" 044 }) 045 @XmlRootElement(name = "BugCollection") 046 public class BugCollection { 047 048 @XmlElement(name = "Project", required = true) 049 protected Project project; 050 @XmlElement(name = "BugInstance", required = true) 051 protected List<BugInstance> bugInstance; 052 053 /** 054 * Gets the value of the project property. 055 * 056 * @return 057 * possible object is 058 * {@link Project } 059 * 060 */ 061 public Project getProject() { 062 return project; 063 } 064 065 /** 066 * Sets the value of the project property. 067 * 068 * @param value 069 * allowed object is 070 * {@link Project } 071 * 072 */ 073 public void setProject(Project value) { 074 this.project = value; 075 } 076 077 /** 078 * Gets the value of the bugInstance property. 079 * 080 * <p> 081 * This accessor method returns a reference to the live list, 082 * not a snapshot. Therefore any modification you make to the 083 * returned list will be present inside the JAXB object. 084 * This is why there is not a <CODE>set</CODE> method for the bugInstance property. 085 * 086 * <p> 087 * For example, to add a new item, do as follows: 088 * <pre> 089 * getBugInstance().add(newItem); 090 * </pre> 091 * 092 * 093 * <p> 094 * Objects of the following type(s) are allowed in the list 095 * {@link BugInstance } 096 * 097 * 098 */ 099 public List<BugInstance> getBugInstance() { 100 if (bugInstance == null) { 101 bugInstance = new ArrayList<BugInstance>(); 102 } 103 return this.bugInstance; 104 } 105 106 }