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:53 AM GMT-10:00 006 // 007 008 009 package org.hackystat.sensor.ant.emma.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="{}coverage" maxOccurs="4" minOccurs="4"/> 032 * <element ref="{}method" 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 "coverage", 045 "method" 046 }) 047 @XmlRootElement(name = "class") 048 public class Class { 049 050 @XmlElement(required = true) 051 protected List<Coverage> coverage; 052 @XmlElement(required = true) 053 protected List<Method> method; 054 @XmlAttribute 055 protected String name; 056 057 /** 058 * Gets the value of the coverage property. 059 * 060 * <p> 061 * This accessor method returns a reference to the live list, 062 * not a snapshot. Therefore any modification you make to the 063 * returned list will be present inside the JAXB object. 064 * This is why there is not a <CODE>set</CODE> method for the coverage property. 065 * 066 * <p> 067 * For example, to add a new item, do as follows: 068 * <pre> 069 * getCoverage().add(newItem); 070 * </pre> 071 * 072 * 073 * <p> 074 * Objects of the following type(s) are allowed in the list 075 * {@link Coverage } 076 * 077 * 078 */ 079 public List<Coverage> getCoverage() { 080 if (coverage == null) { 081 coverage = new ArrayList<Coverage>(); 082 } 083 return this.coverage; 084 } 085 086 /** 087 * Gets the value of the method property. 088 * 089 * <p> 090 * This accessor method returns a reference to the live list, 091 * not a snapshot. Therefore any modification you make to the 092 * returned list will be present inside the JAXB object. 093 * This is why there is not a <CODE>set</CODE> method for the method property. 094 * 095 * <p> 096 * For example, to add a new item, do as follows: 097 * <pre> 098 * getMethod().add(newItem); 099 * </pre> 100 * 101 * 102 * <p> 103 * Objects of the following type(s) are allowed in the list 104 * {@link Method } 105 * 106 * 107 */ 108 public List<Method> getMethod() { 109 if (method == null) { 110 method = new ArrayList<Method>(); 111 } 112 return this.method; 113 } 114 115 /** 116 * Gets the value of the name property. 117 * 118 * @return 119 * possible object is 120 * {@link String } 121 * 122 */ 123 public String getName() { 124 return name; 125 } 126 127 /** 128 * Sets the value of the name property. 129 * 130 * @param value 131 * allowed object is 132 * {@link String } 133 * 134 */ 135 public void setName(String value) { 136 this.name = value; 137 } 138 139 }