//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
// 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: 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;
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType>
* <complexContent>
* <extension base="{http://jazz.net/xmlns/alm/qm/v0.1/}reportableArtifact">
* <sequence>
* <element ref="{http://jazz.net/xmlns/alm/v0.1/}updated"/>
* <element ref="{http://purl.org/dc/elements/1.1/}title"/>
* <element name="scope" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="required" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element name="multiSelectable" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element name="dependsOn" 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" />
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="defaultCategory" 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" />
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="valueset" maxOccurs="unbounded" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="key">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attribute name="href" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="value" maxOccurs="unbounded">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attribute name="href" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"updated",
"title",
"scope",
"required",
"multiSelectable",
"dependsOn",
"defaultCategory",
"valueset"
})
@XmlRootElement(name = "categoryType")
public class CategoryType
extends ReportableArtifact
{
@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 title;
@XmlElement(required = true)
protected String scope;
protected Boolean required;
protected Boolean multiSelectable;
protected CategoryType.DependsOn dependsOn;
protected CategoryType.DefaultCategory defaultCategory;
protected List<CategoryType.Valueset> valueset;
/**
* [READ-ONLY] The last modification date of a resource. Format is XML dateTime.
*
* @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;
}
/**
* The name of the category type.
*
* @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;
}
/**
* Gets the value of the scope property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getScope() {
return scope;
}
/**
* Sets the value of the scope property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setScope(String value) {
this.scope = value;
}
/**
* Gets the value of the required property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isRequired() {
return required;
}
/**
* Sets the value of the required property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setRequired(Boolean value) {
this.required = value;
}
/**
* Gets the value of the multiSelectable property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isMultiSelectable() {
return multiSelectable;
}
/**
* Sets the value of the multiSelectable property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setMultiSelectable(Boolean value) {
this.multiSelectable = value;
}
/**
* Gets the value of the dependsOn property.
*
* @return
* possible object is
* {@link CategoryType.DependsOn }
*
*/
public CategoryType.DependsOn getDependsOn() {
return dependsOn;
}
/**
* Sets the value of the dependsOn property.
*
* @param value
* allowed object is
* {@link CategoryType.DependsOn }
*
*/
public void setDependsOn(CategoryType.DependsOn value) {
this.dependsOn = value;
}
/**
* Gets the value of the defaultCategory property.
*
* @return
* possible object is
* {@link CategoryType.DefaultCategory }
*
*/
public CategoryType.DefaultCategory getDefaultCategory() {
return defaultCategory;
}
/**
* Sets the value of the defaultCategory property.
*
* @param value
* allowed object is
* {@link CategoryType.DefaultCategory }
*
*/
public void setDefaultCategory(CategoryType.DefaultCategory value) {
this.defaultCategory = value;
}
/**
* Gets the value of the valueset 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 valueset property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getValueset().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link CategoryType.Valueset }
*
*
*/
public List<CategoryType.Valueset> getValueset() {
if (valueset == null) {
valueset = new ArrayList<CategoryType.Valueset>();
}
return this.valueset;
}
/**
* <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">
* <attribute name="href" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
public static class DefaultCategory {
@XmlAttribute(required = true)
@XmlSchemaType(name = "anyURI")
protected String href;
/**
* 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;
}
}
/**
* <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">
* <attribute name="href" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
public static class DependsOn {
@XmlAttribute(required = true)
@XmlSchemaType(name = "anyURI")
protected String href;
/**
* 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;
}
}
/**
* <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="key">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attribute name="href" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="value" maxOccurs="unbounded">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attribute name="href" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"key",
"value"
})
public static class Valueset {
@XmlElement(required = true)
protected CategoryType.Valueset.Key key;
@XmlElement(required = true)
protected List<CategoryType.Valueset.Value> value;
/**
* Gets the value of the key property.
*
* @return
* possible object is
* {@link CategoryType.Valueset.Key }
*
*/
public CategoryType.Valueset.Key getKey() {
return key;
}
/**
* Sets the value of the key property.
*
* @param value
* allowed object is
* {@link CategoryType.Valueset.Key }
*
*/
public void setKey(CategoryType.Valueset.Key value) {
this.key = value;
}
/**
* Gets the value of the value 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 value property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getValue().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link CategoryType.Valueset.Value }
*
*
*/
public List<CategoryType.Valueset.Value> getValue() {
if (value == null) {
value = new ArrayList<CategoryType.Valueset.Value>();
}
return this.value;
}
/**
* <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">
* <attribute name="href" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
public static class Key {
@XmlAttribute(required = true)
@XmlSchemaType(name = "anyURI")
protected String href;
/**
* 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;
}
}
/**
* <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">
* <attribute name="href" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
public static class Value {
@XmlAttribute(required = true)
@XmlSchemaType(name = "anyURI")
protected String href;
/**
* 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;
}
}
}
}