|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.danube.scrumworks.api2.Program
public final class Program
Contains information about Programs for API users.
| 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.program.ProgramTO,Program> |
FROM_TO
Function to convert from ProgramTO transfer objects. |
| Fields inherited from interface com.danube.scrumworks.util.HasName |
|---|
COMPARATOR, NAME_MAPPING |
| Constructor Summary | |
|---|---|
Program()
Constructs a new Program. |
|
Program(java.lang.Long id,
java.lang.String name,
java.lang.String description,
java.util.List<java.lang.Long> productIds)
Constructs a new Program. |
|
| Method Summary | |
|---|---|
java.lang.String |
getDescription()
Gets the description. |
java.lang.Long |
getId()
Gets the id. |
java.lang.String |
getName()
Gets the name. |
java.util.List<java.lang.Long> |
getProductIds()
Gets the product ids. |
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 |
setProductIds(java.util.List<java.lang.Long> productIds)
Sets the product ids. |
| 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<com.danube.scrumworks.program.ProgramTO,Program> FROM_TO
| Constructor Detail |
|---|
public Program()
Program.
public Program(java.lang.Long id,
java.lang.String name,
java.lang.String description,
java.util.List<java.lang.Long> productIds)
Program.
id - the idname - the namedescription - the descriptionproductIds - the product ids| Method Detail |
|---|
public java.lang.Long getId()
getId in interface com.danube.scrumworks.util.HasIdpublic void setId(java.lang.Long id)
id - the new idpublic java.lang.String getName()
getName in interface com.danube.scrumworks.util.HasNamepublic 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.List<java.lang.Long> getProductIds()
public void setProductIds(java.util.List<java.lang.Long> productIds)
productIds - the new product ids
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||