public class Effort extends Entity
Modifier and Type | Field and Description |
---|---|
static String |
ATTRIBUTE_DATE
'Date' attribute.
|
static String |
ATTRIBUTE_VALUE
'Value' attribute.
|
ASSET_STATE_VALUE, ASSET_VALUE, CHANGE_DATE_UTC, CONTENT_TYPE_VALUE, CONTENT_VALUE, CREATE_DATE_UTC, DELETE_OPERATION, DESCRIPTION_VALUE, FILENAME_VALUE, NAME_VALUE
Constructor and Description |
---|
Effort(AssetID id,
V1Instance instance)
Constructor used to represent an Effort that DOES exist in the VersionOne
System.
|
Modifier and Type | Method and Description |
---|---|
DB.DateTime |
getDate()
Gets Date this effort record is logged against.
|
Iteration |
getIteration()
Gets Iteration this effort record belongs to.
|
Member |
getMember()
Gets Member this effort record belongs to.
|
Project |
getProject()
Gets the Project this effort record belongs to.
|
Team |
getTeam()
Gets Team this effort record belongs to.
|
double |
getValue()
Gets Value of this effort record.
|
Workitem |
getWorkitem()
Gets Story, Defect, Task, Test that this Effort record belongs to.
|
void |
setDate(DB.DateTime date)
Sets Date this effort record is logged against.
|
void |
setIteration(Iteration iteration)
Sets Iteration this effort record belongs to.
|
void |
setMember(Member member)
Sets Member this effort record belongs to.
|
void |
setProject(Project project)
Sets the Project this effort record belongs to.
|
void |
setTeam(Team team)
Sets Team this effort record belongs to.
|
void |
setValue(double value)
Sets Value of this effort record.
|
void |
setWorkitem(Workitem workitem)
Sets Story, Defect, Task, Test that this Effort record belongs to.
|
equals, get, getChangeComment, getChangeDate, getChangedBy, getCreateComment, getCreateDate, getCreatedBy, getID, getInstance, hashCode, save, save, toString
public static final String ATTRIBUTE_DATE
public static final String ATTRIBUTE_VALUE
public Effort(AssetID id, V1Instance instance)
id
- Unique ID of this Effort.instance
- this Effort belongs to.public Workitem getWorkitem()
public void setWorkitem(Workitem workitem)
workitem
- belonged Entity.public Project getProject()
public void setProject(Project project)
project
- belonged Project.public Member getMember()
public void setMember(Member member)
member
- belonged Member.public Iteration getIteration()
public void setIteration(Iteration iteration)
iteration
- belonged Iteration.public Team getTeam()
public void setTeam(Team team)
team
- belonged Team.public DB.DateTime getDate()
public void setDate(DB.DateTime date)
date
- this Effort date.public double getValue()
public void setValue(double value)
value
- this Effort value.Copyright © 2013 Version One, Inc.. All rights reserved.