Add with'ers

This commit is contained in:
2023-04-13 11:50:31 -05:00
parent 905c2d1296
commit 1b4c754314
3 changed files with 55 additions and 0 deletions

View File

@ -301,4 +301,26 @@ public class GetInput extends AbstractTableActionInput
return (this); return (this);
} }
/*******************************************************************************
** Fluent setter for shouldTranslatePossibleValues
*******************************************************************************/
public GetInput withShouldTranslatePossibleValues(boolean shouldTranslatePossibleValues)
{
this.shouldTranslatePossibleValues = shouldTranslatePossibleValues;
return (this);
}
/*******************************************************************************
** Fluent setter for shouldGenerateDisplayValues
*******************************************************************************/
public GetInput withShouldGenerateDisplayValues(boolean shouldGenerateDisplayValues)
{
this.shouldGenerateDisplayValues = shouldGenerateDisplayValues;
return (this);
}
} }

View File

@ -171,4 +171,15 @@ public class InsertInput extends AbstractTableActionInput
return (this); return (this);
} }
/*******************************************************************************
** Fluent setter for records
*******************************************************************************/
public InsertInput withRecords(List<QRecord> records)
{
this.records = records;
return (this);
}
} }

View File

@ -165,4 +165,26 @@ public class UpdateInput extends AbstractTableActionInput
return (this); return (this);
} }
/*******************************************************************************
** Fluent setter for records
*******************************************************************************/
public UpdateInput withRecords(List<QRecord> records)
{
this.records = records;
return (this);
}
/*******************************************************************************
** Fluent setter for areAllValuesBeingUpdatedTheSame
*******************************************************************************/
public UpdateInput withAreAllValuesBeingUpdatedTheSame(Boolean areAllValuesBeingUpdatedTheSame)
{
this.areAllValuesBeingUpdatedTheSame = areAllValuesBeingUpdatedTheSame;
return (this);
}
} }