All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.sonar.maven.model.maven2.Dependency 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 javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import org.sonar.maven.model.LocatedAttribute;
import org.sonar.maven.model.LocatedAttributeAdapter;
import org.sonar.maven.model.LocatedTreeImpl;


/**
 * 
 *         
 *         The <dependency> element contains information about a dependency
 *         of the project.
 *         
 *       
 * 
 * 

Java class for Dependency complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="Dependency">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <all>
 *         <element name="groupId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="artifactId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="version" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="type" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="classifier" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="scope" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="systemPath" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="exclusions" minOccurs="0">
 *           <complexType>
 *             <complexContent>
 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 <sequence>
 *                   <element name="exclusion" type="{http://maven.apache.org/POM/4.0.0}Exclusion" maxOccurs="unbounded" minOccurs="0"/>
 *                 </sequence>
 *               </restriction>
 *             </complexContent>
 *           </complexType>
 *         </element>
 *         <element name="optional" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *       </all>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "Dependency", propOrder = { }) public class Dependency extends LocatedTreeImpl { @XmlElement(type = String.class) @XmlJavaTypeAdapter(LocatedAttributeAdapter.class) protected LocatedAttribute groupId; @XmlElement(type = String.class) @XmlJavaTypeAdapter(LocatedAttributeAdapter.class) protected LocatedAttribute artifactId; @XmlElement(type = String.class) @XmlJavaTypeAdapter(LocatedAttributeAdapter.class) protected LocatedAttribute version; @XmlElement(type = String.class, defaultValue = "jar") @XmlJavaTypeAdapter(LocatedAttributeAdapter.class) protected LocatedAttribute type; @XmlElement(type = String.class) @XmlJavaTypeAdapter(LocatedAttributeAdapter.class) protected LocatedAttribute classifier; @XmlElement(type = String.class) @XmlJavaTypeAdapter(LocatedAttributeAdapter.class) protected LocatedAttribute scope; @XmlElement(type = String.class) @XmlJavaTypeAdapter(LocatedAttributeAdapter.class) protected LocatedAttribute systemPath; protected Dependency.Exclusions exclusions; @XmlElement(type = String.class) @XmlJavaTypeAdapter(LocatedAttributeAdapter.class) protected LocatedAttribute optional; /** * Gets the value of the groupId property. * * @return * possible object is * {@link String } * */ public LocatedAttribute getGroupId() { return groupId; } /** * Sets the value of the groupId property. * * @param value * allowed object is * {@link String } * */ public void setGroupId(LocatedAttribute value) { this.groupId = value; } /** * Gets the value of the artifactId property. * * @return * possible object is * {@link String } * */ public LocatedAttribute getArtifactId() { return artifactId; } /** * Sets the value of the artifactId property. * * @param value * allowed object is * {@link String } * */ public void setArtifactId(LocatedAttribute value) { this.artifactId = value; } /** * Gets the value of the version property. * * @return * possible object is * {@link String } * */ public LocatedAttribute getVersion() { return version; } /** * Sets the value of the version property. * * @param value * allowed object is * {@link String } * */ public void setVersion(LocatedAttribute value) { this.version = value; } /** * Gets the value of the type property. * * @return * possible object is * {@link String } * */ public LocatedAttribute getType() { return type; } /** * Sets the value of the type property. * * @param value * allowed object is * {@link String } * */ public void setType(LocatedAttribute value) { this.type = value; } /** * Gets the value of the classifier property. * * @return * possible object is * {@link String } * */ public LocatedAttribute getClassifier() { return classifier; } /** * Sets the value of the classifier property. * * @param value * allowed object is * {@link String } * */ public void setClassifier(LocatedAttribute value) { this.classifier = value; } /** * Gets the value of the scope property. * * @return * possible object is * {@link String } * */ public LocatedAttribute getScope() { return scope; } /** * Sets the value of the scope property. * * @param value * allowed object is * {@link String } * */ public void setScope(LocatedAttribute value) { this.scope = value; } /** * Gets the value of the systemPath property. * * @return * possible object is * {@link String } * */ public LocatedAttribute getSystemPath() { return systemPath; } /** * Sets the value of the systemPath property. * * @param value * allowed object is * {@link String } * */ public void setSystemPath(LocatedAttribute value) { this.systemPath = value; } /** * Gets the value of the exclusions property. * * @return * possible object is * {@link Dependency.Exclusions } * */ public Dependency.Exclusions getExclusions() { return exclusions; } /** * Sets the value of the exclusions property. * * @param value * allowed object is * {@link Dependency.Exclusions } * */ public void setExclusions(Dependency.Exclusions value) { this.exclusions = value; } /** * Gets the value of the optional property. * * @return * possible object is * {@link String } * */ public LocatedAttribute getOptional() { return optional; } /** * Sets the value of the optional property. * * @param value * allowed object is * {@link String } * */ public void setOptional(LocatedAttribute value) { this.optional = 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="exclusion" type="{http://maven.apache.org/POM/4.0.0}Exclusion" maxOccurs="unbounded" minOccurs="0"/>
     *       </sequence>
     *     </restriction>
     *   </complexContent>
     * </complexType>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "exclusions" }) public static class Exclusions extends LocatedTreeImpl { @XmlElement(name = "exclusion") protected List exclusions; /** * Gets the value of the exclusions 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 exclusions property. * *

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

         *    getExclusions().add(newItem);
         * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Exclusion } * * */ public List getExclusions() { if (exclusions == null) { exclusions = new ArrayList(); } return this.exclusions; } } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy