org.apache.maven.project
Class Contributor

java.lang.Object
  extended byorg.apache.maven.project.BaseObject
      extended byorg.apache.maven.project.Contributor
Direct Known Subclasses:
Developer

public class Contributor
extends BaseObject

A Contributor to a project is an individual that has contributed in some way to the project, but is not a Contributor.

Version:
$Id: Contributor.java 122174 2004-03-28 21:27:27Z evenisse $
Author:
Jason van Zyl, bob mcwhirter, Glenn McAllister, Kurt Schrader

Field Summary
 
Fields inherited from class org.apache.maven.project.BaseObject
id
 
Constructor Summary
Contributor()
          Constructor for the Contributor object
 
Method Summary
 void addRole(java.lang.String role)
          Adds a role attribute to the Contributor object.
 java.lang.String getEmail()
          Gets the email attribute of the Contributor object
 java.lang.String getOrganization()
          Gets the organization attribute of the Contributor object
 java.util.SortedSet getRoles()
          Gets the sorted set of unique role attributes of the Contributor object.
 java.lang.String getTimezone()
          Gets the timezone offset of the Contributor object.
 java.lang.String getUrl()
          Gets the homepage url of the Contributor object.
 void setEmail(java.lang.String email)
          Sets the email attribute of the Contributor object
 void setOrganization(java.lang.String organization)
          Sets the organization attribute of the Contributor object
 void setTimezone(java.lang.String timezone)
          Set the timezone offset of the Contributor object
 void setUrl(java.lang.String url)
          Set the url attribute of the Contributor object
 
Methods inherited from class org.apache.maven.project.BaseObject
addProperty, equals, getId, getName, getProperties, getProperty, hashCode, isValid, resolvedProperties, setId, setName, setProperties, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Contributor

public Contributor()
Constructor for the Contributor object

Method Detail

setEmail

public void setEmail(java.lang.String email)
Sets the email attribute of the Contributor object

Parameters:
email - the Contributor's email address

getEmail

public java.lang.String getEmail()
Gets the email attribute of the Contributor object

Returns:
the Contributor's email address

setOrganization

public void setOrganization(java.lang.String organization)
Sets the organization attribute of the Contributor object

Parameters:
organization - the Contributor's organization affiliation

getOrganization

public java.lang.String getOrganization()
Gets the organization attribute of the Contributor object

Returns:
the organization the Contributor is affiliated with

addRole

public void addRole(java.lang.String role)
Adds a role attribute to the Contributor object.

Parameters:
role - a role the Contributor plays in the project

getRoles

public java.util.SortedSet getRoles()
Gets the sorted set of unique role attributes of the Contributor object.

Returns:
the sorted set of roles the Contributor plays in the project.

getUrl

public java.lang.String getUrl()
Gets the homepage url of the Contributor object.

Returns:
the URL of the Contributor's homepage

setUrl

public void setUrl(java.lang.String url)
Set the url attribute of the Contributor object

Parameters:
url - the Contributor's homepage URL

getTimezone

public java.lang.String getTimezone()
Gets the timezone offset of the Contributor object.

Returns:
the timezone offset of the Contributor's homepage

setTimezone

public void setTimezone(java.lang.String timezone)
Set the timezone offset of the Contributor object

Parameters:
timezone - offset of the Contributor


Copyright © 2001-2005 Apache Software Foundation. All Rights Reserved.