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 defectStateDataObj complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="defectStateDataObj"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="dateCreated" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/> * <element name="defectStateAttributeValues" type="{http://ws.coverity.com/v9}defectStateAttributeValueDataObj" maxOccurs="unbounded" minOccurs="0"/> * <element name="userCreated" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "defectStateDataObj", propOrder = { "dateCreated", "defectStateAttributeValues", "userCreated" }) public class DefectStateDataObj { @XmlSchemaType(name = "dateTime") protected XMLGregorianCalendar dateCreated; @XmlElement(nillable = true) protected List<DefectStateAttributeValueDataObj> defectStateAttributeValues; protected String userCreated; /** * Gets the value of the dateCreated property. * * @return * possible object is * {@link XMLGregorianCalendar } * */ public XMLGregorianCalendar getDateCreated() { return dateCreated; } /** * Sets the value of the dateCreated property. * * @param value * allowed object is * {@link XMLGregorianCalendar } * */ public void setDateCreated(XMLGregorianCalendar value) { this.dateCreated = value; } /** * Gets the value of the defectStateAttributeValues 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 defectStateAttributeValues property. * * <p> * For example, to add a new item, do as follows: * <pre> * getDefectStateAttributeValues().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link DefectStateAttributeValueDataObj } * * */ public List<DefectStateAttributeValueDataObj> getDefectStateAttributeValues() { if (defectStateAttributeValues == null) { defectStateAttributeValues = new ArrayList<DefectStateAttributeValueDataObj>(); } return this.defectStateAttributeValues; } /** * Gets the value of the userCreated property. * * @return * possible object is * {@link String } * */ public String getUserCreated() { return userCreated; } /** * Sets the value of the userCreated property. * * @param value * allowed object is * {@link String } * */ public void setUserCreated(String value) { this.userCreated = value; } }