Package org.gorpipe.querydialogs.factory
Class ColumnGroup
java.lang.Object
org.gorpipe.querydialogs.factory.ColumnGroup
Holds a definition of columns that should be grouped together.
Columns can either be listed with their full name or defined by their common prefix (prefix mode)
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal StringNames (and order) of the columns in this group.final StringThe name to use in graphical representations of the groupfinal booleanTrue if the group is predefined and should precede other groups in the viewfinal StringName of this group.final intFor groups that are predefined, this is the ranking between them. -
Constructor Summary
ConstructorsConstructorDescriptionColumnGroup(String displayName) ColumnGroup(String name, String displayName, String columnNames) ColumnGroup(String name, String displayName, String columnNames, boolean isPredefined, int order) -
Method Summary
-
Field Details
-
name
Name of this group. To be used in meta-data lookup -
displayName
The name to use in graphical representations of the group -
columnNames
Names (and order) of the columns in this group. This should either be a comma-separated string or a single name ending with a '*' (prefix mode) -
isPredefined
public final boolean isPredefinedTrue if the group is predefined and should precede other groups in the view -
order
public final int orderFor groups that are predefined, this is the ranking between them. The group with the highest number will be rendered first
-
-
Constructor Details
-
ColumnGroup
- Parameters:
displayName- The name to use in graphical representations of the group
-
ColumnGroup
- Parameters:
name- Name of this group. To be used in meta-data lookupdisplayName- The name to use in graphical representations of the groupcolumnNames- Names (and order) of the columns in this group. This should either be a comma-separated string or a single name ending with a '*' (prefix mode)
-
ColumnGroup
public ColumnGroup(String name, String displayName, String columnNames, boolean isPredefined, int order) - Parameters:
name- Name of this group. To be used in meta-data lookupdisplayName- The name to use in graphical representations of the groupcolumnNames- Names (and order) of the columns in this group. This should either be a comma-separated string or a single name ending with a '*' (prefix mode)isPredefined- True if the group is predefined and should precede other groups in the vieworder- For groups that are predefined, this is the ranking between them. The group with the highest number will be rendered first
-
-
Method Details