Package zephyr.wallet.model
Class ZephyrTransferQuery
java.lang.Object
zephyr.wallet.model.ZephyrTransfer
zephyr.wallet.model.ZephyrTransferQuery
- All Implemented Interfaces:
Filter<ZephyrTransfer>
Configures a query to retrieve transfers.
All transfers 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(ZephyrTransfer transfer) Indicates if the given item meets the criteria of this filter.protected booleanmeetsCriteria(ZephyrTransfer transfer, boolean queryParent) setAccountIndex(Integer accountIndex) setAddress(String address) setAddresses(String... addresses) setAddresses(List<String> addresses) setAmount(BigInteger amount) setDestinations(List<ZephyrDestination> destinations) setHasDestinations(Boolean hasDestinations) setIsIncoming(Boolean isIncoming) setIsOutgoing(Boolean isOutgoing) setSubaddressIndex(Integer subaddressIndex) setSubaddressIndices(Integer... subaddressIndices) setSubaddressIndices(List<Integer> subaddressIndices) setTx(ZephyrTxWallet tx) setTxQuery(ZephyrTxQuery txQuery) Methods inherited from class zephyr.wallet.model.ZephyrTransfer
equals, getAccountIndex, getAmount, getAssetType, getTx, hashCode, merge, setAssetType, toString, toString
-
Field Details
-
txQuery
-
-
Constructor Details
-
ZephyrTransferQuery
public ZephyrTransferQuery() -
ZephyrTransferQuery
-
-
Method Details
-
copy
- Specified by:
copyin classZephyrTransfer
-
getTxQuery
-
setTxQuery
-
isIncoming
- Specified by:
isIncomingin classZephyrTransfer
-
setIsIncoming
-
isOutgoing
- Overrides:
isOutgoingin classZephyrTransfer
-
setIsOutgoing
-
getAddress
-
setAddress
-
getAddresses
-
setAddresses
-
setAddresses
-
getSubaddressIndex
-
setSubaddressIndex
-
getSubaddressIndices
-
setSubaddressIndices
-
setSubaddressIndices
-
getDestinations
-
setDestinations
-
hasDestinations
-
setHasDestinations
-
meetsCriteria
Description copied from interface:FilterIndicates if the given item meets the criteria of this filter.- Specified by:
meetsCriteriain interfaceFilter<ZephyrTransfer>- Parameters:
transfer- is the item to test- Returns:
- true if the item meets the criteria of this filter, false otherwise
-
meetsCriteria
-
setTx
- Overrides:
setTxin classZephyrTransfer
-
setAmount
- Overrides:
setAmountin classZephyrTransfer
-
setAccountIndex
- Overrides:
setAccountIndexin classZephyrTransfer
-