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.07.15 at 10:02:34 AM GMT-10:00 006 // 007 008 009 package org.hackystat.telemetry.service.resource.chart.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="{}Description" minOccurs="0"/> 033 * <element ref="{}ParameterDefinition" maxOccurs="unbounded" minOccurs="0"/> 034 * <element ref="{}SourceCode"/> 035 * </sequence> 036 * <attribute ref="{}Name use="required""/> 037 * </restriction> 038 * </complexContent> 039 * </complexType> 040 * </pre> 041 * 042 * 043 */ 044 @XmlAccessorType(XmlAccessType.FIELD) 045 @XmlType(name = "", propOrder = { 046 "description", 047 "parameterDefinition", 048 "sourceCode" 049 }) 050 @XmlRootElement(name = "TelemetryChartDefinition") 051 public class TelemetryChartDefinition 052 implements Serializable 053 { 054 055 private final static long serialVersionUID = 12343L; 056 @XmlElement(name = "Description") 057 protected String description; 058 @XmlElement(name = "ParameterDefinition") 059 protected List<ParameterDefinition> parameterDefinition; 060 @XmlElement(name = "SourceCode", required = true) 061 protected String sourceCode; 062 @XmlAttribute(name = "Name", required = true) 063 protected String name; 064 065 /** 066 * Gets the value of the description property. 067 * 068 * @return 069 * possible object is 070 * {@link String } 071 * 072 */ 073 public String getDescription() { 074 return description; 075 } 076 077 /** 078 * Sets the value of the description property. 079 * 080 * @param value 081 * allowed object is 082 * {@link String } 083 * 084 */ 085 public void setDescription(String value) { 086 this.description = value; 087 } 088 089 public boolean isSetDescription() { 090 return (this.description!= null); 091 } 092 093 /** 094 * Gets the value of the parameterDefinition property. 095 * 096 * <p> 097 * This accessor method returns a reference to the live list, 098 * not a snapshot. Therefore any modification you make to the 099 * returned list will be present inside the JAXB object. 100 * This is why there is not a <CODE>set</CODE> method for the parameterDefinition property. 101 * 102 * <p> 103 * For example, to add a new item, do as follows: 104 * <pre> 105 * getParameterDefinition().add(newItem); 106 * </pre> 107 * 108 * 109 * <p> 110 * Objects of the following type(s) are allowed in the list 111 * {@link ParameterDefinition } 112 * 113 * 114 */ 115 public List<ParameterDefinition> getParameterDefinition() { 116 if (parameterDefinition == null) { 117 parameterDefinition = new ArrayList<ParameterDefinition>(); 118 } 119 return this.parameterDefinition; 120 } 121 122 public boolean isSetParameterDefinition() { 123 return ((this.parameterDefinition!= null)&&(!this.parameterDefinition.isEmpty())); 124 } 125 126 public void unsetParameterDefinition() { 127 this.parameterDefinition = null; 128 } 129 130 /** 131 * Gets the value of the sourceCode property. 132 * 133 * @return 134 * possible object is 135 * {@link String } 136 * 137 */ 138 public String getSourceCode() { 139 return sourceCode; 140 } 141 142 /** 143 * Sets the value of the sourceCode property. 144 * 145 * @param value 146 * allowed object is 147 * {@link String } 148 * 149 */ 150 public void setSourceCode(String value) { 151 this.sourceCode = value; 152 } 153 154 public boolean isSetSourceCode() { 155 return (this.sourceCode!= null); 156 } 157 158 /** 159 * Gets the value of the name property. 160 * 161 * @return 162 * possible object is 163 * {@link String } 164 * 165 */ 166 public String getName() { 167 return name; 168 } 169 170 /** 171 * Sets the value of the name property. 172 * 173 * @param value 174 * allowed object is 175 * {@link String } 176 * 177 */ 178 public void setName(String value) { 179 this.name = value; 180 } 181 182 public boolean isSetName() { 183 return (this.name!= null); 184 } 185 186 }