/*
* ###
* phresco-pom
*
* Copyright (C) 1999 - 2012 Photon Infotech Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* ###
*/
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-661
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2012.04.18 at 06:47:36 PM IST
//
package com.phresco.pom.model;
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;
/**
* 3.0.0+
*
* <p>Java class for Dependency complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <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}boolean" minOccurs="0"/>
* </all>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Dependency", propOrder = {
})
public class Dependency {
protected String groupId;
protected String artifactId;
protected String version;
@XmlElement(defaultValue = "jar")
protected String type;
protected String classifier;
protected String scope;
protected String systemPath;
protected Dependency.Exclusions exclusions;
@XmlElement(defaultValue = "false")
protected Boolean optional;
/**
* Gets the value of the groupId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getGroupId() {
return groupId;
}
/**
* Sets the value of the groupId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setGroupId(String value) {
this.groupId = value;
}
/**
* Gets the value of the artifactId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getArtifactId() {
return artifactId;
}
/**
* Sets the value of the artifactId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setArtifactId(String value) {
this.artifactId = value;
}
/**
* 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 type property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getType() {
return type;
}
/**
* Sets the value of the type property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setType(String value) {
this.type = value;
}
/**
* Gets the value of the classifier property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getClassifier() {
return classifier;
}
/**
* Sets the value of the classifier property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setClassifier(String value) {
this.classifier = value;
}
/**
* Gets the value of the scope property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getScope() {
return scope;
}
/**
* Sets the value of the scope property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setScope(String value) {
this.scope = value;
}
/**
* Gets the value of the systemPath property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSystemPath() {
return systemPath;
}
/**
* Sets the value of the systemPath property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSystemPath(String 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 Boolean }
*
*/
public Boolean isOptional() {
return optional;
}
/**
* Sets the value of the optional property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setOptional(Boolean value) {
this.optional = value;
}
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <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>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"exclusion"
})
public static class Exclusions {
protected List<Exclusion> exclusion;
/**
* Gets the value of the exclusion property.
*
* <p>
* 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 <CODE>set</CODE> method for the exclusion property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getExclusion().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Exclusion }
*
*
*/
public List<Exclusion> getExclusion() {
if (exclusion == null) {
exclusion = new ArrayList<Exclusion>();
}
return this.exclusion;
}
}
}