
org.sonar.maven.model.maven2.DependencyManagement Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2016.04.14 at 01:47:18 PM UTC
//
package org.sonar.maven.model.maven2;
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.XmlType;
import org.sonar.maven.model.LocatedTreeImpl;
/**
* Section for management of default dependency information for use in a group of
* POMs.
*
* Java class for DependencyManagement complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="DependencyManagement">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <all>
* <element name="dependencies" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="dependency" type="{http://maven.apache.org/POM/4.0.0}Dependency" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </all>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "DependencyManagement", propOrder = {
})
public class DependencyManagement
extends LocatedTreeImpl
{
protected DependencyManagement.Dependencies dependencies;
/**
* Gets the value of the dependencies property.
*
* @return
* possible object is
* {@link DependencyManagement.Dependencies }
*
*/
public DependencyManagement.Dependencies getDependencies() {
return dependencies;
}
/**
* Sets the value of the dependencies property.
*
* @param value
* allowed object is
* {@link DependencyManagement.Dependencies }
*
*/
public void setDependencies(DependencyManagement.Dependencies value) {
this.dependencies = value;
}
/**
* 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 name="dependency" type="{http://maven.apache.org/POM/4.0.0}Dependency" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"dependencies"
})
public static class Dependencies
extends LocatedTreeImpl
{
@XmlElement(name = "dependency")
protected List dependencies;
/**
* Gets the value of the dependencies 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 dependencies property.
*
*
* For example, to add a new item, do as follows:
*
* getDependencies().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Dependency }
*
*
*/
public List getDependencies() {
if (dependencies == null) {
dependencies = new ArrayList();
}
return this.dependencies;
}
}
}