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:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoublelongdoubledoubleintgetHash()longgetId()longgetLabel()longlonggetNonce()longlongdoubledoublegetValue()booleanbooleanisBoost()booleanbooleanbooleanbooleanvoidsetAdminOperation(boolean isAdminOperation) voidsetBoost(boolean boost) voidsetByAddress(String byAddress) voidsetContractAddress(String contractAddress) voidsetContractAmount(double contractAmount) voidsetContractMethodName(String contractMethodName) voidsetCreatedDate(long createdDate) voidsetDropped(boolean isDropped) voidsetEtherFee(double etherFee) voidsetFromAddress(String fromAddress) voidsetGasPrice(double gasPrice) voidsetGasUsed(int gasUsed) voidvoidsetId(long id) voidsetIssuerIdentityId(long issuerIdentityId) voidvoidsetMessage(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)
-
Constructor Details
-
TransactionEntity
public TransactionEntity()
-
-
Method Details
-
getId
public long getId() -
setId
public void setId(long id) -
getNetworkId
public long getNetworkId() -
setNetworkId
public void setNetworkId(long networkId) -
getHash
-
setHash
-
isPending
public boolean isPending() -
setPending
public void setPending(boolean isPending) -
isSuccess
public boolean isSuccess() -
setSuccess
public void setSuccess(boolean isSuccess) -
isDropped
public boolean isDropped() -
setDropped
public void setDropped(boolean isDropped) -
isAdminOperation
public boolean isAdminOperation() -
setAdminOperation
public void setAdminOperation(boolean isAdminOperation) -
getFromAddress
-
setFromAddress
-
getToAddress
-
getByAddress
-
setByAddress
-
setToAddress
-
getLabel
-
setLabel
-
getMessage
-
setMessage
-
getValue
public double getValue() -
setValue
public void setValue(double value) -
getContractAddress
-
setContractAddress
-
getContractMethodName
-
setContractMethodName
-
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
-
setRawTransaction
-
getSentDate
public long getSentDate() -
setSentDate
public void setSentDate(long sentDate) -
getSendingAttemptCount
public long getSendingAttemptCount() -
setSendingAttemptCount
public void setSendingAttemptCount(long sendingAttemptCount)
-