|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.opnworks.timesheet.domain.TimesheetLineItem
This class is used to represent timesheet line items. It implements the IPersistent interface.
| Constructor Summary | |
TimesheetLineItem()
Default constructor |
|
| Method Summary | |
boolean |
equals(java.lang.Object other)
Description of the Method |
ActivityType |
getActivityType()
|
java.lang.String |
getCostCenter()
|
IOrganization |
getCustomer()
|
java.lang.String |
getDescription()
|
java.lang.Float[] |
getHours()
|
float |
getHours(int day)
Return number of hours for line item for day |
java.lang.Long |
getId()
Gets the Id attribute of the IPersistent object |
Project |
getProject()
|
float |
getTotal()
|
int |
getVersion()
Gets the Version attribute of the TimesheetLineItem object |
int |
hashCode()
Description of the Method |
void |
setActivityType(ActivityType type)
|
void |
setDescription(java.lang.String string)
|
void |
setHours(java.lang.Float[] floats)
|
void |
setHours(int day,
float numberOfHours)
|
void |
setId(java.lang.Long id)
Sets the Id attribute of the IPersistent object |
void |
setProject(Project project)
|
void |
setVersion(int version)
Sets the Version attribute of the TimesheetLineItem object |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TimesheetLineItem()
| Method Detail |
public void setActivityType(ActivityType type)
type - public void setDescription(java.lang.String string)
string - public void setProject(Project project)
project -
public void setHours(int day,
float numberOfHours)
day - int Index of daynumberOfHours - float Number of hours for day for line itempublic void setId(java.lang.Long id)
IPersistent
setId in interface IPersistentid - public void setHours(java.lang.Float[] floats)
floats - public void setVersion(int version)
setVersion in interface IPersistentversion - The new Version valuepublic ActivityType getActivityType()
public IOrganization getCustomer()
public java.lang.String getDescription()
public java.lang.Float[] getHours()
public float getTotal()
public Project getProject()
public float getHours(int day)
day - Description of Parameter
public java.lang.Long getId()
IPersistent
getId in interface IPersistentpublic java.lang.String getCostCenter()
public int getVersion()
getVersion in interface IPersistentpublic 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 | ||||||||||