/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright (c) 2010 Oracle and/or its affiliates. All rights reserved.
*
* The contents of this file are subject to the terms of either the GNU
* General Public License Version 2 only ("GPL") or the Common Development
* and Distribution License("CDDL") (collectively, the "License"). You
* may not use this file except in compliance with the License. You can
* obtain a copy of the License at
* https://glassfish.dev.java.net/public/CDDL+GPL_1_1.html
* or packager/legal/LICENSE.txt. See the License for the specific
* language governing permissions and limitations under the License.
*
* When distributing the software, include this License Header Notice in each
* file and include the License file at packager/legal/LICENSE.txt.
*
* GPL Classpath Exception:
* Oracle designates this particular file as subject to the "Classpath"
* exception as provided by Oracle in the GPL Version 2 section of the License
* file that accompanied this code.
*
* Modifications:
* If applicable, add the following below the License Header, with the fields
* enclosed by brackets [] replaced by your own identifying information:
* "Portions Copyright [year] [name of copyright owner]"
*
* Contributor(s):
* If you wish your version of this file to be governed by only the CDDL or
* only the GPL Version 2, indicate your decision by adding "[Contributor]
* elects to include this software in this distribution under the [CDDL or GPL
* Version 2] license." If you don't indicate a single choice of license, a
* recipient has the option to distribute your version of this file under
* either the CDDL, the GPL Version 2 or to extend the choice of license to
* its licensees as provided above. However, if you add GPL Version 2 code
* and therefore, elected the GPL Version 2 license, then the option applies
* only if the new code is made subject to such option by the copyright
* holder.
*/
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.2-27
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2010.08.19 at 01:53:01 PM IST
//
package org.glassfish.obrbuilder.xmlentities;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element name="size" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
* &lt;element name="documentation" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element name="source" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element name="javadoc" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element name="license" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element ref="{}category" maxOccurs="unbounded" minOccurs="0"/>
* &lt;element ref="{}capability" maxOccurs="unbounded" minOccurs="0"/>
* &lt;element ref="{}require" maxOccurs="unbounded" minOccurs="0"/>
* &lt;/sequence>
* &lt;attribute ref="{}id use="required""/>
* &lt;attribute name="presentationname" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;attribute name="symbolicname" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;attribute name="uri" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;attribute name="version" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"description",
"size",
"documentation",
"source",
"javadoc",
"license",
"category",
"capability",
"require"
})
@XmlRootElement(name = "resource")
public class Resource {
protected String description;
protected Long size;
protected String documentation;
protected String source;
protected String javadoc;
protected String license;
protected List<Category> category;
protected List<Capability> capability;
protected List<Require> require;
@XmlAttribute(name = "id", required = true)
protected String id;
@XmlAttribute(name = "presentationname")
protected String presentationname;
@XmlAttribute(name = "symbolicname")
protected String symbolicname;
@XmlAttribute(name = "uri")
protected String uri;
@XmlAttribute(name = "version")
protected String version;
/**
* Gets the value of the description property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDescription() {
return description;
}
/**
* Sets the value of the description property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDescription(String value) {
this.description = value;
}
/**
* Gets the value of the size property.
*
* @return
* possible object is
* {@link Long }
*
*/
public Long getSize() {
return size;
}
/**
* Sets the value of the size property.
*
* @param value
* allowed object is
* {@link Long }
*
*/
public void setSize(Long value) {
this.size = value;
}
/**
* Gets the value of the documentation property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDocumentation() {
return documentation;
}
/**
* Sets the value of the documentation property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDocumentation(String value) {
this.documentation = value;
}
/**
* Gets the value of the source property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSource() {
return source;
}
/**
* Sets the value of the source property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSource(String value) {
this.source = value;
}
/**
* Gets the value of the javadoc property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getJavadoc() {
return javadoc;
}
/**
* Sets the value of the javadoc property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setJavadoc(String value) {
this.javadoc = value;
}
/**
* Gets the value of the license property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getLicense() {
return license;
}
/**
* Sets the value of the license property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLicense(String value) {
this.license = value;
}
/**
* Gets the value of the category property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the category property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getCategory().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Category }
*
*
*/
public List<Category> getCategory() {
if (category == null) {
category = new ArrayList<Category>();
}
return this.category;
}
/**
* Gets the value of the capability property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the capability property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getCapability().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Capability }
*
*
*/
public List<Capability> getCapability() {
if (capability == null) {
capability = new ArrayList<Capability>();
}
return this.capability;
}
/**
* Gets the value of the require property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the require property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getRequire().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Require }
*
*
*/
public List<Require> getRequire() {
if (require == null) {
require = new ArrayList<Require>();
}
return this.require;
}
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getId() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setId(String value) {
this.id = value;
}
/**
* Gets the value of the presentationname property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPresentationname() {
return presentationname;
}
/**
* Sets the value of the presentationname property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setPresentationname(String value) {
this.presentationname = value;
}
/**
* Gets the value of the symbolicname property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSymbolicname() {
return symbolicname;
}
/**
* Sets the value of the symbolicname property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSymbolicname(String value) {
this.symbolicname = value;
}
/**
* Gets the value of the uri property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getUri() {
return uri;
}
/**
* Sets the value of the uri property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setUri(String value) {
this.uri = value;
}
/**
* Gets the value of the version property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getVersion() {
return version;
}
/**
* Sets the value of the version property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setVersion(String value) {
this.version = value;
}
}