Package com.seeq.model
Class ItemWithSwapPairsV1
java.lang.Object
com.seeq.model.ItemWithSwapPairsV1
The list of items from the query parameters that can be swapped, augmented with the swap pairs needed to perform the swap
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddSwapPairsItem
(SwapInputV1 swapPairsItem) boolean
getItem()
Get itemThe ratio of matched to total parametersThe list of swap pairs needed to perform the swap.int
hashCode()
item
(ItemPreviewWithAssetsV1 item) parameterMatch
(Double parameterMatch) void
void
setParameterMatch
(Double parameterMatch) void
setSwapPairs
(List<SwapInputV1> swapPairs) swapPairs
(List<SwapInputV1> swapPairs) toString()
-
Constructor Details
-
ItemWithSwapPairsV1
public ItemWithSwapPairsV1()
-
-
Method Details
-
item
-
getItem
Get item- Returns:
- item
-
setItem
-
parameterMatch
-
getParameterMatch
The ratio of matched to total parameters- Returns:
- parameterMatch
-
setParameterMatch
-
swapPairs
-
addSwapPairsItem
-
getSwapPairs
The list of swap pairs needed to perform the swap.- Returns:
- swapPairs
-
setSwapPairs
-
equals
-
hashCode
public int hashCode() -
toString
-