Package zephyr.wallet.model
Class ZephyrOutputQuery
java.lang.Object
zephyr.daemon.model.ZephyrOutput
zephyr.wallet.model.ZephyrOutputWallet
zephyr.wallet.model.ZephyrOutputQuery
- All Implemented Interfaces:
Filter<ZephyrOutputWallet>
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.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()booleanmeetsCriteria(ZephyrOutputWallet output) Indicates if the given item meets the criteria of this filter.protected booleanmeetsCriteria(ZephyrOutputWallet output, boolean queryParent) setAccountIndex(Integer accountIndex) setAmount(BigInteger amount) setIsFrozen(Boolean isFrozen) setIsSpent(Boolean isSpent) setKeyImage(ZephyrKeyImage 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(ZephyrTxWallet tx) setTxQuery(ZephyrTxQuery txQuery) Methods inherited from class zephyr.wallet.model.ZephyrOutputWallet
equals, getAccountIndex, getAssetType, getSubaddressIndex, getTx, hashCode, isFrozen, isLocked, isSpent, merge, merge, setAssetType, toStringMethods inherited from class zephyr.daemon.model.ZephyrOutput
getAmount, getIndex, getKeyImage, getRingOutputIndices, getStealthPublicKey, toString
-
Field Details
-
txQuery
-
-
Constructor Details
-
ZephyrOutputQuery
public ZephyrOutputQuery() -
ZephyrOutputQuery
-
-
Method Details
-
copy
- Overrides:
copyin classZephyrOutputWallet
-
getMinAmount
-
setMinAmount
-
getMaxAmount
-
setMaxAmount
-
getTxQuery
-
setTxQuery
-
getSubaddressIndices
-
setSubaddressIndices
-
setSubaddressIndices
-
meetsCriteria
Description copied from interface:FilterIndicates if the given item meets the criteria of this filter.- Specified by:
meetsCriteriain interfaceFilter<ZephyrOutputWallet>- Parameters:
output- is the item to test- Returns:
- true if the item meets the criteria of this filter, false otherwise
-
meetsCriteria
-
setTx
- Overrides:
setTxin classZephyrOutputWallet
-
setTx
- Overrides:
setTxin classZephyrOutputWallet
-
setAccountIndex
- Overrides:
setAccountIndexin classZephyrOutputWallet
-
setSubaddressIndex
- Overrides:
setSubaddressIndexin classZephyrOutputWallet
-
setIsSpent
- Overrides:
setIsSpentin classZephyrOutputWallet
-
setIsFrozen
- Overrides:
setIsFrozenin classZephyrOutputWallet
-
setKeyImage
- Overrides:
setKeyImagein classZephyrOutputWallet
-
setAmount
- Overrides:
setAmountin classZephyrOutputWallet
-
setIndex
- Overrides:
setIndexin classZephyrOutputWallet
-
setRingOutputIndices
- Overrides:
setRingOutputIndicesin classZephyrOutputWallet
-
setStealthPublicKey
- Overrides:
setStealthPublicKeyin classZephyrOutputWallet
-