Package eu.c6.gibraltar.api.common
Class ApiColumn
java.lang.Object
eu.c6.gibraltar.api.common.CObject
eu.c6.gibraltar.api.common.ApiColumn
- All Implemented Interfaces:
ICObject,Serializable,Cloneable
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe constant for field name used to check display mode.static final StringThe constant for field name used to identify the column name.Fields inherited from interface eu.c6.gibraltar.api.common.ICObject
CHARSET, FIELD_SEPARATOR_DOT, FIELD_SEPARATOR_PATH -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()Gets the column name.booleanChecks if column is displayed.voidsetDisplayed(boolean displayed) Sets the value of displayed column setting.voidSets the column name.Methods inherited from class eu.c6.gibraltar.api.common.CObject
addIntoList, addValueIntoList, buildPath, clearList, clone, clone, clone, contains, containsField, convertFieldNameToJsonPath, convertJsonPathToFieldName, equals, get, getBoolean, getBoolean, getDate, getDate, getDouble, getDouble, getFieldNames, getFieldNamesFlattenList, getFieldNamesList, getInputStream, getInt, getInt, getList, getListNestedObject, getListNestedObject, getListNestedObject, getListNestedObjectByAttribute, getListNestedObjectByAttribute, getListSize, getListString, getLocalDateTime, getLocalDateTime, getLong, getLong, getNestedObject, getNestedObject, getNestedObject, getNestedObjectNamesList, getOutputStream, getReader, getString, getString, insertIntoList, isBoolean, isDate, isDateList, isDouble, isEmpty, isFieldEmpty, isInt, isJSONValid, isList, isNestedObject, isNestedObjectList, isString, load, load, merge, mergeDeep, parse, remove, removeFromList, removeValueFromList, replaceIntoList, resetField, set, set, set, set, set, set, set, set, set, setList, setNull, textValue, toFlattenMapValues, toJson, toMap, toString, toString
-
Field Details
-
NAME
The constant for field name used to identify the column name.- See Also:
-
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
Instantiates a new column with the name and displayed .- Parameters:
name- the namedisplayed- the displayed
-
-
Method Details
-
setName
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
Gets the column name.- Returns:
- the name
-
isDisplayed
public boolean isDisplayed()Checks if column is displayed.- Returns:
- true, if column is displayed
-