package com.coverity.ws.v9; 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.XmlSchemaType; import javax.xml.bind.annotation.XmlType; import javax.xml.datatype.XMLGregorianCalendar; /** * <p>Java class for defectChangeDataObj complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="defectChangeDataObj"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="affectedStreams" type="{http://ws.coverity.com/v9}streamIdDataObj" maxOccurs="unbounded" minOccurs="0"/> * <element name="attributeChanges" type="{http://ws.coverity.com/v9}fieldChangeDataObj" maxOccurs="unbounded" minOccurs="0"/> * <element name="comments" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="dateModified" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/> * <element name="userModified" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "defectChangeDataObj", propOrder = { "affectedStreams", "attributeChanges", "comments", "dateModified", "userModified" }) public class DefectChangeDataObj { @XmlElement(nillable = true) protected List<StreamIdDataObj> affectedStreams; @XmlElement(nillable = true) protected List<FieldChangeDataObj> attributeChanges; protected String comments; @XmlSchemaType(name = "dateTime") protected XMLGregorianCalendar dateModified; protected String userModified; /** * Gets the value of the affectedStreams 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 affectedStreams property. * * <p> * For example, to add a new item, do as follows: * <pre> * getAffectedStreams().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link StreamIdDataObj } * * */ public List<StreamIdDataObj> getAffectedStreams() { if (affectedStreams == null) { affectedStreams = new ArrayList<StreamIdDataObj>(); } return this.affectedStreams; } /** * Gets the value of the attributeChanges 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 attributeChanges property. * * <p> * For example, to add a new item, do as follows: * <pre> * getAttributeChanges().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link FieldChangeDataObj } * * */ public List<FieldChangeDataObj> getAttributeChanges() { if (attributeChanges == null) { attributeChanges = new ArrayList<FieldChangeDataObj>(); } return this.attributeChanges; } /** * Gets the value of the comments property. * * @return * possible object is * {@link String } * */ public String getComments() { return comments; } /** * Sets the value of the comments property. * * @param value * allowed object is * {@link String } * */ public void setComments(String value) { this.comments = value; } /** * Gets the value of the dateModified property. * * @return * possible object is * {@link XMLGregorianCalendar } * */ public XMLGregorianCalendar getDateModified() { return dateModified; } /** * Sets the value of the dateModified property. * * @param value * allowed object is * {@link XMLGregorianCalendar } * */ public void setDateModified(XMLGregorianCalendar value) { this.dateModified = value; } /** * Gets the value of the userModified property. * * @return * possible object is * {@link String } * */ public String getUserModified() { return userModified; } /** * Sets the value of the userModified property. * * @param value * allowed object is * {@link String } * */ public void setUserModified(String value) { this.userModified = value; } }