com.danube.scrumworks.api2
Class Impediment

java.lang.Object
  extended by com.danube.scrumworks.api2.Impediment
All Implemented Interfaces:
java.io.Serializable

public final class Impediment
extends java.lang.Object
implements java.io.Serializable

Contains information about Impediments for API users.

See Also:
Serialized Form

Field Summary
static com.google.common.base.Function<ImpedimentTO,Impediment> FROM_TO
          Converts transfer objects to API objects.
static com.google.common.base.Function<Impediment,ImpedimentTO> TO_TO
          Converts task web service objects to transfer objects.
 
Constructor Summary
Impediment()
          Constructs a new Impediment.
 
Method Summary
 java.lang.String getDescription()
          Gets the description.
 java.util.Date getEntryDate()
          Gets the entry date.
 java.lang.Long getId()
          Gets the id.
 java.util.Date getLastModifiedDate()
          Gets the last modified date.
 java.lang.Long getProductId()
          Gets the product id.
 java.lang.String getReporter()
          Gets the reporter.
 java.util.Date getResolutionDate()
          Gets the resolution date.
 java.lang.String getSummary()
          Gets the summary.
 java.lang.Long getTeamId()
          Gets the team id.
 boolean isResolved()
          Checks if the impediment is resolved.
 void setDescription(java.lang.String description)
          Sets the description.
 void setEntryDate(java.util.Date entryDate)
          Sets the entry date.
 void setId(java.lang.Long id)
          Sets the id.
 void setLastModifiedDate(java.util.Date lastModifiedDate)
          Sets the last modified date.
 void setProductId(java.lang.Long productId)
          Sets the product id.
 void setReporter(java.lang.String reporter)
          Sets the reporter.
 void setResolutionDate(java.util.Date resolutionDate)
          Sets the resolution date.
 void setSummary(java.lang.String summary)
          Sets the summary.
 void setTeamId(java.lang.Long teamId)
          Sets the team id.
 
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<ImpedimentTO,Impediment> FROM_TO
Converts transfer objects to API objects.


TO_TO

public static final com.google.common.base.Function<Impediment,ImpedimentTO> TO_TO
Converts task web service objects to transfer objects.

Constructor Detail

Impediment

public Impediment()
Constructs a new Impediment.

Method Detail

getId

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

Returns:
the id

setId

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

Parameters:
id - the new id

getEntryDate

public java.util.Date getEntryDate()
Gets the entry date.

Returns:
the entry date

setEntryDate

public void setEntryDate(java.util.Date entryDate)
Sets the entry date.

Parameters:
entryDate - the new entry date

getSummary

public java.lang.String getSummary()
Gets the summary.

Returns:
the summary

setSummary

public void setSummary(java.lang.String summary)
Sets the summary.

Parameters:
summary - the new summary

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

getTeamId

public java.lang.Long getTeamId()
Gets the team id.

Returns:
the team id

setTeamId

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

Parameters:
teamId - the new team id

getProductId

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

Returns:
the product id

setProductId

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

Parameters:
productId - the new product id

getReporter

public java.lang.String getReporter()
Gets the reporter.

Returns:
the reporter

setReporter

public void setReporter(java.lang.String reporter)
Sets the reporter.

Parameters:
reporter - the new reporter

getLastModifiedDate

public java.util.Date getLastModifiedDate()
Gets the last modified date.

Returns:
the last modified date

setLastModifiedDate

public void setLastModifiedDate(java.util.Date lastModifiedDate)
Sets the last modified date.

Parameters:
lastModifiedDate - the new last modified date

getResolutionDate

public java.util.Date getResolutionDate()
Gets the resolution date.

Returns:
the resolution date

setResolutionDate

public void setResolutionDate(java.util.Date resolutionDate)
Sets the resolution date.

Parameters:
resolutionDate - the new resolution date

isResolved

public boolean isResolved()
Checks if the impediment is resolved.

Returns:
true if the impediment is resolved.