com.danube.scrumworks.api.wso
Class ProgramWSO

java.lang.Object
  extended by com.danube.scrumworks.api.wso.ProgramWSO
All Implemented Interfaces:
java.io.Serializable

public class ProgramWSO
extends java.lang.Object
implements java.io.Serializable

Web Service object for representing Programs

See Also:
Serialized Form

Constructor Summary
ProgramWSO()
           
ProgramWSO(java.lang.Long id, java.lang.String name, java.lang.String description, ProductWSO[] products)
          Constructs a new ProgramWSO.
 
Method Summary
 boolean equals(java.lang.Object obj)
          
 java.lang.String getDescription()
           
 java.lang.Long getId()
           
 java.lang.String getName()
           
 ProductWSO[] getProducts()
           
 int hashCode()
          
 void setDescription(java.lang.String description)
           
 void setId(java.lang.Long id)
           
 void setName(java.lang.String name)
           
 void setProducts(ProductWSO[] products)
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProgramWSO

public ProgramWSO()

ProgramWSO

public ProgramWSO(java.lang.Long id,
                  java.lang.String name,
                  java.lang.String description,
                  ProductWSO[] products)
Constructs a new ProgramWSO.

Parameters:
id - the id of the program.
name - the name of the program.
description - the description of the program.
products - the products included in the program.
Method Detail

getId

public java.lang.Long getId()
Returns:
the Program's id

setId

public void setId(java.lang.Long id)

getName

public java.lang.String getName()
Returns:
the Program's name

setName

public void setName(java.lang.String name)

getDescription

public java.lang.String getDescription()
Returns:
the Program's description

setDescription

public void setDescription(java.lang.String description)

getProducts

public ProductWSO[] getProducts()
Returns:
the Products associated with the Program

setProducts

public void setProducts(ProductWSO[] products)

equals

public boolean equals(java.lang.Object obj)

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()

Overrides:
hashCode in class java.lang.Object