// // 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://purl.org/dc/elements/1.1/}title"/> * <element ref="{http://purl.org/dc/elements/1.1/}description" minOccurs="0"/> * <element ref="{http://jazz.net/xmlns/alm/v0.1/}updated"/> * <element ref="{http://purl.org/dc/elements/1.1/}creator"/> * <element name="operator" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="targetValue" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/> * <element name="evaluatorId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="properties"> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="property" maxOccurs="unbounded"> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" /> * </restriction> * </complexContent> * </complexType> * </element> * </sequence> * </restriction> * </complexContent> * </complexType> * </element> * </sequence> * </extension> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "title", "description", "updated", "creator", "operator", "targetValue", "evaluatorId", "properties" }) @XmlRootElement(name = "objective") public class Objective extends ReportableArtifact { @XmlElement(namespace = "http://purl.org/dc/elements/1.1/", required = true) protected String title; @XmlElement(namespace = "http://purl.org/dc/elements/1.1/") protected String description; @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 Creator creator; protected String operator; protected Integer targetValue; protected String evaluatorId; @XmlElement(required = true) protected Objective.Properties properties; /** * [READ-ONLY] A name given to the objective. * * @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] An description of the objective. * * @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; } /** * [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; } /** * [READ-ONLY] [IMMUTABLE] The contributor that created the objective. * * @return * possible object is * {@link Creator } * */ public Creator getCreator() { return creator; } /** * Sets the value of the creator property. * * @param value * allowed object is * {@link Creator } * */ public void setCreator(Creator value) { this.creator = value; } /** * Gets the value of the operator property. * * @return * possible object is * {@link String } * */ public String getOperator() { return operator; } /** * Sets the value of the operator property. * * @param value * allowed object is * {@link String } * */ public void setOperator(String value) { this.operator = value; } /** * Gets the value of the targetValue property. * * @return * possible object is * {@link Integer } * */ public Integer getTargetValue() { return targetValue; } /** * Sets the value of the targetValue property. * * @param value * allowed object is * {@link Integer } * */ public void setTargetValue(Integer value) { this.targetValue = value; } /** * Gets the value of the evaluatorId property. * * @return * possible object is * {@link String } * */ public String getEvaluatorId() { return evaluatorId; } /** * Sets the value of the evaluatorId property. * * @param value * allowed object is * {@link String } * */ public void setEvaluatorId(String value) { this.evaluatorId = value; } /** * Gets the value of the properties property. * * @return * possible object is * {@link Objective.Properties } * */ public Objective.Properties getProperties() { return properties; } /** * Sets the value of the properties property. * * @param value * allowed object is * {@link Objective.Properties } * */ public void setProperties(Objective.Properties value) { this.properties = 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="property" maxOccurs="unbounded"> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" /> * </restriction> * </complexContent> * </complexType> * </element> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "property" }) public static class Properties { @XmlElement(required = true) protected List<Objective.Properties.Property> property; /** * Gets the value of the property 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 property property. * * <p> * For example, to add a new item, do as follows: * <pre> * getProperty().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link Objective.Properties.Property } * * */ public List<Objective.Properties.Property> getProperty() { if (property == null) { property = new ArrayList<Objective.Properties.Property>(); } return this.property; } /** * <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="name" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" /> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "") public static class Property { @XmlAttribute protected String name; @XmlAttribute protected String value; /** * 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 value property. * * @return * possible object is * {@link String } * */ public String getValue() { return value; } /** * Sets the value of the value property. * * @param value * allowed object is * {@link String } * */ public void setValue(String value) { this.value = value; } } } }