|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.statcvs.model.Author
public class Author
Represents an author of one or more Revision
s in a repository.
TODO: Rename to Login
Constructor Summary | |
---|---|
Author(java.lang.String name)
Creates a new author. |
Method Summary | |
---|---|
protected void |
addRevision(Revision revision)
Adds a revision for this author; called by Revision constructor |
int |
compareTo(java.lang.Object o)
Compares the instance to another author, using their login names. |
java.util.SortedSet |
getDirectories()
Returns all Directory s the author
has committed a change to, sorted by name. |
java.lang.String |
getEmail()
|
java.lang.String |
getHomePageUrl()
|
java.lang.String |
getImageUrl()
|
java.lang.String |
getName()
Returns the author's login name. |
java.lang.String |
getRealName()
|
java.util.SortedSet |
getRevisions()
Returns all Revision s of this author, sorted from oldest
to most recent. |
void |
setEmail(java.lang.String email)
|
void |
setHomePageUrl(java.lang.String homePageUrl)
|
void |
setImageUrl(java.lang.String imageUrl)
|
void |
setRealName(java.lang.String realName)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Author(java.lang.String name)
name
- the author's login nameMethod Detail |
---|
protected void addRevision(Revision revision)
Revision
constructor
revision
- a revision committed by this authorpublic java.lang.String getName()
public java.util.SortedSet getRevisions()
Revision
s of this author, sorted from oldest
to most recent.
public java.util.SortedSet getDirectories()
Directory
s the author
has committed a change to, sorted by name.
public int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable
Comparable.compareTo(java.lang.Object)
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getHomePageUrl()
public void setHomePageUrl(java.lang.String homePageUrl)
public java.lang.String getImageUrl()
public void setImageUrl(java.lang.String imageUrl)
public java.lang.String getRealName()
public void setRealName(java.lang.String realName)
public java.lang.String getEmail()
public void setEmail(java.lang.String email)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |