com.github.sanity4j.gen.pmd_4_2_1.Pmd Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2017.05.29 at 01:14:02 PM AEST
//
package com.github.sanity4j.gen.pmd_4_2_1;
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.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://com.github.sanity4j/namespace/pmd-4.2.1}file" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{http://com.github.sanity4j/namespace/pmd-4.2.1}error" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{http://com.github.sanity4j/namespace/pmd-4.2.1}suppressedviolation" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* <attribute name="version" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="timestamp" use="required" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"file",
"error",
"suppressedviolation"
})
@XmlRootElement(name = "pmd")
public class Pmd {
protected List file;
protected List error;
protected List suppressedviolation;
@XmlAttribute(name = "version", required = true)
protected String version;
@XmlAttribute(name = "timestamp", required = true)
@XmlSchemaType(name = "dateTime")
protected XMLGregorianCalendar timestamp;
/**
* Gets the value of the file 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 file property.
*
*
* For example, to add a new item, do as follows:
*
* getFile().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link File }
*
*
*/
public List getFile() {
if (file == null) {
file = new ArrayList();
}
return this.file;
}
/**
* Gets the value of the error 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 error property.
*
*
* For example, to add a new item, do as follows:
*
* getError().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Error }
*
*
*/
public List getError() {
if (error == null) {
error = new ArrayList();
}
return this.error;
}
/**
* Gets the value of the suppressedviolation 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 suppressedviolation property.
*
*
* For example, to add a new item, do as follows:
*
* getSuppressedviolation().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Suppressedviolation }
*
*
*/
public List getSuppressedviolation() {
if (suppressedviolation == null) {
suppressedviolation = new ArrayList();
}
return this.suppressedviolation;
}
/**
* Gets the value of the version property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getVersion() {
return version;
}
/**
* Sets the value of the version property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setVersion(String value) {
this.version = value;
}
/**
* Gets the value of the timestamp property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getTimestamp() {
return timestamp;
}
/**
* Sets the value of the timestamp property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setTimestamp(XMLGregorianCalendar value) {
this.timestamp = value;
}
}