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.XmlElement; 017 import javax.xml.bind.annotation.XmlRootElement; 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="{}Property" maxOccurs="unbounded" minOccurs="0"/> 032 * </sequence> 033 * </restriction> 034 * </complexContent> 035 * </complexType> 036 * </pre> 037 * 038 * 039 */ 040 @XmlAccessorType(XmlAccessType.FIELD) 041 @XmlType(name = "", propOrder = { 042 "property" 043 }) 044 @XmlRootElement(name = "Properties") 045 public class Properties 046 implements Serializable 047 { 048 049 private final static long serialVersionUID = 12343L; 050 @XmlElement(name = "Property") 051 protected List<Property> property; 052 053 /** 054 * Gets the value of the property property. 055 * 056 * <p> 057 * This accessor method returns a reference to the live list, 058 * not a snapshot. Therefore any modification you make to the 059 * returned list will be present inside the JAXB object. 060 * This is why there is not a <CODE>set</CODE> method for the property property. 061 * 062 * <p> 063 * For example, to add a new item, do as follows: 064 * <pre> 065 * getProperty().add(newItem); 066 * </pre> 067 * 068 * 069 * <p> 070 * Objects of the following type(s) are allowed in the list 071 * {@link Property } 072 * 073 * 074 */ 075 public List<Property> getProperty() { 076 if (property == null) { 077 property = new ArrayList<Property>(); 078 } 079 return this.property; 080 } 081 082 public boolean isSetProperty() { 083 return ((this.property!= null)&&(!this.property.isEmpty())); 084 } 085 086 public void unsetProperty() { 087 this.property = null; 088 } 089 090 }