package de.zib.gndms.c3resource.jaxb; /* * Copyright 2008-2011 Zuse Institute Berlin (ZIB) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ // // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-661 // 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: 2008.12.11 at 02:32:25 PM CET // 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.XmlElement; import javax.xml.bind.annotation.XmlType; import org.apache.cxf.jaxb.JAXBToStringBuilder; import org.apache.cxf.jaxb.JAXBToStringStyle; /** * * List of software modules available at the respective site. In * order to guarantee the correct environment setup when a job is * executed, C3Grid sites set up environment modules (see * http://modules.sourceforge.net/). * * A specification of registered module names, versions, and the * respective execution environments can be found at http://[TO * DO!]. In order to maintain interoperability, C3-Grid providers * MUST guarantee the specified environment for any registered * module they offer. They MAY also provide local, site-specific * modules, provided their names do not clash with registered ones. * * With this mechnism, the C3Grid scheduler can select an execution * host depending on the modules required by an individual grid * job. * * * <p>Java class for modules complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="modules"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="module" maxOccurs="unbounded" minOccurs="0"> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="version" type="{http://www.w3.org/2001/XMLSchema}string"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </element> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "modules", namespace = "http://c3grid.de/language/resouces/2007-05-16-resources.xsd", propOrder = { "module" }) public class Modules { @XmlElement(namespace = "http://c3grid.de/language/resouces/2007-05-16-resources.xsd") protected List<Modules.Module> module; /** * Gets the value of the module 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 module property. * * <p> * For example, to add a new item, do as follows: * <pre> * getModule().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link Modules.Module } * * */ public List<Modules.Module> getModule() { if (module == null) { module = new ArrayList<Modules.Module>(); } return this.module; } /** * Generates a String representation of the contents of this type. * This is an extension method, produced by the 'ts' xjc plugin * */ @Override public String toString() { return JAXBToStringBuilder.valueOf(this, JAXBToStringStyle.MULTI_LINE_STYLE); } /** * <p>Java class for anonymous complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="version" type="{http://www.w3.org/2001/XMLSchema}string"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "name", "version" }) public static class Module { @XmlElement(namespace = "http://c3grid.de/language/resouces/2007-05-16-resources.xsd", required = true) protected String name; @XmlElement(namespace = "http://c3grid.de/language/resouces/2007-05-16-resources.xsd", required = true) protected String version; /** * Gets the value of the name property. * * @return * possible object is * {@link String } * */ public String getName() { return name; } /** * Sets the value of the name property. * * @param value * allowed object is * {@link String } * */ public void setName(String value) { this.name = 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; } /** * Generates a String representation of the contents of this type. * This is an extension method, produced by the 'ts' xjc plugin * */ @Override public String toString() { return JAXBToStringBuilder.valueOf(this, JAXBToStringStyle.MULTI_LINE_STYLE); } } }