Class FeeBean
- java.lang.Object
-
- com.h2tcoin.takamakachain.transactions.fee.FeeBean
-
- All Implemented Interfaces:
Serializable
public class FeeBean extends Object implements Serializable
- Author:
- Giovanni Antino
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FeeBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddCpu(BigInteger valueToAdd)voidaddDisk(BigInteger valueToAdd)voidaddMemory(BigInteger valueToAdd)StringgetAddr()non threadsafeBigIntegergetCpu()BigIntegergetDisk()StringgetHexAddr()non threadsafeBigIntegergetMemory()StringgetSith()voidsetAddr(String addr)non threadsafevoidsetCpu(BigInteger cpu)voidsetDisk(BigInteger disk)voidsetHexAddr(String hexAddr)non threadsafevoidsetMemory(BigInteger memory)voidsetSith(String sith)voidsum(FeeBean fb)sum the FeeBean passed to the current FeeBean
-
-
-
Method Detail
-
getSith
public String getSith()
-
setSith
public void setSith(String sith)
-
getAddr
public String getAddr()
non threadsafe- Returns:
-
setAddr
public void setAddr(String addr)
non threadsafe- Parameters:
addr-
-
getHexAddr
public String getHexAddr()
non threadsafe- Returns:
-
setHexAddr
public void setHexAddr(String hexAddr)
non threadsafe- Parameters:
hexAddr-
-
getDisk
public BigInteger getDisk()
-
setDisk
public void setDisk(BigInteger disk)
-
getMemory
public BigInteger getMemory()
-
setMemory
public void setMemory(BigInteger memory)
-
getCpu
public BigInteger getCpu()
-
setCpu
public void setCpu(BigInteger cpu)
-
addCpu
public void addCpu(BigInteger valueToAdd)
-
addMemory
public void addMemory(BigInteger valueToAdd)
-
addDisk
public void addDisk(BigInteger valueToAdd)
-
sum
public void sum(FeeBean fb)
sum the FeeBean passed to the current FeeBean- Parameters:
fb-
-
-