001 // 002 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0.5-b02-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: 2009.10.30 at 02:01:18 PM HST 006 // 007 008 009 package org.hackystat.dailyprojectdata.resource.issuechange.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.XmlType; 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 * <sequence> 032 * <element ref="{}ChangedItem" maxOccurs="unbounded"/> 033 * </sequence> 034 * <attribute name="Id" use="required" type="{http://www.w3.org/2001/XMLSchema}int" /> 035 * </restriction> 036 * </complexContent> 037 * </complexType> 038 * </pre> 039 * 040 * 041 */ 042 @XmlAccessorType(XmlAccessType.FIELD) 043 @XmlType(name = "", propOrder = { 044 "changedItem" 045 }) 046 @XmlRootElement(name = "IssueChangeData") 047 public class IssueChangeData 048 implements Serializable 049 { 050 051 private final static long serialVersionUID = 20091030L; 052 @XmlElement(name = "ChangedItem", required = true) 053 protected List<ChangedItem> changedItem; 054 @XmlAttribute(name = "Id", required = true) 055 protected int id; 056 057 /** 058 * Gets the value of the changedItem property. 059 * 060 * <p> 061 * This accessor method returns a reference to the live list, 062 * not a snapshot. Therefore any modification you make to the 063 * returned list will be present inside the JAXB object. 064 * This is why there is not a <CODE>set</CODE> method for the changedItem property. 065 * 066 * <p> 067 * For example, to add a new item, do as follows: 068 * <pre> 069 * getChangedItem().add(newItem); 070 * </pre> 071 * 072 * 073 * <p> 074 * Objects of the following type(s) are allowed in the list 075 * {@link ChangedItem } 076 * 077 * 078 */ 079 public List<ChangedItem> getChangedItem() { 080 if (changedItem == null) { 081 changedItem = new ArrayList<ChangedItem>(); 082 } 083 return this.changedItem; 084 } 085 086 public boolean isSetChangedItem() { 087 return ((this.changedItem!= null)&&(!this.changedItem.isEmpty())); 088 } 089 090 public void unsetChangedItem() { 091 this.changedItem = null; 092 } 093 094 /** 095 * Gets the value of the id property. 096 * 097 */ 098 public int getId() { 099 return id; 100 } 101 102 /** 103 * Sets the value of the id property. 104 * 105 */ 106 public void setId(int value) { 107 this.id = value; 108 } 109 110 public boolean isSetId() { 111 return true; 112 } 113 114 }