com.hello2morrow.sonarplugin.xsd.XsdArchitectureViolation Maven / Gradle / Ivy
Show all versions of sonar-sonargraph-plugin Show documentation
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-833
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2013.03.12 at 09:16:26 AM MEZ
//
package com.hello2morrow.sonarplugin.xsd;
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.XmlType;
/**
* Java class for xsdArchitectureViolation complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="xsdArchitectureViolation">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="architectureViolation" type="{}xsdAttributeRoot"/>
* <element name="typeRelation" type="{}xsdTypeRelation" maxOccurs="unbounded"/>
* </sequence>
* <attribute name="explanation" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="numberOfViolatingTypeRelations" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="dimension" type="{http://www.w3.org/2001/XMLSchema}string" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "xsdArchitectureViolation", propOrder = {
"architectureViolation",
"typeRelation"
})
public class XsdArchitectureViolation {
@XmlElement(required = true, nillable = true)
protected XsdAttributeRoot architectureViolation;
@XmlElement(required = true, nillable = true)
protected List typeRelation;
@XmlAttribute(required = true)
protected String explanation;
@XmlAttribute(required = true)
protected String numberOfViolatingTypeRelations;
@XmlAttribute
protected String dimension;
/**
* Gets the value of the architectureViolation property.
*
* @return
* possible object is
* {@link XsdAttributeRoot }
*
*/
public XsdAttributeRoot getArchitectureViolation() {
return architectureViolation;
}
/**
* Sets the value of the architectureViolation property.
*
* @param value
* allowed object is
* {@link XsdAttributeRoot }
*
*/
public void setArchitectureViolation(XsdAttributeRoot value) {
this.architectureViolation = value;
}
/**
* Gets the value of the typeRelation 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 typeRelation property.
*
*
* For example, to add a new item, do as follows:
*
* getTypeRelation().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link XsdTypeRelation }
*
*
*/
public List getTypeRelation() {
if (typeRelation == null) {
typeRelation = new ArrayList();
}
return this.typeRelation;
}
/**
* Gets the value of the explanation property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getExplanation() {
return explanation;
}
/**
* Sets the value of the explanation property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setExplanation(String value) {
this.explanation = value;
}
/**
* Gets the value of the numberOfViolatingTypeRelations property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getNumberOfViolatingTypeRelations() {
return numberOfViolatingTypeRelations;
}
/**
* Sets the value of the numberOfViolatingTypeRelations property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setNumberOfViolatingTypeRelations(String value) {
this.numberOfViolatingTypeRelations = value;
}
/**
* Gets the value of the dimension property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDimension() {
return dimension;
}
/**
* Sets the value of the dimension property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDimension(String value) {
this.dimension = value;
}
}