Package org.chenile.query.model
Class ColumnMetadata
java.lang.Object
org.chenile.query.model.ColumnMetadata
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate boolean
Used for Date range.private String
private ColumnMetadata.ColumnType
private boolean
private boolean
This field is used to indicate whether the display column should be custom.private boolean
private String
private boolean
private String
Used for grouping of columns in the front-endprivate boolean
private String
private boolean
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetGroup()
getName()
boolean
boolean
boolean
boolean
boolean
boolean
boolean
void
setBetweenQuery
(boolean betweenQuery) void
setColumnName
(String columnName) void
setColumnType
(ColumnMetadata.ColumnType columnType) void
setContainsQuery
(boolean containsQuery) void
setCustomRender
(boolean customRender) void
setDisplay
(boolean display) void
setDropDownQuery
(String dropDownQuery) void
setDropDownValues
(List<String> dropDownValues) void
setFilterable
(boolean filterable) void
void
setLikeQuery
(boolean likeQuery) void
void
setSortable
(boolean sortable)
-
Field Details
-
name
-
dropDownQuery
-
filterable
private boolean filterable -
sortable
private boolean sortable -
likeQuery
private boolean likeQuery -
dropDownValues
-
columnType
-
containsQuery
private boolean containsQuery -
display
private boolean display -
columnName
-
betweenQuery
private boolean betweenQueryUsed for Date range. -
customRender
private boolean customRenderThis field is used to indicate whether the display column should be custom. This is usually `true` when the data is present inside the nested JSON. -
group
Used for grouping of columns in the front-end
-
-
Constructor Details
-
ColumnMetadata
public ColumnMetadata()
-
-
Method Details
-
getName
- Returns:
- the name
-
setName
- Parameters:
name
- the name to set
-
isFilterable
public boolean isFilterable()- Returns:
- the filterable
-
setFilterable
public void setFilterable(boolean filterable) - Parameters:
filterable
- the filterable to set
-
isSortable
public boolean isSortable()- Returns:
- the sortable
-
setSortable
public void setSortable(boolean sortable) - Parameters:
sortable
- the sortable to set
-
getColumnType
- Returns:
- the columnType
-
setColumnType
- Parameters:
columnType
- the columnType to set
-
getDropDownValues
-
setDropDownValues
-
isLikeQuery
public boolean isLikeQuery() -
setLikeQuery
public void setLikeQuery(boolean likeQuery) -
getDropDownQuery
-
setDropDownQuery
-
setContainsQuery
public void setContainsQuery(boolean containsQuery) -
isContainsQuery
public boolean isContainsQuery() -
isDisplay
public boolean isDisplay() -
setDisplay
public void setDisplay(boolean display) -
getColumnName
-
setColumnName
-
isBetweenQuery
public boolean isBetweenQuery() -
setBetweenQuery
public void setBetweenQuery(boolean betweenQuery) -
isCustomRender
public boolean isCustomRender() -
setCustomRender
public void setCustomRender(boolean customRender) -
getGroup
-
setGroup
-