org.eclipse.egit.github.core
Class Contributor

java.lang.Object
  extended by org.eclipse.egit.github.core.Contributor
All Implemented Interfaces:
Serializable

public class Contributor
extends Object
implements Serializable

Repository contributor model class

See Also:
Serialized Form

Field Summary
static String TYPE_ANONYMOUS
          Anonymous contributor type value
 
Constructor Summary
Contributor()
           
 
Method Summary
 String getAvatarUrl()
           
 int getContributions()
           
 int getId()
           
 String getLogin()
           
 String getName()
           
 String getType()
           
 String getUrl()
           
 Contributor setAvatarUrl(String avatarUrl)
           
 Contributor setContributions(int contributions)
           
 Contributor setId(int id)
           
 Contributor setLogin(String login)
           
 Contributor setName(String name)
           
 Contributor setType(String type)
           
 Contributor setUrl(String url)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TYPE_ANONYMOUS

public static final String TYPE_ANONYMOUS
Anonymous contributor type value

See Also:
Constant Field Values
Constructor Detail

Contributor

public Contributor()
Method Detail

getContributions

public int getContributions()
Returns:
contributions

setContributions

public Contributor setContributions(int contributions)
Parameters:
contributions -
Returns:
this contributor

getId

public int getId()
Returns:
id

setId

public Contributor setId(int id)
Parameters:
id -
Returns:
this contributor

getAvatarUrl

public String getAvatarUrl()
Returns:
avatarUrl

setAvatarUrl

public Contributor setAvatarUrl(String avatarUrl)
Parameters:
avatarUrl -
Returns:
this contributor

getLogin

public String getLogin()
Returns:
login

setLogin

public Contributor setLogin(String login)
Parameters:
login -
Returns:
this contributor

getName

public String getName()
Returns:
name

setName

public Contributor setName(String name)
Parameters:
name -
Returns:
this contributor

getType

public String getType()
Returns:
type

setType

public Contributor setType(String type)
Parameters:
type -
Returns:
this contributor

getUrl

public String getUrl()
Returns:
url

setUrl

public Contributor setUrl(String url)
Parameters:
url -
Returns:
this contributor


Copyright © 2012. All Rights Reserved.