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:55 AM GMT-10:00 006 // 007 008 009 package org.hackystat.sensor.ant.pmd.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.XmlRootElement; 017 import javax.xml.bind.annotation.XmlSchemaType; 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="{}file" maxOccurs="unbounded" minOccurs="0"/> 032 * </sequence> 033 * <attribute name="version" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" /> 034 * <attribute name="timestamp" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" /> 035 * <attribute name="elaspsedTime" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" /> 036 * </restriction> 037 * </complexContent> 038 * </complexType> 039 * </pre> 040 * 041 * 042 */ 043 @XmlAccessorType(XmlAccessType.FIELD) 044 @XmlType(name = "", propOrder = { 045 "file" 046 }) 047 @XmlRootElement(name = "pmd") 048 public class Pmd { 049 050 protected List<File> file; 051 @XmlAttribute 052 @XmlSchemaType(name = "anySimpleType") 053 protected String version; 054 @XmlAttribute 055 @XmlSchemaType(name = "anySimpleType") 056 protected String timestamp; 057 @XmlAttribute 058 @XmlSchemaType(name = "anySimpleType") 059 protected String elaspsedTime; 060 061 /** 062 * Gets the value of the file property. 063 * 064 * <p> 065 * This accessor method returns a reference to the live list, 066 * not a snapshot. Therefore any modification you make to the 067 * returned list will be present inside the JAXB object. 068 * This is why there is not a <CODE>set</CODE> method for the file property. 069 * 070 * <p> 071 * For example, to add a new item, do as follows: 072 * <pre> 073 * getFile().add(newItem); 074 * </pre> 075 * 076 * 077 * <p> 078 * Objects of the following type(s) are allowed in the list 079 * {@link File } 080 * 081 * 082 */ 083 public List<File> getFile() { 084 if (file == null) { 085 file = new ArrayList<File>(); 086 } 087 return this.file; 088 } 089 090 /** 091 * Gets the value of the version property. 092 * 093 * @return 094 * possible object is 095 * {@link String } 096 * 097 */ 098 public String getVersion() { 099 return version; 100 } 101 102 /** 103 * Sets the value of the version property. 104 * 105 * @param value 106 * allowed object is 107 * {@link String } 108 * 109 */ 110 public void setVersion(String value) { 111 this.version = value; 112 } 113 114 /** 115 * Gets the value of the timestamp property. 116 * 117 * @return 118 * possible object is 119 * {@link String } 120 * 121 */ 122 public String getTimestamp() { 123 return timestamp; 124 } 125 126 /** 127 * Sets the value of the timestamp property. 128 * 129 * @param value 130 * allowed object is 131 * {@link String } 132 * 133 */ 134 public void setTimestamp(String value) { 135 this.timestamp = value; 136 } 137 138 /** 139 * Gets the value of the elaspsedTime property. 140 * 141 * @return 142 * possible object is 143 * {@link String } 144 * 145 */ 146 public String getElaspsedTime() { 147 return elaspsedTime; 148 } 149 150 /** 151 * Sets the value of the elaspsedTime property. 152 * 153 * @param value 154 * allowed object is 155 * {@link String } 156 * 157 */ 158 public void setElaspsedTime(String value) { 159 this.elaspsedTime = value; 160 } 161 162 }