com.danube.scrumworks.api2
Class Task

java.lang.Object
  extended by com.danube.scrumworks.api2.Task
All Implemented Interfaces:
com.danube.scrumworks.util.HasId, com.danube.scrumworks.util.HasName, com.danube.scrumworks.util.HasRank, java.io.Serializable

public final class Task
extends java.lang.Object
implements java.io.Serializable, com.danube.scrumworks.util.HasId, com.danube.scrumworks.util.HasName, com.danube.scrumworks.util.HasRank

Represents tasks in the API v2.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.danube.scrumworks.util.HasName
com.danube.scrumworks.util.HasName.CompareIgnoreCase
 
Nested classes/interfaces inherited from interface com.danube.scrumworks.util.HasRank
com.danube.scrumworks.util.HasRank.RankComparator, com.danube.scrumworks.util.HasRank.RankExtractor
 
Field Summary
static com.google.common.base.Function<com.danube.scrumworks.task.TaskTO,Task> FROM_TO
          Converts transfer objects to API objects.
static com.google.common.base.Function<Task,com.danube.scrumworks.task.TaskTO> TO_TO
          Converts task web service objects to transfer objects.
 
Fields inherited from interface com.danube.scrumworks.util.HasName
COMPARATOR, NAME_MAPPING
 
Fields inherited from interface com.danube.scrumworks.util.HasRank
COMPARATOR
 
Constructor Summary
Task()
          Constructs a new Task.
 
Method Summary
 java.lang.Long getBacklogItemId()
          Gets the backlog item id.
 java.lang.Integer getCurrentEstimate()
          Gets the current estimate.
 java.lang.String getDescription()
          Gets the description.
 java.lang.Long getId()
          Gets the id.
 java.lang.String getName()
          Gets the name.
 java.lang.Integer getOriginalEstimate()
          Gets the original estimate.
 java.lang.String getPointPerson()
          Gets the point person.
 double getRank()
          Gets the rank.
 java.lang.String getStatus()
          Gets the status.
 void setBacklogItemId(java.lang.Long backlogItemId)
          Sets the backlog item id.
 void setCurrentEstimate(java.lang.Integer currentEstimate)
          Sets the current estimate.
 void setDescription(java.lang.String description)
          Sets the description.
 void setId(java.lang.Long id)
          Sets the id.
 void setName(java.lang.String name)
          Sets the name.
 void setOriginalEstimate(java.lang.Integer originalEstimate)
          Sets the original estimate.
 void setPointPerson(java.lang.String pointPerson)
          Sets the point person.
 void setRank(double rank)
          Sets the rank.
 void setStatus(java.lang.String status)
          Sets the status.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FROM_TO

public static final com.google.common.base.Function<com.danube.scrumworks.task.TaskTO,Task> FROM_TO
Converts transfer objects to API objects.


TO_TO

public static final com.google.common.base.Function<Task,com.danube.scrumworks.task.TaskTO> TO_TO
Converts task web service objects to transfer objects.

Constructor Detail

Task

public Task()
Constructs a new Task.

Method Detail

getId

public java.lang.Long getId()
Gets the id.

Specified by:
getId in interface com.danube.scrumworks.util.HasId
Returns:
the id

setId

public void setId(java.lang.Long id)
Sets the id.

Parameters:
id - the new id

getName

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

Specified by:
getName in interface com.danube.scrumworks.util.HasName
Returns:
the name

setName

public void setName(java.lang.String name)
Sets the name.

Parameters:
name - the new name

getDescription

public java.lang.String getDescription()
Gets the description.

Returns:
the description

setDescription

public void setDescription(java.lang.String description)
Sets the description.

Parameters:
description - the new description

getPointPerson

public java.lang.String getPointPerson()
Gets the point person.

Returns:
the point person

setPointPerson

public void setPointPerson(java.lang.String pointPerson)
Sets the point person.

Parameters:
pointPerson - the new point person

getStatus

public java.lang.String getStatus()
Gets the status.

Returns:
the status

setStatus

public void setStatus(java.lang.String status)
Sets the status.

Parameters:
status - the new status

getCurrentEstimate

public java.lang.Integer getCurrentEstimate()
Gets the current estimate.

Returns:
the current estimate

setCurrentEstimate

public void setCurrentEstimate(java.lang.Integer currentEstimate)
Sets the current estimate.

Parameters:
currentEstimate - the new current estimate

getOriginalEstimate

public java.lang.Integer getOriginalEstimate()
Gets the original estimate.

Returns:
the original estimate

setOriginalEstimate

public void setOriginalEstimate(java.lang.Integer originalEstimate)
Sets the original estimate.

Parameters:
originalEstimate - the new original estimate

getRank

public double getRank()
Gets the rank.

Specified by:
getRank in interface com.danube.scrumworks.util.HasRank
Returns:
the rank

setRank

public void setRank(double rank)
Sets the rank.

Parameters:
rank - the new rank

getBacklogItemId

public java.lang.Long getBacklogItemId()
Gets the backlog item id.

Returns:
the backlog item id

setBacklogItemId

public void setBacklogItemId(java.lang.Long backlogItemId)
Sets the backlog item id.

Parameters:
backlogItemId - the new backlog item id