|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.danube.scrumworks.api2.Release
public final class Release
Contains information about Releases for API users.
| Field Summary | |
|---|---|
static com.google.common.base.Function<ReleaseAndRanksTO,Release> |
FROM_TO
Converts Release transfer objects to API objects. |
static com.google.common.base.Function<ReleaseTO,Release> |
FROM_UNRANKED_TO
Converts Release transfer objects to API objects. |
static com.google.common.base.Function<Release,ReleaseTO> |
TO_TO
Converts Release API objects to transfer objects. |
| Constructor Summary | |
|---|---|
Release()
Constructs a new Release. |
|
| Method Summary | |
|---|---|
java.lang.String |
getDescription()
Gets the description. |
java.util.Date |
getEndDate()
Gets the end date. |
java.lang.Long |
getId()
Gets the id. |
java.lang.String |
getName()
Gets the name. |
java.lang.Long |
getProductId()
Gets the product id. |
java.lang.Long |
getProgramId()
Gets the program id. |
java.util.Date |
getStartDate()
Gets the start date. |
boolean |
isArchived()
Checks if the release is archived. |
void |
setArchived(boolean archived)
Sets the release archived. |
void |
setDescription(java.lang.String description)
Sets the description. |
void |
setEndDate(java.util.Date endDate)
Sets the end date. |
void |
setId(java.lang.Long id)
Sets the id. |
void |
setName(java.lang.String name)
Sets the name. |
void |
setProductId(java.lang.Long productId)
Sets the product id. |
void |
setProgramId(java.lang.Long programId)
Sets the program id. |
void |
setStartDate(java.util.Date startDate)
Sets the start date. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final com.google.common.base.Function<ReleaseAndRanksTO,Release> FROM_TO
public static final com.google.common.base.Function<ReleaseTO,Release> FROM_UNRANKED_TO
public static final com.google.common.base.Function<Release,ReleaseTO> TO_TO
| Constructor Detail |
|---|
public Release()
Release.
| Method Detail |
|---|
public java.lang.Long getId()
public void setId(java.lang.Long id)
id - the new idpublic java.lang.String getName()
public void setName(java.lang.String name)
name - the new namepublic java.lang.String getDescription()
public void setDescription(java.lang.String description)
description - the new descriptionpublic java.util.Date getStartDate()
public void setStartDate(java.util.Date startDate)
startDate - the new start datepublic java.util.Date getEndDate()
public void setEndDate(java.util.Date endDate)
endDate - the new end datepublic java.lang.Long getProductId()
public void setProductId(java.lang.Long productId)
productId - the new product idpublic java.lang.Long getProgramId()
public void setProgramId(java.lang.Long programId)
programId - the new program idpublic boolean isArchived()
true, if the release is archivedpublic void setArchived(boolean archived)
archived - whether the release is archived
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||