com.danube.scrumworks.api2
Class Sprint

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

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

Contains information about Sprints for API users.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.danube.scrumworks.util.HasName
com.danube.scrumworks.util.HasName.CompareIgnoreCase
 
Field Summary
static com.google.common.base.Function<com.danube.scrumworks.sprint.SprintTO,Sprint> FROM_TO
          Converts sprint transfer objects to web service objects.
static com.google.common.base.Function<Sprint,com.danube.scrumworks.sprint.SprintTO> TO_TO
          Converts sprint web service objects to transfer objects.
 
Fields inherited from interface com.danube.scrumworks.util.HasName
COMPARATOR, NAME_MAPPING
 
Constructor Summary
Sprint()
          Constructs a new Sprint.
 
Method Summary
 java.util.Date getEndDate()
          Gets the end date.
 java.lang.String getGoals()
          Gets the goals.
 java.lang.Long getId()
          Gets the id.
 java.lang.String getName()
          Gets the name.
 java.util.List<java.util.Date> getNonWorkingDays()
          Gets the non working days.
 java.lang.Long getProductId()
          Gets the product id.
 java.util.Date getStartDate()
          Gets the start date.
 java.lang.Long getTeamId()
          Gets the team working on the sprint.
 void setEndDate(java.util.Date endDate)
          Sets the end date.
 void setGoals(java.lang.String goals)
          Sets the goals.
 void setId(java.lang.Long id)
          Sets the id.
 void setName(java.lang.String name)
          Sets the name.
 void setNonWorkingDays(java.util.List<java.util.Date> nonWorkingDays)
          Sets the non working days.
 void setProductId(java.lang.Long productId)
          Sets the product id.
 void setStartDate(java.util.Date startDate)
          Sets the start date.
 void setTeamId(java.lang.Long teamId)
          Sets the team.
 
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.sprint.SprintTO,Sprint> FROM_TO
Converts sprint transfer objects to web service objects.


TO_TO

public static final com.google.common.base.Function<Sprint,com.danube.scrumworks.sprint.SprintTO> TO_TO
Converts sprint web service objects to transfer objects.

Constructor Detail

Sprint

public Sprint()
Constructs a new Sprint.

Method Detail

getId

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

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

setId

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

Parameters:
id - the new id

getName

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

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

setName

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

Parameters:
name - the new name

getStartDate

public final java.util.Date getStartDate()
Gets the start date.

Returns:
the start date

setStartDate

public final void setStartDate(java.util.Date startDate)
Sets the start date.

Parameters:
startDate - the new start date

getEndDate

public final java.util.Date getEndDate()
Gets the end date.

Returns:
the end date

setEndDate

public final void setEndDate(java.util.Date endDate)
Sets the end date.

Parameters:
endDate - the new end date

getGoals

public final java.lang.String getGoals()
Gets the goals.

Returns:
the goals

setGoals

public final void setGoals(java.lang.String goals)
Sets the goals.

Parameters:
goals - the new goals

getProductId

public final java.lang.Long getProductId()
Gets the product id.

Returns:
the product id

setProductId

public final void setProductId(java.lang.Long productId)
Sets the product id.

Parameters:
productId - the new product id

getTeamId

public final java.lang.Long getTeamId()
Gets the team working on the sprint.

Returns:
the team

setTeamId

public final void setTeamId(java.lang.Long teamId)
Sets the team.

Parameters:
teamId - the new team id

getNonWorkingDays

public final java.util.List<java.util.Date> getNonWorkingDays()
Gets the non working days.

Returns:
the non working days

setNonWorkingDays

public final void setNonWorkingDays(java.util.List<java.util.Date> nonWorkingDays)
Sets the non working days.

Parameters:
nonWorkingDays - the new non working days