
org.sonar.maven.model.maven2.Contributor 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.05.23 at 12:39: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.XmlAnyElement;
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;
import org.w3c.dom.Element;
/**
* Description of a person who has contributed to the project, but who does not have
* commit privileges. Usually, these contributions come in the form of patches submitted.
*
* Java class for Contributor complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="Contributor">
* <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="email" 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="organization" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="organizationUrl" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="roles" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="role" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="timezone" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="properties" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <any processContents='skip' maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </all>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Contributor", propOrder = {
})
public class Contributor
extends LocatedTreeImpl
{
@XmlElement(type = String.class)
@XmlJavaTypeAdapter(LocatedAttributeAdapter.class)
protected LocatedAttribute name;
@XmlElement(type = String.class)
@XmlJavaTypeAdapter(LocatedAttributeAdapter.class)
protected LocatedAttribute email;
@XmlElement(type = String.class)
@XmlJavaTypeAdapter(LocatedAttributeAdapter.class)
protected LocatedAttribute url;
@XmlElement(type = String.class)
@XmlJavaTypeAdapter(LocatedAttributeAdapter.class)
protected LocatedAttribute organization;
@XmlElement(type = String.class)
@XmlJavaTypeAdapter(LocatedAttributeAdapter.class)
protected LocatedAttribute organizationUrl;
protected Contributor.Roles roles;
@XmlElement(type = String.class)
@XmlJavaTypeAdapter(LocatedAttributeAdapter.class)
protected LocatedAttribute timezone;
protected Contributor.Properties properties;
/**
* 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 email property.
*
* @return
* possible object is
* {@link String }
*
*/
public LocatedAttribute getEmail() {
return email;
}
/**
* Sets the value of the email property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setEmail(LocatedAttribute value) {
this.email = 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 organization property.
*
* @return
* possible object is
* {@link String }
*
*/
public LocatedAttribute getOrganization() {
return organization;
}
/**
* Sets the value of the organization property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setOrganization(LocatedAttribute value) {
this.organization = value;
}
/**
* Gets the value of the organizationUrl property.
*
* @return
* possible object is
* {@link String }
*
*/
public LocatedAttribute getOrganizationUrl() {
return organizationUrl;
}
/**
* Sets the value of the organizationUrl property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setOrganizationUrl(LocatedAttribute value) {
this.organizationUrl = value;
}
/**
* Gets the value of the roles property.
*
* @return
* possible object is
* {@link Contributor.Roles }
*
*/
public Contributor.Roles getRoles() {
return roles;
}
/**
* Sets the value of the roles property.
*
* @param value
* allowed object is
* {@link Contributor.Roles }
*
*/
public void setRoles(Contributor.Roles value) {
this.roles = value;
}
/**
* Gets the value of the timezone property.
*
* @return
* possible object is
* {@link String }
*
*/
public LocatedAttribute getTimezone() {
return timezone;
}
/**
* Sets the value of the timezone property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTimezone(LocatedAttribute value) {
this.timezone = value;
}
/**
* Gets the value of the properties property.
*
* @return
* possible object is
* {@link Contributor.Properties }
*
*/
public Contributor.Properties getProperties() {
return properties;
}
/**
* Sets the value of the properties property.
*
* @param value
* allowed object is
* {@link Contributor.Properties }
*
*/
public void setProperties(Contributor.Properties value) {
this.properties = 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>
* <any processContents='skip' maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"elements"
})
public static class Properties
extends LocatedTreeImpl
{
@XmlAnyElement
protected List elements;
/**
* Gets the value of the elements 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 elements property.
*
*
* For example, to add a new item, do as follows:
*
* getElements().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Element }
*
*
*/
public List getElements() {
if (elements == null) {
elements = new ArrayList();
}
return this.elements;
}
}
/**
* 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="role" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"roles"
})
public static class Roles
extends LocatedTreeImpl
{
@XmlElement(name = "role", type = String.class)
@XmlJavaTypeAdapter(LocatedAttributeAdapter.class)
protected List roles;
/**
* Gets the value of the roles 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 roles property.
*
*
* For example, to add a new item, do as follows:
*
* getRoles().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getRoles() {
if (roles == null) {
roles = new ArrayList();
}
return this.roles;
}
}
}