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:56 AM GMT-10:00 006 // 007 008 009 package org.hackystat.sensor.ant.clover.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.XmlAttribute; 016 import javax.xml.bind.annotation.XmlElement; 017 import javax.xml.bind.annotation.XmlRootElement; 018 import javax.xml.bind.annotation.XmlType; 019 020 021 /** 022 * <p>Java class for anonymous complex type. 023 * 024 * <p>The following schema fragment specifies the expected content contained within this class. 025 * 026 * <pre> 027 * <complexType> 028 * <complexContent> 029 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 030 * <sequence> 031 * <element ref="{}metrics"/> 032 * <element ref="{}file" maxOccurs="unbounded"/> 033 * </sequence> 034 * <attribute ref="{}name"/> 035 * </restriction> 036 * </complexContent> 037 * </complexType> 038 * </pre> 039 * 040 * 041 */ 042 @XmlAccessorType(XmlAccessType.FIELD) 043 @XmlType(name = "", propOrder = { 044 "metrics", 045 "file" 046 }) 047 @XmlRootElement(name = "package") 048 public class Package { 049 050 @XmlElement(required = true) 051 protected Metrics metrics; 052 @XmlElement(required = true) 053 protected List<File> file; 054 @XmlAttribute 055 protected String name; 056 057 /** 058 * Gets the value of the metrics property. 059 * 060 * @return 061 * possible object is 062 * {@link Metrics } 063 * 064 */ 065 public Metrics getMetrics() { 066 return metrics; 067 } 068 069 /** 070 * Sets the value of the metrics property. 071 * 072 * @param value 073 * allowed object is 074 * {@link Metrics } 075 * 076 */ 077 public void setMetrics(Metrics value) { 078 this.metrics = value; 079 } 080 081 /** 082 * Gets the value of the file property. 083 * 084 * <p> 085 * This accessor method returns a reference to the live list, 086 * not a snapshot. Therefore any modification you make to the 087 * returned list will be present inside the JAXB object. 088 * This is why there is not a <CODE>set</CODE> method for the file property. 089 * 090 * <p> 091 * For example, to add a new item, do as follows: 092 * <pre> 093 * getFile().add(newItem); 094 * </pre> 095 * 096 * 097 * <p> 098 * Objects of the following type(s) are allowed in the list 099 * {@link File } 100 * 101 * 102 */ 103 public List<File> getFile() { 104 if (file == null) { 105 file = new ArrayList<File>(); 106 } 107 return this.file; 108 } 109 110 /** 111 * Gets the value of the name property. 112 * 113 * @return 114 * possible object is 115 * {@link String } 116 * 117 */ 118 public String getName() { 119 return name; 120 } 121 122 /** 123 * Sets the value of the name property. 124 * 125 * @param value 126 * allowed object is 127 * {@link String } 128 * 129 */ 130 public void setName(String value) { 131 this.name = value; 132 } 133 134 }