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

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

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

A unit aggregate description on a staking sheet.

See Also:
Serialized Form

Constructor Summary
StakingSheetUnit()
          Create a new StakingSheetUnit.
StakingSheetUnit(StakingSheetLocation parent, StakedUnitAggregate aggie)
          Create a new StakingSheetUnit from a StakedUnitAggregate.
 
Method Summary
 java.util.Set getComments()
          Comments about these units.
 Job getJob()
           
 StakingSheetLocation getLocation()
          Location the unit appears on.
 int getQuantity()
          Quantity of unit.
 int getSnapshotHeight()
           
 int getSnapshotIndex()
           
 int getSnapshotWidth()
           
 StakeStatus getStatus()
          Status of unit.
 Unit getUnit()
          Unit this is all about.
 void setComments(java.util.Set newComments)
          Comments about these units.
 void setLocation(StakingSheetLocation newLocation)
          Location the unit appears on.
 void setQuantity(int newQuantity)
          Quantity of unit.
 void setStatus(StakeStatus newStatus)
          Status of unit.
 void setUnit(Unit newUnit)
          Unit this is all about.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StakingSheetUnit

public StakingSheetUnit()
Create a new StakingSheetUnit.


StakingSheetUnit

public StakingSheetUnit(StakingSheetLocation parent,
                        StakedUnitAggregate aggie)
Create a new StakingSheetUnit from a StakedUnitAggregate.

Method Detail

getComments

public java.util.Set getComments()
Comments about these units.


setComments

public void setComments(java.util.Set newComments)
Comments about these units.


getLocation

public StakingSheetLocation getLocation()
Location the unit appears on.


setLocation

public void setLocation(StakingSheetLocation newLocation)
Location the unit appears on.


getQuantity

public int getQuantity()
Quantity of unit.


setQuantity

public void setQuantity(int newQuantity)
Quantity of unit.


getStatus

public StakeStatus getStatus()
Status of unit.


setStatus

public void setStatus(StakeStatus newStatus)
Status of unit.


getUnit

public Unit getUnit()
Unit this is all about.


setUnit

public void setUnit(Unit newUnit)
Unit this is all about.


getJob

public Job getJob()

getSnapshotWidth

public int getSnapshotWidth()

getSnapshotHeight

public int getSnapshotHeight()

getSnapshotIndex

public int getSnapshotIndex()