Class ColumnMetadata

java.lang.Object
org.chenile.query.model.ColumnMetadata

public class ColumnMetadata extends Object
  • Field Details

    • name

      private String name
    • filterable

      private boolean filterable
    • sortable

      private boolean sortable
    • likeQuery

      private boolean likeQuery
    • columnType

      private ColumnMetadata.ColumnType columnType
    • containsQuery

      private boolean containsQuery
    • display

      private boolean display
    • columnName

      private String columnName
    • betweenQuery

      private boolean betweenQuery
      Used for Date range.
    • customRender

      private boolean customRender
      This 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

      private String group
      Used for grouping of columns in the front-end
  • Constructor Details

    • ColumnMetadata

      public ColumnMetadata()
  • Method Details

    • getName

      public String getName()
      Returns:
      the name
    • setName

      public void setName(String name)
      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

      public ColumnMetadata.ColumnType getColumnType()
      Returns:
      the columnType
    • setColumnType

      public void setColumnType(ColumnMetadata.ColumnType columnType)
      Parameters:
      columnType - the columnType to set
    • getDropDownValues

      public List<String> getDropDownValues()
    • setDropDownValues

      public void setDropDownValues(List<String> dropDownValues)
    • isLikeQuery

      public boolean isLikeQuery()
    • setLikeQuery

      public void setLikeQuery(boolean likeQuery)
    • getDropDownQuery

      public String getDropDownQuery()
    • setDropDownQuery

      public void setDropDownQuery(String dropDownQuery)
    • setContainsQuery

      public void setContainsQuery(boolean containsQuery)
    • isContainsQuery

      public boolean isContainsQuery()
    • isDisplay

      public boolean isDisplay()
    • setDisplay

      public void setDisplay(boolean display)
    • getColumnName

      public String getColumnName()
    • setColumnName

      public void setColumnName(String columnName)
    • isBetweenQuery

      public boolean isBetweenQuery()
    • setBetweenQuery

      public void setBetweenQuery(boolean betweenQuery)
    • isCustomRender

      public boolean isCustomRender()
    • setCustomRender

      public void setCustomRender(boolean customRender)
    • getGroup

      public String getGroup()
    • setGroup

      public void setGroup(String group)