org.hackystat.tickertape.tickerlingua
Class HackystatProject

java.lang.Object
  extended by org.hackystat.tickertape.tickerlingua.HackystatProject

public class HackystatProject
extends java.lang.Object

Represents a Hackystat Project.

Author:
Philip Johnson

Constructor Summary
HackystatProject(java.lang.String id, java.lang.String name, java.lang.String shortname, HackystatService service, HackystatUser owner, HackystatUser authUser, java.lang.String mailinglist)
          Create a new Hackystat Project representation.
 
Method Summary
 HackystatUser getHackystatAuthUser()
          Get the HackystatUser that can access this project data.
 HackystatUser getHackystatOwner()
          Get the HackystatUser that owns this project.
 HackystatService getHackystatService()
          Get the Hackystat Service.
 java.lang.String getId()
          Get the id.
 java.lang.String getMailingList()
          Get the mailing list for this project.
 java.lang.String getName()
          Get the name.
 java.lang.String getShortName()
          Get the shortname.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HackystatProject

public HackystatProject(java.lang.String id,
                        java.lang.String name,
                        java.lang.String shortname,
                        HackystatService service,
                        HackystatUser owner,
                        HackystatUser authUser,
                        java.lang.String mailinglist)
Create a new Hackystat Project representation.

Parameters:
id - The id, which must be unique.
name - The name of this project.
shortname - A nickname.
service - The HackystatService for this Project.
owner - The owner of this project. We don't need a password for this user.
authUser - The authorized user for accessing this project. We need the password for them.
mailinglist - The mailing list for this project.
Method Detail

getId

public java.lang.String getId()
Get the id.

Returns:
The id.

getName

public java.lang.String getName()
Get the name.

Returns:
The name.

getShortName

public java.lang.String getShortName()
Get the shortname.

Returns:
The shortname.

getHackystatService

public HackystatService getHackystatService()
Get the Hackystat Service.

Returns:
The service.

getHackystatOwner

public HackystatUser getHackystatOwner()
Get the HackystatUser that owns this project.

Returns:
The owner.

getHackystatAuthUser

public HackystatUser getHackystatAuthUser()
Get the HackystatUser that can access this project data.

Returns:
The authorized user of this project data.

getMailingList

public java.lang.String getMailingList()
Get the mailing list for this project.

Returns:
The mailing list.