
org.sonar.maven.model.maven2.License 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 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;
/**
* Describes the licenses for this project. This is used to generate the license
* page of the project's web site, as well as being taken into consideration in other reporting
* and validation. The licenses listed for the project are that of the project itself, and not
* of dependencies.
*
* Java class for License complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="License">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <all>
* <element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="url" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="distribution" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="comments" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* </all>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "License", propOrder = {
})
public class License
extends LocatedTreeImpl
{
@XmlElement(type = String.class)
@XmlJavaTypeAdapter(LocatedAttributeAdapter.class)
protected LocatedAttribute name;
@XmlElement(type = String.class)
@XmlJavaTypeAdapter(LocatedAttributeAdapter.class)
protected LocatedAttribute url;
@XmlElement(type = String.class)
@XmlJavaTypeAdapter(LocatedAttributeAdapter.class)
protected LocatedAttribute distribution;
@XmlElement(type = String.class)
@XmlJavaTypeAdapter(LocatedAttributeAdapter.class)
protected LocatedAttribute comments;
/**
* Gets the value of the name property.
*
* @return
* possible object is
* {@link String }
*
*/
public LocatedAttribute getName() {
return name;
}
/**
* Sets the value of the name property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setName(LocatedAttribute value) {
this.name = value;
}
/**
* Gets the value of the url property.
*
* @return
* possible object is
* {@link String }
*
*/
public LocatedAttribute getUrl() {
return url;
}
/**
* Sets the value of the url property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setUrl(LocatedAttribute value) {
this.url = value;
}
/**
* Gets the value of the distribution property.
*
* @return
* possible object is
* {@link String }
*
*/
public LocatedAttribute getDistribution() {
return distribution;
}
/**
* Sets the value of the distribution property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDistribution(LocatedAttribute value) {
this.distribution = value;
}
/**
* Gets the value of the comments property.
*
* @return
* possible object is
* {@link String }
*
*/
public LocatedAttribute getComments() {
return comments;
}
/**
* Sets the value of the comments property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setComments(LocatedAttribute value) {
this.comments = value;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy