|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.opnworks.timesheet.domain.Project
This class is used to represent projects to which timesheet line items are attached. It implements the IPersistent, IActivityListener and INamedObject.
| Constructor Summary | |
Project()
|
|
Project(java.lang.String name,
java.lang.String code,
java.lang.String description,
IOrganization sponsor)
|
|
| Method Summary | |
void |
addActivityType(ActivityType activityType)
|
boolean |
equals(java.lang.Object other)
Description of the Method |
java.util.List |
getActivityTypes()
|
java.lang.String |
getCode()
|
java.lang.String |
getDescription()
|
java.lang.Long |
getId()
Gets the Id attribute of the IPersistent object |
java.lang.String |
getName()
Gets the Name attribute of the INamedObject object |
IOrganization |
getSponsor()
|
int |
getVersion()
Gets the Version attribute of the Project object |
int |
hashCode()
Description of the Method |
void |
removeActivityType(ActivityType activityType)
|
void |
setActivityTypes(java.util.List list)
|
void |
setCode(java.lang.String string)
|
void |
setDescription(java.lang.String string)
|
void |
setId(java.lang.Long id)
Sets the Id attribute of the Project object |
void |
setName(java.lang.String string)
|
void |
setSponsor(IOrganization organization)
|
void |
setVersion(int version)
Sets the Version attribute of the Project object |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Project(java.lang.String name,
java.lang.String code,
java.lang.String description,
IOrganization sponsor)
name - code - description - sponsor - public Project()
| Method Detail |
public void setSponsor(IOrganization organization)
organization - public void setId(java.lang.Long id)
setId in interface IPersistentid - The new Id valuepublic void setDescription(java.lang.String string)
string - public void setName(java.lang.String string)
string - public void setActivityTypes(java.util.List list)
list - The new ActivityTypes valuepublic void setCode(java.lang.String string)
string - public void setVersion(int version)
setVersion in interface IPersistentversion - The new Version valuepublic java.util.List getActivityTypes()
getActivityTypes in interface IActivityListerpublic IOrganization getSponsor()
public java.lang.Long getId()
IPersistent
getId in interface IPersistentpublic java.lang.String getDescription()
public java.lang.String getName()
INamedObject
getName in interface INamedObjectpublic java.lang.String getCode()
public int getVersion()
getVersion in interface IPersistentpublic void addActivityType(ActivityType activityType)
addActivityType in interface IActivityListeractivityType - An ActivityTypepublic void removeActivityType(ActivityType activityType)
removeActivityType in interface IActivityListeractivityType - An ActivityTypepublic boolean equals(java.lang.Object other)
other - Description of Parameter
public int hashCode()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||