org.hackystat.sensor.ant.pmd.jaxb
Class File

java.lang.Object
  extended by org.hackystat.sensor.ant.pmd.jaxb.File

public class File
extends java.lang.Object

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="{}violation" maxOccurs="unbounded"/>
       </sequence>
       <attribute ref="{}name"/>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.lang.String name
           
protected  java.util.List<Violation> violation
           
 
Constructor Summary
File()
           
 
Method Summary
 java.lang.String getName()
          Gets the value of the name property.
 java.util.List<Violation> getViolation()
          Gets the value of the violation property.
 void setName(java.lang.String value)
          Sets the value of the name property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

violation

protected java.util.List<Violation> violation

name

protected java.lang.String name
Constructor Detail

File

public File()
Method Detail

getViolation

public java.util.List<Violation> getViolation()
Gets the value of the violation 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 violation property.

For example, to add a new item, do as follows:

    getViolation().add(newItem);
 

Objects of the following type(s) are allowed in the list Violation


getName

public java.lang.String getName()
Gets the value of the name property.

Returns:
possible object is String

setName

public void setName(java.lang.String value)
Sets the value of the name property.

Parameters:
value - allowed object is String