Class BalanceBean
- java.lang.Object
-
- com.h2tcoin.takamakachain.db.embedded.balance.BalanceBean
-
- All Implemented Interfaces:
Serializable
,Comparable<BalanceBean>
public class BalanceBean extends Object implements Serializable, Comparable<BalanceBean>
- Author:
- francesco.pasetto@h2tcoin.com
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BalanceBean(String generatorSith, String address, BigInteger greenBalance, BigInteger redBalance)
BalanceBean(String generatorSith, String address, BigInteger greenBalance, BigInteger redBalance, BigInteger greenPenalty, BigInteger redPenalty, int penaltySlots)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(BalanceBean o)
boolean
equals(Object obj)
String
getAddress()
String
getGeneratorSith()
BigInteger
getGreenBalance()
BigInteger
getGreenPenalty()
int
getPenaltySlots()
BigInteger
getRedBalance()
BigInteger
getRedPenalty()
int
hashCode()
void
setAddress(String address)
void
setGreenBalance(BigInteger greenBalance)
void
setGreenPenalty(BigInteger greenPenalty)
void
setPenaltySlots(int penaltySlots)
void
setRedBalance(BigInteger redBalance)
void
setRedPenalty(BigInteger redPenalty)
-
-
-
Constructor Detail
-
BalanceBean
public BalanceBean(String generatorSith, String address, BigInteger greenBalance, BigInteger redBalance)
-
BalanceBean
public BalanceBean(String generatorSith, String address, BigInteger greenBalance, BigInteger redBalance, BigInteger greenPenalty, BigInteger redPenalty, int penaltySlots)
-
-
Method Detail
-
getAddress
public String getAddress()
-
setAddress
public void setAddress(String address)
-
getGreenBalance
public BigInteger getGreenBalance()
-
setGreenBalance
public void setGreenBalance(BigInteger greenBalance)
-
getRedBalance
public BigInteger getRedBalance()
-
setRedBalance
public void setRedBalance(BigInteger redBalance)
-
getGreenPenalty
public BigInteger getGreenPenalty()
-
setGreenPenalty
public void setGreenPenalty(BigInteger greenPenalty)
-
getRedPenalty
public BigInteger getRedPenalty()
-
setRedPenalty
public void setRedPenalty(BigInteger redPenalty)
-
getPenaltySlots
public int getPenaltySlots()
-
setPenaltySlots
public void setPenaltySlots(int penaltySlots)
-
getGeneratorSith
public String getGeneratorSith()
-
compareTo
public int compareTo(BalanceBean o)
- Specified by:
compareTo
in interfaceComparable<BalanceBean>
-
-