All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.squeakysand.schema.javaee.Application Maven / Gradle / Ivy

//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4 
// See http://java.sun.com/xml/jaxb 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2011.12.29 at 01:35:33 AM PST 
//


package com.squeakysand.schema.javaee;

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.XmlElement;
import javax.xml.bind.annotation.XmlID;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;


/**
 * 
 * 
 * 	The applicationType defines the structure of the
 * 	application.
 * 
 *       
 * 
 * 

Java class for applicationType complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="applicationType">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <group ref="{http://java.sun.com/xml/ns/javaee}descriptionGroup"/>
 *         <element name="module" type="{http://java.sun.com/xml/ns/javaee}moduleType" maxOccurs="unbounded"/>
 *         <element name="security-role" type="{http://java.sun.com/xml/ns/javaee}security-roleType" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="library-directory" type="{http://java.sun.com/xml/ns/javaee}pathType" minOccurs="0"/>
 *       </sequence>
 *       <attribute name="version" use="required" type="{http://java.sun.com/xml/ns/javaee}dewey-versionType" fixed="5" />
 *       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "applicationType", propOrder = { "descriptions", "displayNames", "icons", "modules", "securityRoles", "libraryDirectory" }) @XmlRootElement(name = "application") public class Application { @XmlElement(name = "description") protected List descriptions; @XmlElement(name = "display-name") protected List displayNames; @XmlElement(name = "icon") protected List icons; @XmlElement(name = "module", required = true) protected List modules; @XmlElement(name = "security-role") protected List securityRoles; @XmlElement(name = "library-directory") protected PathType libraryDirectory; @XmlAttribute(name = "version", required = true) @XmlJavaTypeAdapter(CollapsedStringAdapter.class) protected java.lang.String version; @XmlAttribute(name = "id") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlID @XmlSchemaType(name = "ID") protected java.lang.String id; /** * Gets the value of the descriptions property. * *

* 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 set method for the descriptions property. * *

* For example, to add a new item, do as follows: *

     *    getDescriptions().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link DescriptionType } * * */ public List getDescriptions() { if (descriptions == null) { descriptions = new ArrayList(); } return this.descriptions; } /** * Gets the value of the displayNames property. * *

* 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 set method for the displayNames property. * *

* For example, to add a new item, do as follows: *

     *    getDisplayNames().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link DisplayNameType } * * */ public List getDisplayNames() { if (displayNames == null) { displayNames = new ArrayList(); } return this.displayNames; } /** * Gets the value of the icons property. * *

* 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 set method for the icons property. * *

* For example, to add a new item, do as follows: *

     *    getIcons().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link IconType } * * */ public List getIcons() { if (icons == null) { icons = new ArrayList(); } return this.icons; } /** * Gets the value of the modules property. * *

* 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 set method for the modules property. * *

* For example, to add a new item, do as follows: *

     *    getModules().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link ModuleType } * * */ public List getModules() { if (modules == null) { modules = new ArrayList(); } return this.modules; } /** * Gets the value of the securityRoles property. * *

* 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 set method for the securityRoles property. * *

* For example, to add a new item, do as follows: *

     *    getSecurityRoles().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link SecurityRoleType } * * */ public List getSecurityRoles() { if (securityRoles == null) { securityRoles = new ArrayList(); } return this.securityRoles; } /** * Gets the value of the libraryDirectory property. * * @return * possible object is * {@link PathType } * */ public PathType getLibraryDirectory() { return libraryDirectory; } /** * Sets the value of the libraryDirectory property. * * @param value * allowed object is * {@link PathType } * */ public void setLibraryDirectory(PathType value) { this.libraryDirectory = value; } /** * Gets the value of the version property. * * @return * possible object is * {@link java.lang.String } * */ public java.lang.String getVersion() { if (version == null) { return "5"; } else { return version; } } /** * Sets the value of the version property. * * @param value * allowed object is * {@link java.lang.String } * */ public void setVersion(java.lang.String value) { this.version = value; } /** * Gets the value of the id property. * * @return * possible object is * {@link java.lang.String } * */ public java.lang.String getId() { return id; } /** * Sets the value of the id property. * * @param value * allowed object is * {@link java.lang.String } * */ public void setId(java.lang.String value) { this.id = value; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy