Package monero.wallet.model
Class MoneroOutputQuery
java.lang.Object
monero.daemon.model.MoneroOutput
monero.wallet.model.MoneroOutputWallet
monero.wallet.model.MoneroOutputQuery
- All Implemented Interfaces:
Filter<MoneroOutputWallet>
Configures a query to retrieve wallet outputs (i.e. outputs that the wallet has or had the
ability to spend).
All outputs are returned except those that do not meet the criteria defined in this query.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncopy()
boolean
meetsCriteria
(MoneroOutputWallet output) Indicates if the given item meets the criteria of this filter.setAccountIndex
(Integer accountIndex) setAmount
(BigInteger amount) setIsFrozen
(Boolean isFrozen) setIsSpent
(Boolean isSpent) setKeyImage
(MoneroKeyImage keyImage) setMaxAmount
(BigInteger maxAmount) setMinAmount
(BigInteger minAmount) setRingOutputIndices
(List<Long> ringOutputIndices) setStealthPublicKey
(String stealthPublicKey) setSubaddressIndex
(Integer subaddressIndex) setSubaddressIndices
(Integer... subaddressIndices) setSubaddressIndices
(List<Integer> subaddressIndices) setTx
(MoneroTxWallet tx) setTxQuery
(MoneroTxQuery txQuery) Methods inherited from class monero.wallet.model.MoneroOutputWallet
equals, getAccountIndex, getSubaddressIndex, getTx, hashCode, isFrozen, isLocked, isSpent, merge, merge, toString
Methods inherited from class monero.daemon.model.MoneroOutput
getAmount, getIndex, getKeyImage, getRingOutputIndices, getStealthPublicKey, toString
-
Constructor Details
-
MoneroOutputQuery
public MoneroOutputQuery() -
MoneroOutputQuery
-
-
Method Details
-
copy
- Overrides:
copy
in classMoneroOutputWallet
-
getMinAmount
-
setMinAmount
-
getMaxAmount
-
setMaxAmount
-
getTxQuery
-
setTxQuery
-
getSubaddressIndices
-
setSubaddressIndices
-
setSubaddressIndices
-
meetsCriteria
Description copied from interface:Filter
Indicates if the given item meets the criteria of this filter.- Specified by:
meetsCriteria
in interfaceFilter<MoneroOutputWallet>
- Parameters:
output
- is the item to test- Returns:
- true if the item meets the criteria of this filter, false otherwise
-
setTx
- Overrides:
setTx
in classMoneroOutputWallet
-
setTx
- Overrides:
setTx
in classMoneroOutputWallet
-
setAccountIndex
- Overrides:
setAccountIndex
in classMoneroOutputWallet
-
setSubaddressIndex
- Overrides:
setSubaddressIndex
in classMoneroOutputWallet
-
setIsSpent
- Overrides:
setIsSpent
in classMoneroOutputWallet
-
setIsFrozen
- Overrides:
setIsFrozen
in classMoneroOutputWallet
-
setKeyImage
- Overrides:
setKeyImage
in classMoneroOutputWallet
-
setAmount
- Overrides:
setAmount
in classMoneroOutputWallet
-
setIndex
- Overrides:
setIndex
in classMoneroOutputWallet
-
setRingOutputIndices
- Overrides:
setRingOutputIndices
in classMoneroOutputWallet
-
setStealthPublicKey
- Overrides:
setStealthPublicKey
in classMoneroOutputWallet
-