com.danube.scrumworks.api2
Class Budget

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

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

Represents budgets in the API.

See Also:
Serialized Form

Constructor Summary
Budget()
          Constructs a new Budget.
Budget(java.lang.Long productId, java.lang.Long budgetValue)
          Constructs a new Budget.
 
Method Summary
 java.lang.Long getBudgetValue()
          Gets the budget value.
 java.lang.Long getProductId()
          Gets the product id.
 void setBudgetValue(java.lang.Long budgetValue)
          Sets the budget value.
 void setProductId(java.lang.Long productId)
          Sets the product id.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Budget

public Budget()
Constructs a new Budget.


Budget

public Budget(java.lang.Long productId,
              java.lang.Long budgetValue)
Constructs a new Budget.

Parameters:
productId - the product id
budgetValue - the budget value
Method Detail

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

getBudgetValue

public java.lang.Long getBudgetValue()
Gets the budget value.

Returns:
the budget value

setBudgetValue

public void setBudgetValue(java.lang.Long budgetValue)
Sets the budget value.

Parameters:
budgetValue - the new budget value