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:07 AM GMT-10:00 006 // 007 008 009 package org.hackystat.sensorbase.resource.sensordatatypes.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="{}Name use="required""/> 031 * <attribute ref="{}Href use="required""/> 032 * <attribute ref="{}LastMod use="required""/> 033 * </restriction> 034 * </complexContent> 035 * </complexType> 036 * </pre> 037 * 038 * 039 */ 040 @XmlAccessorType(XmlAccessType.FIELD) 041 @XmlType(name = "") 042 @XmlRootElement(name = "SensorDataTypeRef") 043 public class SensorDataTypeRef 044 implements Serializable 045 { 046 047 private final static long serialVersionUID = 12343L; 048 @XmlAttribute(name = "Name", required = true) 049 protected String name; 050 @XmlAttribute(name = "Href", required = true) 051 @XmlSchemaType(name = "anyURI") 052 protected String href; 053 @XmlAttribute(name = "LastMod", required = true) 054 @XmlSchemaType(name = "dateTime") 055 protected XMLGregorianCalendar lastMod; 056 057 /** 058 * Gets the value of the name property. 059 * 060 * @return 061 * possible object is 062 * {@link String } 063 * 064 */ 065 public String getName() { 066 return name; 067 } 068 069 /** 070 * Sets the value of the name property. 071 * 072 * @param value 073 * allowed object is 074 * {@link String } 075 * 076 */ 077 public void setName(String value) { 078 this.name = value; 079 } 080 081 public boolean isSetName() { 082 return (this.name!= null); 083 } 084 085 /** 086 * Gets the value of the href property. 087 * 088 * @return 089 * possible object is 090 * {@link String } 091 * 092 */ 093 public String getHref() { 094 return href; 095 } 096 097 /** 098 * Sets the value of the href property. 099 * 100 * @param value 101 * allowed object is 102 * {@link String } 103 * 104 */ 105 public void setHref(String value) { 106 this.href = value; 107 } 108 109 public boolean isSetHref() { 110 return (this.href!= null); 111 } 112 113 /** 114 * Gets the value of the lastMod property. 115 * 116 * @return 117 * possible object is 118 * {@link XMLGregorianCalendar } 119 * 120 */ 121 public XMLGregorianCalendar getLastMod() { 122 return lastMod; 123 } 124 125 /** 126 * Sets the value of the lastMod property. 127 * 128 * @param value 129 * allowed object is 130 * {@link XMLGregorianCalendar } 131 * 132 */ 133 public void setLastMod(XMLGregorianCalendar value) { 134 this.lastMod = value; 135 } 136 137 public boolean isSetLastMod() { 138 return (this.lastMod!= null); 139 } 140 141 }