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="{}Jar"/> 031 * <element ref="{}SrcDir" maxOccurs="unbounded"/> 032 * </sequence> 033 * </restriction> 034 * </complexContent> 035 * </complexType> 036 * </pre> 037 * 038 * 039 */ 040 @XmlAccessorType(XmlAccessType.FIELD) 041 @XmlType(name = "", propOrder = { 042 "jar", 043 "srcDir" 044 }) 045 @XmlRootElement(name = "Project") 046 public class Project { 047 048 @XmlElement(name = "Jar", required = true) 049 protected String jar; 050 @XmlElement(name = "SrcDir", required = true) 051 protected List<String> srcDir; 052 053 /** 054 * Gets the value of the jar property. 055 * 056 * @return 057 * possible object is 058 * {@link String } 059 * 060 */ 061 public String getJar() { 062 return jar; 063 } 064 065 /** 066 * Sets the value of the jar property. 067 * 068 * @param value 069 * allowed object is 070 * {@link String } 071 * 072 */ 073 public void setJar(String value) { 074 this.jar = value; 075 } 076 077 /** 078 * Gets the value of the srcDir 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 srcDir property. 085 * 086 * <p> 087 * For example, to add a new item, do as follows: 088 * <pre> 089 * getSrcDir().add(newItem); 090 * </pre> 091 * 092 * 093 * <p> 094 * Objects of the following type(s) are allowed in the list 095 * {@link String } 096 * 097 * 098 */ 099 public List<String> getSrcDir() { 100 if (srcDir == null) { 101 srcDir = new ArrayList<String>(); 102 } 103 return this.srcDir; 104 } 105 106 }