mirror of
https://github.com/Kingsrook/qqq.git
synced 2025-07-18 13:10:44 +00:00
Add fulent setters
This commit is contained in:
@ -33,6 +33,18 @@ public class QFilterOrderBy
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************************************************************
|
||||||
|
** Fluent Setter for fieldName
|
||||||
|
**
|
||||||
|
*******************************************************************************/
|
||||||
|
public QFilterOrderBy withFieldName(String fieldName)
|
||||||
|
{
|
||||||
|
this.fieldName = fieldName;
|
||||||
|
return (this);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
** Getter for isAscending
|
** Getter for isAscending
|
||||||
**
|
**
|
||||||
@ -52,4 +64,17 @@ public class QFilterOrderBy
|
|||||||
{
|
{
|
||||||
isAscending = ascending;
|
isAscending = ascending;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************************************************************
|
||||||
|
** Fluent Setter for isAscending
|
||||||
|
**
|
||||||
|
*******************************************************************************/
|
||||||
|
public QFilterOrderBy withIsAscending(boolean ascending)
|
||||||
|
{
|
||||||
|
this.isAscending = ascending;
|
||||||
|
return (this);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user