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:52 AM GMT-10:00 006 // 007 008 009 package org.hackystat.sensor.ant.junit.jaxb; 010 011 import javax.xml.bind.annotation.XmlAccessType; 012 import javax.xml.bind.annotation.XmlAccessorType; 013 import javax.xml.bind.annotation.XmlAttribute; 014 import javax.xml.bind.annotation.XmlRootElement; 015 import javax.xml.bind.annotation.XmlType; 016 017 018 /** 019 * <p>Java class for anonymous complex type. 020 * 021 * <p>The following schema fragment specifies the expected content contained within this class. 022 * 023 * <pre> 024 * <complexType> 025 * <complexContent> 026 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 027 * <sequence> 028 * <element ref="{}failure" minOccurs="0"/> 029 * <element ref="{}error" minOccurs="0"/> 030 * </sequence> 031 * <attribute ref="{}classname use="required""/> 032 * <attribute ref="{}name"/> 033 * <attribute ref="{}time"/> 034 * </restriction> 035 * </complexContent> 036 * </complexType> 037 * </pre> 038 * 039 * 040 */ 041 @XmlAccessorType(XmlAccessType.FIELD) 042 @XmlType(name = "", propOrder = { 043 "failure", 044 "error" 045 }) 046 @XmlRootElement(name = "testcase") 047 public class Testcase { 048 049 protected Failure failure; 050 protected Error error; 051 @XmlAttribute(required = true) 052 protected String classname; 053 @XmlAttribute 054 protected String name; 055 @XmlAttribute 056 protected Double time; 057 058 /** 059 * Gets the value of the failure property. 060 * 061 * @return 062 * possible object is 063 * {@link Failure } 064 * 065 */ 066 public Failure getFailure() { 067 return failure; 068 } 069 070 /** 071 * Sets the value of the failure property. 072 * 073 * @param value 074 * allowed object is 075 * {@link Failure } 076 * 077 */ 078 public void setFailure(Failure value) { 079 this.failure = value; 080 } 081 082 /** 083 * Gets the value of the error property. 084 * 085 * @return 086 * possible object is 087 * {@link Error } 088 * 089 */ 090 public Error getError() { 091 return error; 092 } 093 094 /** 095 * Sets the value of the error property. 096 * 097 * @param value 098 * allowed object is 099 * {@link Error } 100 * 101 */ 102 public void setError(Error value) { 103 this.error = value; 104 } 105 106 /** 107 * Gets the value of the classname property. 108 * 109 * @return 110 * possible object is 111 * {@link String } 112 * 113 */ 114 public String getClassname() { 115 return classname; 116 } 117 118 /** 119 * Sets the value of the classname property. 120 * 121 * @param value 122 * allowed object is 123 * {@link String } 124 * 125 */ 126 public void setClassname(String value) { 127 this.classname = value; 128 } 129 130 /** 131 * Gets the value of the name property. 132 * 133 * @return 134 * possible object is 135 * {@link String } 136 * 137 */ 138 public String getName() { 139 return name; 140 } 141 142 /** 143 * Sets the value of the name property. 144 * 145 * @param value 146 * allowed object is 147 * {@link String } 148 * 149 */ 150 public void setName(String value) { 151 this.name = value; 152 } 153 154 /** 155 * Gets the value of the time property. 156 * 157 * @return 158 * possible object is 159 * {@link Double } 160 * 161 */ 162 public Double getTime() { 163 return time; 164 } 165 166 /** 167 * Sets the value of the time property. 168 * 169 * @param value 170 * allowed object is 171 * {@link Double } 172 * 173 */ 174 public void setTime(Double value) { 175 this.time = value; 176 } 177 178 }