|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.statcvs.model.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. |
boolean |
equals(java.lang.Object rhs)
|
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. |
java.lang.String |
getTwitterUserId()
|
java.lang.String |
getTwitterUserName()
|
int |
hashCode()
|
boolean |
isTwitterIncludeFlash()
|
boolean |
isTwitterIncludeHtml()
|
void |
setEmail(java.lang.String email)
|
void |
setHomePageUrl(java.lang.String homePageUrl)
|
void |
setImageUrl(java.lang.String imageUrl)
|
void |
setRealName(java.lang.String realName)
|
void |
setTwitterIncludeFlash(boolean twitterIncludeFlash)
|
void |
setTwitterIncludeHtml(boolean twitterIncludeHtml)
|
void |
setTwitterUserId(java.lang.String twitterUserId)
|
void |
setTwitterUserName(java.lang.String twitterUserName)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, 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 boolean equals(java.lang.Object rhs)
public int hashCode()
public java.lang.String toString()
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)
public java.lang.String getTwitterUserName()
public void setTwitterUserName(java.lang.String twitterUserName)
public java.lang.String getTwitterUserId()
public void setTwitterUserId(java.lang.String twitterUserId)
public boolean isTwitterIncludeHtml()
public void setTwitterIncludeHtml(boolean twitterIncludeHtml)
public boolean isTwitterIncludeFlash()
public void setTwitterIncludeFlash(boolean twitterIncludeFlash)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |