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 void
addCpu(BigInteger valueToAdd)
void
addDisk(BigInteger valueToAdd)
void
addMemory(BigInteger valueToAdd)
String
getAddr()
non threadsafeBigInteger
getCpu()
BigInteger
getDisk()
String
getHexAddr()
non threadsafeBigInteger
getMemory()
String
getSith()
void
setAddr(String addr)
non threadsafevoid
setCpu(BigInteger cpu)
void
setDisk(BigInteger disk)
void
setHexAddr(String hexAddr)
non threadsafevoid
setMemory(BigInteger memory)
void
setSith(String sith)
void
sum(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
-
-
-