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:11 AM GMT-10:00 006 // 007 008 009 package org.hackystat.sensorbase.resource.projects.jaxb; 010 011 import java.io.Serializable; 012 import java.util.ArrayList; 013 import java.util.List; 014 import javax.xml.bind.annotation.XmlAccessType; 015 import javax.xml.bind.annotation.XmlAccessorType; 016 import javax.xml.bind.annotation.XmlAttribute; 017 import javax.xml.bind.annotation.XmlElement; 018 import javax.xml.bind.annotation.XmlRootElement; 019 import javax.xml.bind.annotation.XmlSchemaType; 020 import javax.xml.bind.annotation.XmlType; 021 import javax.xml.datatype.XMLGregorianCalendar; 022 023 024 /** 025 * <p>Java class for anonymous complex type. 026 * 027 * <p>The following schema fragment specifies the expected content contained within this class. 028 * 029 * <pre> 030 * <complexType> 031 * <complexContent> 032 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 033 * <sequence> 034 * <element ref="{}ProjectRef" maxOccurs="unbounded" minOccurs="0"/> 035 * </sequence> 036 * <attribute ref="{}LastMod"/> 037 * </restriction> 038 * </complexContent> 039 * </complexType> 040 * </pre> 041 * 042 * 043 */ 044 @XmlAccessorType(XmlAccessType.FIELD) 045 @XmlType(name = "", propOrder = { 046 "projectRef" 047 }) 048 @XmlRootElement(name = "ProjectIndex") 049 public class ProjectIndex 050 implements Serializable 051 { 052 053 private final static long serialVersionUID = 12343L; 054 @XmlElement(name = "ProjectRef") 055 protected List<ProjectRef> projectRef; 056 @XmlAttribute(name = "LastMod") 057 @XmlSchemaType(name = "dateTime") 058 protected XMLGregorianCalendar lastMod; 059 060 /** 061 * Gets the value of the projectRef property. 062 * 063 * <p> 064 * This accessor method returns a reference to the live list, 065 * not a snapshot. Therefore any modification you make to the 066 * returned list will be present inside the JAXB object. 067 * This is why there is not a <CODE>set</CODE> method for the projectRef property. 068 * 069 * <p> 070 * For example, to add a new item, do as follows: 071 * <pre> 072 * getProjectRef().add(newItem); 073 * </pre> 074 * 075 * 076 * <p> 077 * Objects of the following type(s) are allowed in the list 078 * {@link ProjectRef } 079 * 080 * 081 */ 082 public List<ProjectRef> getProjectRef() { 083 if (projectRef == null) { 084 projectRef = new ArrayList<ProjectRef>(); 085 } 086 return this.projectRef; 087 } 088 089 public boolean isSetProjectRef() { 090 return ((this.projectRef!= null)&&(!this.projectRef.isEmpty())); 091 } 092 093 public void unsetProjectRef() { 094 this.projectRef = null; 095 } 096 097 /** 098 * Gets the value of the lastMod property. 099 * 100 * @return 101 * possible object is 102 * {@link XMLGregorianCalendar } 103 * 104 */ 105 public XMLGregorianCalendar getLastMod() { 106 return lastMod; 107 } 108 109 /** 110 * Sets the value of the lastMod property. 111 * 112 * @param value 113 * allowed object is 114 * {@link XMLGregorianCalendar } 115 * 116 */ 117 public void setLastMod(XMLGregorianCalendar value) { 118 this.lastMod = value; 119 } 120 121 public boolean isSetLastMod() { 122 return (this.lastMod!= null); 123 } 124 125 }