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: 2007.12.18 at 12:14:46 PM GMT-10:00 006 // 007 008 009 package org.hackystat.sensor.xmldata.jaxb; 010 011 import java.util.HashMap; 012 import java.util.Map; 013 import javax.xml.bind.annotation.XmlAccessType; 014 import javax.xml.bind.annotation.XmlAccessorType; 015 import javax.xml.bind.annotation.XmlAnyAttribute; 016 import javax.xml.bind.annotation.XmlAttribute; 017 import javax.xml.bind.annotation.XmlRootElement; 018 import javax.xml.bind.annotation.XmlType; 019 import javax.xml.namespace.QName; 020 021 022 /** 023 * <p>Java class for anonymous complex type. 024 * 025 * <p>The following schema fragment specifies the expected content contained within this class. 026 * 027 * <pre> 028 * <complexType> 029 * <complexContent> 030 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 031 * <attribute name="Tool" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> 032 * <attribute name="Resource" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> 033 * </restriction> 034 * </complexContent> 035 * </complexType> 036 * </pre> 037 * 038 * 039 */ 040 @XmlAccessorType(XmlAccessType.FIELD) 041 @XmlType(name = "") 042 @XmlRootElement(name = "Entry") 043 public class Entry { 044 045 @XmlAttribute(name = "Tool", required = true) 046 protected String tool; 047 @XmlAttribute(name = "Resource", required = true) 048 protected String resource; 049 @XmlAnyAttribute 050 private Map<QName, String> otherAttributes = new HashMap<QName, String>(); 051 052 /** 053 * Gets the value of the tool property. 054 * 055 * @return 056 * possible object is 057 * {@link String } 058 * 059 */ 060 public String getTool() { 061 return tool; 062 } 063 064 /** 065 * Sets the value of the tool property. 066 * 067 * @param value 068 * allowed object is 069 * {@link String } 070 * 071 */ 072 public void setTool(String value) { 073 this.tool = value; 074 } 075 076 /** 077 * Gets the value of the resource property. 078 * 079 * @return 080 * possible object is 081 * {@link String } 082 * 083 */ 084 public String getResource() { 085 return resource; 086 } 087 088 /** 089 * Sets the value of the resource property. 090 * 091 * @param value 092 * allowed object is 093 * {@link String } 094 * 095 */ 096 public void setResource(String value) { 097 this.resource = value; 098 } 099 100 /** 101 * Gets a map that contains attributes that aren't bound to any typed property on this class. 102 * 103 * <p> 104 * the map is keyed by the name of the attribute and 105 * the value is the string value of the attribute. 106 * 107 * the map returned by this method is live, and you can add new attribute 108 * by updating the map directly. Because of this design, there's no setter. 109 * 110 * 111 * @return 112 * always non-null 113 */ 114 public Map<QName, String> getOtherAttributes() { 115 return otherAttributes; 116 } 117 118 }