Class ApiColumn

java.lang.Object
eu.c6.gibraltar.api.common.CObject
eu.c6.gibraltar.api.common.ApiColumn
All Implemented Interfaces:
ICObject, Serializable, Cloneable

public class ApiColumn extends CObject
See Also:
  • Field Details

    • NAME

      public static final String NAME
      The constant for field name used to identify the column name.
      See Also:
    • DISPLAYED

      public static final String DISPLAYED
      The constant for field name used to check display mode.
      See Also:
  • Constructor Details

    • ApiColumn

      public ApiColumn(com.fasterxml.jackson.databind.JsonNode node)
      Instantiates a new column from JSON node.
      Parameters:
      node - the JSON node
    • ApiColumn

      public ApiColumn(String name, boolean displayed)
      Instantiates a new column with the name and displayed .
      Parameters:
      name - the name
      displayed - the displayed
  • Method Details

    • setName

      public void setName(String name)
      Sets the column name.
      Parameters:
      name - the new name
    • setDisplayed

      public void setDisplayed(boolean displayed)
      Sets the value of displayed column setting. Set it to TRUE to display column.
      Parameters:
      displayed - the new displayed column value
    • getName

      public String getName()
      Gets the column name.
      Returns:
      the name
    • isDisplayed

      public boolean isDisplayed()
      Checks if column is displayed.
      Returns:
      true, if column is displayed