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

com.ibm.rqm.xml.bind.Resourcecollection Maven / Gradle / Ivy

There is a newer version: 1.6.0-BETA2
Show newest version
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 
// See http://java.sun.com/xml/jaxb 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2015.07.13 at 12:00:05 PM BRT 
//


package com.ibm.rqm.xml.bind;

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.XmlRootElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.XMLGregorianCalendar;


/**
 * 

Java class for anonymous complex type. * *

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

 * <complexType>
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element ref="{http://purl.org/dc/elements/1.1/}identifier"/>
 *         <element ref="{http://purl.org/dc/elements/1.1/}title"/>
 *         <element ref="{http://jazz.net/xmlns/alm/v0.1/}updated"/>
 *         <element ref="{http://purl.org/dc/elements/1.1/}description"/>
 *         <element name="summary" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="labresource" maxOccurs="unbounded" minOccurs="0">
 *           <complexType>
 *             <complexContent>
 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 <attribute name="href" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
 *                 <attribute ref="{http://schema.ibm.com/vega/2008/}id"/>
 *                 <attribute name="relation" type="{http://www.w3.org/2001/XMLSchema}string" />
 *               </restriction>
 *             </complexContent>
 *           </complexType>
 *         </element>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "identifier", "title", "updated", "description", "summary", "labresource" }) @XmlRootElement(name = "resourcecollection") public class Resourcecollection { @XmlElement(namespace = "http://purl.org/dc/elements/1.1/", required = true) protected String identifier; @XmlElement(namespace = "http://purl.org/dc/elements/1.1/", required = true) protected String title; @XmlElement(namespace = "http://jazz.net/xmlns/alm/v0.1/", required = true) @XmlSchemaType(name = "dateTime") protected XMLGregorianCalendar updated; @XmlElement(namespace = "http://purl.org/dc/elements/1.1/", required = true) protected String description; @XmlElement(required = true) protected String summary; protected List labresource; /** * [READ-ONLY] An unambiguous reference to the resourcecollection within a given context. * * @return * possible object is * {@link String } * */ public String getIdentifier() { return identifier; } /** * Sets the value of the identifier property. * * @param value * allowed object is * {@link String } * */ public void setIdentifier(String value) { this.identifier = value; } /** * [READ-ONLY] A name given to the resource. * * @return * possible object is * {@link String } * */ public String getTitle() { return title; } /** * Sets the value of the title property. * * @param value * allowed object is * {@link String } * */ public void setTitle(String value) { this.title = value; } /** * [READ-ONLY] XML dateTime of the last update of the resourcecollection. * * @return * possible object is * {@link XMLGregorianCalendar } * */ public XMLGregorianCalendar getUpdated() { return updated; } /** * Sets the value of the updated property. * * @param value * allowed object is * {@link XMLGregorianCalendar } * */ public void setUpdated(XMLGregorianCalendar value) { this.updated = value; } /** * [READ-ONLY] An account of the resourcecollection. * * @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 summary property. * * @return * possible object is * {@link String } * */ public String getSummary() { return summary; } /** * Sets the value of the summary property. * * @param value * allowed object is * {@link String } * */ public void setSummary(String value) { this.summary = value; } /** * Gets the value of the labresource 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 labresource property. * *

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

     *    getLabresource().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Resourcecollection.Labresource } * * */ public List getLabresource() { if (labresource == null) { labresource = new ArrayList(); } return this.labresource; } /** *

Java class for anonymous complex type. * *

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

     * <complexType>
     *   <complexContent>
     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
     *       <attribute name="href" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
     *       <attribute ref="{http://schema.ibm.com/vega/2008/}id"/>
     *       <attribute name="relation" type="{http://www.w3.org/2001/XMLSchema}string" />
     *     </restriction>
     *   </complexContent>
     * </complexType>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "") public static class Labresource { @XmlAttribute(required = true) @XmlSchemaType(name = "anyURI") protected String href; @XmlAttribute(namespace = "http://schema.ibm.com/vega/2008/") protected String id; @XmlAttribute protected String relation; /** * Gets the value of the href property. * * @return * possible object is * {@link String } * */ public String getHref() { return href; } /** * Sets the value of the href property. * * @param value * allowed object is * {@link String } * */ public void setHref(String value) { this.href = value; } /** * [READ-ONLY] UUID of the labresource. * * @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 relation property. * * @return * possible object is * {@link String } * */ public String getRelation() { return relation; } /** * Sets the value of the relation property. * * @param value * allowed object is * {@link String } * */ public void setRelation(String value) { this.relation = value; } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy