Record Class RunQuery
java.lang.Object
java.lang.Record
com.knezevic.edaf.v3.persistence.query.RunQuery
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thealgorithmrecord component.static RunQuerydefaults()final booleanIndicates whether some other object is "equal to" this one.from()Returns the value of thefromrecord component.final inthashCode()Returns a hash code value for this object.maxBest()Returns the value of themaxBestrecord component.minBest()Returns the value of theminBestrecord component.model()Returns the value of themodelrecord component.intoffset()intpage()Returns the value of thepagerecord component.problem()Returns the value of theproblemrecord component.q()Returns the value of theqrecord component.intsize()Returns the value of thesizerecord component.sortBy()Returns the value of thesortByrecord component.sortDir()Returns the value of thesortDirrecord component.status()Returns the value of thestatusrecord component.to()Returns the value of thetorecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
RunQuery
public RunQuery(String q, String algorithm, String model, String problem, String status, String from, String to, Double minBest, Double maxBest, int page, int size, String sortBy, String sortDir) Creates an instance of aRunQueryrecord class.- Parameters:
q- the value for theqrecord componentalgorithm- the value for thealgorithmrecord componentmodel- the value for themodelrecord componentproblem- the value for theproblemrecord componentstatus- the value for thestatusrecord componentfrom- the value for thefromrecord componentto- the value for thetorecord componentminBest- the value for theminBestrecord componentmaxBest- the value for themaxBestrecord componentpage- the value for thepagerecord componentsize- the value for thesizerecord componentsortBy- the value for thesortByrecord componentsortDir- the value for thesortDirrecord component
-
-
Method Details
-
defaults
-
offset
public int offset() -
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
q
Returns the value of theqrecord component.- Returns:
- the value of the
qrecord component
-
algorithm
Returns the value of thealgorithmrecord component.- Returns:
- the value of the
algorithmrecord component
-
model
Returns the value of themodelrecord component.- Returns:
- the value of the
modelrecord component
-
problem
Returns the value of theproblemrecord component.- Returns:
- the value of the
problemrecord component
-
status
Returns the value of thestatusrecord component.- Returns:
- the value of the
statusrecord component
-
from
Returns the value of thefromrecord component.- Returns:
- the value of the
fromrecord component
-
to
Returns the value of thetorecord component.- Returns:
- the value of the
torecord component
-
minBest
Returns the value of theminBestrecord component.- Returns:
- the value of the
minBestrecord component
-
maxBest
Returns the value of themaxBestrecord component.- Returns:
- the value of the
maxBestrecord component
-
page
public int page()Returns the value of thepagerecord component.- Returns:
- the value of the
pagerecord component
-
size
public int size()Returns the value of thesizerecord component.- Returns:
- the value of the
sizerecord component
-
sortBy
Returns the value of thesortByrecord component.- Returns:
- the value of the
sortByrecord component
-
sortDir
Returns the value of thesortDirrecord component.- Returns:
- the value of the
sortDirrecord component
-