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.01.25 at 09:11:56 AM GMT-10:00 006 // 007 008 009 package org.hackystat.sensor.ant.javancss.jaxb; 010 011 import java.util.ArrayList; 012 import java.util.List; 013 import javax.xml.bind.annotation.XmlAccessType; 014 import javax.xml.bind.annotation.XmlAccessorType; 015 import javax.xml.bind.annotation.XmlElement; 016 import javax.xml.bind.annotation.XmlRootElement; 017 import javax.xml.bind.annotation.XmlType; 018 019 020 /** 021 * <p>Java class for anonymous complex type. 022 * 023 * <p>The following schema fragment specifies the expected content contained within this class. 024 * 025 * <pre> 026 * <complexType> 027 * <complexContent> 028 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 029 * <sequence> 030 * <element ref="{}function" maxOccurs="unbounded" minOccurs="0"/> 031 * <element ref="{}function_averages" maxOccurs="unbounded" minOccurs="0"/> 032 * <element name="ncss" type="{http://www.w3.org/2001/XMLSchema}string"/> 033 * </sequence> 034 * </restriction> 035 * </complexContent> 036 * </complexType> 037 * </pre> 038 * 039 * 040 */ 041 @XmlAccessorType(XmlAccessType.FIELD) 042 @XmlType(name = "", propOrder = { 043 "function", 044 "functionAverages", 045 "ncss" 046 }) 047 @XmlRootElement(name = "functions") 048 public class Functions { 049 050 protected List<Function> function; 051 @XmlElement(name = "function_averages") 052 protected List<FunctionAverages> functionAverages; 053 @XmlElement(required = true) 054 protected String ncss; 055 056 /** 057 * Gets the value of the function property. 058 * 059 * <p> 060 * This accessor method returns a reference to the live list, 061 * not a snapshot. Therefore any modification you make to the 062 * returned list will be present inside the JAXB object. 063 * This is why there is not a <CODE>set</CODE> method for the function property. 064 * 065 * <p> 066 * For example, to add a new item, do as follows: 067 * <pre> 068 * getFunction().add(newItem); 069 * </pre> 070 * 071 * 072 * <p> 073 * Objects of the following type(s) are allowed in the list 074 * {@link Function } 075 * 076 * 077 */ 078 public List<Function> getFunction() { 079 if (function == null) { 080 function = new ArrayList<Function>(); 081 } 082 return this.function; 083 } 084 085 /** 086 * Gets the value of the functionAverages property. 087 * 088 * <p> 089 * This accessor method returns a reference to the live list, 090 * not a snapshot. Therefore any modification you make to the 091 * returned list will be present inside the JAXB object. 092 * This is why there is not a <CODE>set</CODE> method for the functionAverages property. 093 * 094 * <p> 095 * For example, to add a new item, do as follows: 096 * <pre> 097 * getFunctionAverages().add(newItem); 098 * </pre> 099 * 100 * 101 * <p> 102 * Objects of the following type(s) are allowed in the list 103 * {@link FunctionAverages } 104 * 105 * 106 */ 107 public List<FunctionAverages> getFunctionAverages() { 108 if (functionAverages == null) { 109 functionAverages = new ArrayList<FunctionAverages>(); 110 } 111 return this.functionAverages; 112 } 113 114 /** 115 * Gets the value of the ncss property. 116 * 117 * @return 118 * possible object is 119 * {@link String } 120 * 121 */ 122 public String getNcss() { 123 return ncss; 124 } 125 126 /** 127 * Sets the value of the ncss property. 128 * 129 * @param value 130 * allowed object is 131 * {@link String } 132 * 133 */ 134 public void setNcss(String value) { 135 this.ncss = value; 136 } 137 138 }