com.partnersoft.v3x.apps.Staker.domain
Class StakedUnitSummary

java.lang.Object
  extended by com.partnersoft.v3x.apps.Staker.domain.StakedUnitSummary
All Implemented Interfaces:
java.io.Serializable

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

A thingie to hold a summary of a staked unit.

See Also:
Serialized Form

Constructor Summary
StakedUnitSummary()
           
StakedUnitSummary(Unit youNit, java.util.Map fieldValues)
           
 
Method Summary
 void addExisting(int howMuch)
           
 void addExistingCount(int howMuch)
           
 void addNew(int howMuch)
           
 void addNewCount(int howMuch)
           
 void addRetire(int howMuch)
           
 void addRetireCount(int howMuch)
           
 int getCountExisting()
          Quantity of units listed as existing.
 int getCountNew()
          Quantity of units to be constructed.
 int getCountRetire()
          Quantity of units to be retired.
 java.util.Map getFieldValues()
           
 int getNumberExisting()
          Quantity of units listed as existing.
 int getNumberNew()
          Quantity of units to be constructed.
 int getNumberRetire()
          Quantity of units to be retired.
 Unit getUnit()
          Unit being summarized.
 void setCountExisting(int newCountExisting)
          Quantity of units listed as existing.
 void setCountNew(int newCountNew)
          Quantity of units to be constructed.
 void setCountRetire(int newCountRetire)
          Quantity of units to be retired.
 void setFieldValues(java.util.Map newValues)
           
 void setNumberExisting(int newNumberExisting)
          Quantity of units listed as existing.
 void setNumberNew(int newNumberNew)
          Quantity of units to be constructed.
 void setNumberRetire(int newNumberRetire)
          Quantity of units to be retired.
 void setUnit(Unit newUnit)
          Unit being summarized.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StakedUnitSummary

public StakedUnitSummary()

StakedUnitSummary

public StakedUnitSummary(Unit youNit,
                         java.util.Map fieldValues)
Method Detail

addNew

public void addNew(int howMuch)

addExisting

public void addExisting(int howMuch)

addRetire

public void addRetire(int howMuch)

addNewCount

public void addNewCount(int howMuch)

addExistingCount

public void addExistingCount(int howMuch)

addRetireCount

public void addRetireCount(int howMuch)

getNumberExisting

public int getNumberExisting()
Quantity of units listed as existing.


setNumberExisting

public void setNumberExisting(int newNumberExisting)
Quantity of units listed as existing.


getNumberNew

public int getNumberNew()
Quantity of units to be constructed.


setNumberNew

public void setNumberNew(int newNumberNew)
Quantity of units to be constructed.


getNumberRetire

public int getNumberRetire()
Quantity of units to be retired.


setNumberRetire

public void setNumberRetire(int newNumberRetire)
Quantity of units to be retired.


getCountExisting

public int getCountExisting()
Quantity of units listed as existing.


setCountExisting

public void setCountExisting(int newCountExisting)
Quantity of units listed as existing.


getCountNew

public int getCountNew()
Quantity of units to be constructed.


setCountNew

public void setCountNew(int newCountNew)
Quantity of units to be constructed.


getCountRetire

public int getCountRetire()
Quantity of units to be retired.


setCountRetire

public void setCountRetire(int newCountRetire)
Quantity of units to be retired.


getUnit

public Unit getUnit()
Unit being summarized.


setUnit

public void setUnit(Unit newUnit)
Unit being summarized.


getFieldValues

public java.util.Map getFieldValues()

setFieldValues

public void setFieldValues(java.util.Map newValues)