Add withRecordLabelFormatAndFields to continue to make table-meta-data setup slightly less verbose

This commit is contained in:
2024-05-23 12:56:49 -05:00
parent 3fe6828550
commit 0a12c76829

View File

@ -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
** **