Package org.exoplatform.wallet.entity
Class TransactionEntity
- java.lang.Object
-
- org.exoplatform.wallet.entity.TransactionEntity
-
- All Implemented Interfaces:
Serializable
@Entity(name="WalletTransaction") public class TransactionEntity extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TransactionEntity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetByAddress()StringgetContractAddress()doublegetContractAmount()StringgetContractMethodName()longgetCreatedDate()doublegetEtherFee()StringgetFromAddress()doublegetGasPrice()intgetGasUsed()StringgetHash()longgetId()longgetIssuerIdentityId()StringgetLabel()StringgetMessage()longgetNetworkId()longgetNonce()StringgetRawTransaction()longgetSendingAttemptCount()longgetSentDate()StringgetToAddress()doublegetTokenFee()doublegetValue()booleanisAdminOperation()booleanisBoost()booleanisNoContractFunds()booleanisPending()booleanisSuccess()voidsetAdminOperation(boolean isAdminOperation)voidsetBoost(boolean boost)voidsetByAddress(String byAddress)voidsetContractAddress(String contractAddress)voidsetContractAmount(double contractAmount)voidsetContractMethodName(String contractMethodName)voidsetCreatedDate(long createdDate)voidsetEtherFee(double etherFee)voidsetFromAddress(String fromAddress)voidsetGasPrice(double gasPrice)voidsetGasUsed(int gasUsed)voidsetHash(String hash)voidsetId(long id)voidsetIssuerIdentityId(long issuerIdentityId)voidsetLabel(String label)voidsetMessage(String message)voidsetNetworkId(long networkId)voidsetNoContractFunds(boolean noContractFunds)voidsetNonce(long nonce)voidsetPending(boolean isPending)voidsetRawTransaction(String rawTransaction)voidsetSendingAttemptCount(long sendingAttemptCount)voidsetSentDate(long sentDate)voidsetSuccess(boolean isSuccess)voidsetToAddress(String toAddress)voidsetTokenFee(double tokenFee)voidsetValue(double value)
-
-
-
Method Detail
-
getId
public long getId()
-
setId
public void setId(long id)
-
getNetworkId
public long getNetworkId()
-
setNetworkId
public void setNetworkId(long networkId)
-
getHash
public String getHash()
-
setHash
public void setHash(String hash)
-
isPending
public boolean isPending()
-
setPending
public void setPending(boolean isPending)
-
isSuccess
public boolean isSuccess()
-
setSuccess
public void setSuccess(boolean isSuccess)
-
isAdminOperation
public boolean isAdminOperation()
-
setAdminOperation
public void setAdminOperation(boolean isAdminOperation)
-
getFromAddress
public String getFromAddress()
-
setFromAddress
public void setFromAddress(String fromAddress)
-
getToAddress
public String getToAddress()
-
getByAddress
public String getByAddress()
-
setByAddress
public void setByAddress(String byAddress)
-
setToAddress
public void setToAddress(String toAddress)
-
getLabel
public String getLabel()
-
setLabel
public void setLabel(String label)
-
getMessage
public String getMessage()
-
setMessage
public void setMessage(String message)
-
getValue
public double getValue()
-
setValue
public void setValue(double value)
-
getContractAddress
public String getContractAddress()
-
setContractAddress
public void setContractAddress(String contractAddress)
-
getContractMethodName
public String getContractMethodName()
-
setContractMethodName
public void setContractMethodName(String contractMethodName)
-
getContractAmount
public double getContractAmount()
-
setContractAmount
public void setContractAmount(double contractAmount)
-
getCreatedDate
public long getCreatedDate()
-
setCreatedDate
public void setCreatedDate(long createdDate)
-
getIssuerIdentityId
public long getIssuerIdentityId()
-
setIssuerIdentityId
public void setIssuerIdentityId(long issuerIdentityId)
-
getGasUsed
public int getGasUsed()
-
setGasUsed
public void setGasUsed(int gasUsed)
-
getGasPrice
public double getGasPrice()
-
setGasPrice
public void setGasPrice(double gasPrice)
-
getTokenFee
public double getTokenFee()
-
setTokenFee
public void setTokenFee(double tokenFee)
-
getEtherFee
public double getEtherFee()
-
setEtherFee
public void setEtherFee(double etherFee)
-
isNoContractFunds
public boolean isNoContractFunds()
-
setNoContractFunds
public void setNoContractFunds(boolean noContractFunds)
-
getNonce
public long getNonce()
-
setNonce
public void setNonce(long nonce)
-
isBoost
public boolean isBoost()
-
setBoost
public void setBoost(boolean boost)
-
getRawTransaction
public String getRawTransaction()
-
setRawTransaction
public void setRawTransaction(String rawTransaction)
-
getSentDate
public long getSentDate()
-
setSentDate
public void setSentDate(long sentDate)
-
getSendingAttemptCount
public long getSendingAttemptCount()
-
setSendingAttemptCount
public void setSendingAttemptCount(long sendingAttemptCount)
-
-