public class Contributor extends Object implements Serializable, Cloneable, InputLocationTracker
Constructor and Description |
---|
Contributor() |
Modifier and Type | Method and Description |
---|---|
void |
addProperty(String key,
String value)
Method addProperty.
|
void |
addRole(String string)
Method addRole.
|
Contributor |
clone()
Method clone.
|
String |
getEmail()
Get the email address of the contributor.
|
InputLocation |
getLocation(Object key)
Gets the location of the specified field in the input
source.
|
String |
getName()
Get the full name of the contributor.
|
String |
getOrganization()
Get the organization to which the contributor belongs.
|
String |
getOrganizationUrl()
Get the URL of the organization.
|
Properties |
getProperties()
Method getProperties.
|
List<String> |
getRoles()
Method getRoles.
|
String |
getTimezone()
Get the timezone the contributor is in.
|
String |
getUrl()
Get the URL for the homepage of the contributor.
|
void |
removeRole(String string)
Method removeRole.
|
void |
setEmail(String email)
Set the email address of the contributor.
|
void |
setLocation(Object key,
InputLocation location)
Sets the location of the specified field.
|
void |
setName(String name)
Set the full name of the contributor.
|
void |
setOrganization(String organization)
Set the organization to which the contributor belongs.
|
void |
setOrganizationUrl(String organizationUrl)
Set the URL of the organization.
|
void |
setProperties(Properties properties)
Set properties about the contributor, such as an instant
messenger handle.
|
void |
setRoles(List<String> roles)
Set the roles the contributor plays in the project.
|
void |
setTimezone(String timezone)
Set the timezone the contributor is in.
|
void |
setUrl(String url)
Set the URL for the homepage of the contributor.
|
public Contributor()
public void addProperty(String key, String value)
key
- value
- public Contributor clone()
public InputLocation getLocation(Object key)
InputLocationTracker
getLocation
in interface InputLocationTracker
key
- public String getOrganization()
public String getOrganizationUrl()
public Properties getProperties()
public String getTimezone()
public void removeRole(String string)
string
- public void setEmail(String email)
email
- public void setLocation(Object key, InputLocation location)
InputLocationTracker
setLocation
in interface InputLocationTracker
key
- location
- public void setOrganization(String organization)
organization
- public void setOrganizationUrl(String organizationUrl)
organizationUrl
- public void setProperties(Properties properties)
properties
- public void setRoles(List<String> roles)
role
element, the body of which is
a role name. This can also be used to
describe the contribution.roles
- public void setTimezone(String timezone)
timezone
- Copyright © 2001–2015 The Apache Software Foundation. All rights reserved.