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.06.27 at 11:37:10 AM GMT-10:00 006 // 007 008 009 package org.hackystat.sensorbase.resource.sensordata.jaxb; 010 011 import java.io.Serializable; 012 import javax.xml.bind.annotation.XmlAccessType; 013 import javax.xml.bind.annotation.XmlAccessorType; 014 import javax.xml.bind.annotation.XmlAttribute; 015 import javax.xml.bind.annotation.XmlRootElement; 016 import javax.xml.bind.annotation.XmlSchemaType; 017 import javax.xml.bind.annotation.XmlType; 018 import javax.xml.datatype.XMLGregorianCalendar; 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 * <attribute ref="{}Owner use="required""/> 031 * <attribute ref="{}SensorDataType use="required""/> 032 * <attribute ref="{}Timestamp use="required""/> 033 * <attribute ref="{}Tool use="required""/> 034 * <attribute ref="{}Href use="required""/> 035 * <attribute ref="{}LastMod use="required""/> 036 * </restriction> 037 * </complexContent> 038 * </complexType> 039 * </pre> 040 * 041 * 042 */ 043 @XmlAccessorType(XmlAccessType.FIELD) 044 @XmlType(name = "") 045 @XmlRootElement(name = "SensorDataRef") 046 public class SensorDataRef 047 implements Serializable 048 { 049 050 private final static long serialVersionUID = 12343L; 051 @XmlAttribute(name = "Owner", required = true) 052 protected String owner; 053 @XmlAttribute(name = "SensorDataType", required = true) 054 protected String sensorDataType; 055 @XmlAttribute(name = "Timestamp", required = true) 056 @XmlSchemaType(name = "dateTime") 057 protected XMLGregorianCalendar timestamp; 058 @XmlAttribute(name = "Tool", required = true) 059 protected String tool; 060 @XmlAttribute(name = "Href", required = true) 061 @XmlSchemaType(name = "anyURI") 062 protected String href; 063 @XmlAttribute(name = "LastMod", required = true) 064 @XmlSchemaType(name = "dateTime") 065 protected XMLGregorianCalendar lastMod; 066 067 /** 068 * Gets the value of the owner property. 069 * 070 * @return 071 * possible object is 072 * {@link String } 073 * 074 */ 075 public String getOwner() { 076 return owner; 077 } 078 079 /** 080 * Sets the value of the owner property. 081 * 082 * @param value 083 * allowed object is 084 * {@link String } 085 * 086 */ 087 public void setOwner(String value) { 088 this.owner = value; 089 } 090 091 public boolean isSetOwner() { 092 return (this.owner!= null); 093 } 094 095 /** 096 * Gets the value of the sensorDataType property. 097 * 098 * @return 099 * possible object is 100 * {@link String } 101 * 102 */ 103 public String getSensorDataType() { 104 return sensorDataType; 105 } 106 107 /** 108 * Sets the value of the sensorDataType property. 109 * 110 * @param value 111 * allowed object is 112 * {@link String } 113 * 114 */ 115 public void setSensorDataType(String value) { 116 this.sensorDataType = value; 117 } 118 119 public boolean isSetSensorDataType() { 120 return (this.sensorDataType!= null); 121 } 122 123 /** 124 * Gets the value of the timestamp property. 125 * 126 * @return 127 * possible object is 128 * {@link XMLGregorianCalendar } 129 * 130 */ 131 public XMLGregorianCalendar getTimestamp() { 132 return timestamp; 133 } 134 135 /** 136 * Sets the value of the timestamp property. 137 * 138 * @param value 139 * allowed object is 140 * {@link XMLGregorianCalendar } 141 * 142 */ 143 public void setTimestamp(XMLGregorianCalendar value) { 144 this.timestamp = value; 145 } 146 147 public boolean isSetTimestamp() { 148 return (this.timestamp!= null); 149 } 150 151 /** 152 * Gets the value of the tool property. 153 * 154 * @return 155 * possible object is 156 * {@link String } 157 * 158 */ 159 public String getTool() { 160 return tool; 161 } 162 163 /** 164 * Sets the value of the tool property. 165 * 166 * @param value 167 * allowed object is 168 * {@link String } 169 * 170 */ 171 public void setTool(String value) { 172 this.tool = value; 173 } 174 175 public boolean isSetTool() { 176 return (this.tool!= null); 177 } 178 179 /** 180 * Gets the value of the href property. 181 * 182 * @return 183 * possible object is 184 * {@link String } 185 * 186 */ 187 public String getHref() { 188 return href; 189 } 190 191 /** 192 * Sets the value of the href property. 193 * 194 * @param value 195 * allowed object is 196 * {@link String } 197 * 198 */ 199 public void setHref(String value) { 200 this.href = value; 201 } 202 203 public boolean isSetHref() { 204 return (this.href!= null); 205 } 206 207 /** 208 * Gets the value of the lastMod property. 209 * 210 * @return 211 * possible object is 212 * {@link XMLGregorianCalendar } 213 * 214 */ 215 public XMLGregorianCalendar getLastMod() { 216 return lastMod; 217 } 218 219 /** 220 * Sets the value of the lastMod property. 221 * 222 * @param value 223 * allowed object is 224 * {@link XMLGregorianCalendar } 225 * 226 */ 227 public void setLastMod(XMLGregorianCalendar value) { 228 this.lastMod = value; 229 } 230 231 public boolean isSetLastMod() { 232 return (this.lastMod!= null); 233 } 234 235 }