001 // 002 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0.3-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.10.21 at 09:24:54 AM EDT 006 // 007 008 009 package org.apache.geronimo.system.plugin.model; 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.XmlType; 018 019 020 /** 021 * <p>Java class for attributesType complex type. 022 * 023 * <p>The following schema fragment specifies the expected content contained within this class. 024 * 025 * <pre> 026 * <complexType name="attributesType"> 027 * <complexContent> 028 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 029 * <sequence> 030 * <element name="comment" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> 031 * <choice> 032 * <element name="module" type="{http://geronimo.apache.org/xml/ns/attributes-1.2}moduleType" maxOccurs="unbounded" minOccurs="0"/> 033 * <element name="configuration" type="{http://geronimo.apache.org/xml/ns/attributes-1.2}moduleType" maxOccurs="unbounded" minOccurs="0"/> 034 * </choice> 035 * </sequence> 036 * </restriction> 037 * </complexContent> 038 * </complexType> 039 * </pre> 040 * 041 * 042 */ 043 @XmlAccessorType(XmlAccessType.FIELD) 044 @XmlType(name = "attributesType", namespace = "http://geronimo.apache.org/xml/ns/attributes-1.2", propOrder = { 045 "comment", 046 "module", 047 "configuration" 048 }) 049 public class AttributesType 050 implements Serializable 051 { 052 053 private final static long serialVersionUID = 12343L; 054 @XmlElement(namespace = "http://geronimo.apache.org/xml/ns/attributes-1.2") 055 protected String comment; 056 @XmlElement(namespace = "http://geronimo.apache.org/xml/ns/attributes-1.2") 057 protected List<ModuleType> module; 058 @XmlElement(namespace = "http://geronimo.apache.org/xml/ns/attributes-1.2") 059 protected List<ModuleType> configuration; 060 061 /** 062 * Gets the value of the comment property. 063 * 064 * @return 065 * possible object is 066 * {@link String } 067 * 068 */ 069 public String getComment() { 070 return comment; 071 } 072 073 /** 074 * Sets the value of the comment property. 075 * 076 * @param value 077 * allowed object is 078 * {@link String } 079 * 080 */ 081 public void setComment(String value) { 082 this.comment = value; 083 } 084 085 /** 086 * Gets the value of the module 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 module property. 093 * 094 * <p> 095 * For example, to add a new item, do as follows: 096 * <pre> 097 * getModule().add(newItem); 098 * </pre> 099 * 100 * 101 * <p> 102 * Objects of the following type(s) are allowed in the list 103 * {@link ModuleType } 104 * 105 * 106 */ 107 public List<ModuleType> getModule() { 108 if (module == null) { 109 module = new ArrayList<ModuleType>(); 110 } 111 return this.module; 112 } 113 114 /** 115 * Gets the value of the configuration property. 116 * 117 * <p> 118 * This accessor method returns a reference to the live list, 119 * not a snapshot. Therefore any modification you make to the 120 * returned list will be present inside the JAXB object. 121 * This is why there is not a <CODE>set</CODE> method for the configuration property. 122 * 123 * <p> 124 * For example, to add a new item, do as follows: 125 * <pre> 126 * getConfiguration().add(newItem); 127 * </pre> 128 * 129 * 130 * <p> 131 * Objects of the following type(s) are allowed in the list 132 * {@link ModuleType } 133 * 134 * 135 */ 136 public List<ModuleType> getConfiguration() { 137 if (configuration == null) { 138 configuration = new ArrayList<ModuleType>(); 139 } 140 return this.configuration; 141 } 142 143 }