mirror of
https://github.com/Kingsrook/qqq.git
synced 2025-07-18 05:01:07 +00:00
Add withRecordLabelFormatAndFields to continue to make table-meta-data setup slightly less verbose
This commit is contained in:
@ -640,6 +640,18 @@ public class QTableMetaData implements QAppChildMetaData, Serializable, MetaData
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************************************************************
|
||||||
|
** fluent setter for both recordLabelFormat and recordLabelFields
|
||||||
|
*******************************************************************************/
|
||||||
|
public QTableMetaData withRecordLabelFormatAndFields(String format, String... fields)
|
||||||
|
{
|
||||||
|
setRecordLabelFormat(format);
|
||||||
|
setRecordLabelFields(Arrays.asList(fields));
|
||||||
|
return (this);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
** Getter for recordLabelFields
|
** Getter for recordLabelFields
|
||||||
**
|
**
|
||||||
|
Reference in New Issue
Block a user