public interface Column
Modifier and Type | Method and Description |
---|---|
java.lang.String |
createColumnConfigForDataTables() |
java.lang.String |
createColumnConfigForDataTablesEditable() |
java.lang.String |
getDisplayValue()
Returns the display value for this column, the display value could be the same as the value or it could be a different
value
|
Entity |
getEntity()
Specifies if the column/value is part of the form backing entity
|
java.lang.String |
getFieldLabel()
Returns the field label to use for display purposes
|
java.lang.String |
getFieldName()
Returns the unique name of the field on the jpa entity
|
FieldType |
getFieldType()
Returns the type of field.
|
boolean |
getRequired()
Specifies if the column/values is required
|
ShowOnForm |
getShowOnForm()
Specifies if the column/value should be visible on the add new entity form
|
java.lang.String |
getUrl()
turn this value into a link using the url, also used to populate select values
|
java.lang.Object |
getValue()
Returns the actual value for this column
|
java.lang.String |
getValueForDisplayOnEditForm()
Returns the string representation of the value in a format that could be displayed on the edit form, such as taking date
format into account for Date and XmlGregorianCalendar
|
boolean |
isEditable()
Specifies if the column can be edited
|
boolean |
isSearchable()
Specifies if the column is searchable
|
boolean |
isSortable()
Specifies if the column can be sorted
|
boolean |
isVisible()
Specifies if the column is visible
|
void |
setDisplayValue(java.lang.String displayValue) |
void |
setEditable(boolean editable) |
void |
setEntity(Entity entity) |
void |
setFieldLabel(java.lang.String fieldLabel) |
void |
setFieldName(java.lang.String fieldName) |
void |
setFieldType(FieldType fieldType) |
void |
setRequired(boolean required) |
void |
setSearchable(boolean searchable) |
void |
setShowOnForm(ShowOnForm showOnForm) |
void |
setSortable(boolean sortable) |
void |
setUrl(java.lang.String url) |
void |
setValue(java.lang.Object value) |
void |
setVisible(boolean visable) |
java.lang.String createColumnConfigForDataTables()
java.lang.String createColumnConfigForDataTablesEditable()
java.lang.String getFieldName()
void setFieldName(java.lang.String fieldName)
java.lang.String getFieldLabel()
void setFieldLabel(java.lang.String fieldLabel)
java.lang.Object getValue()
void setValue(java.lang.Object value)
java.lang.String getDisplayValue()
void setDisplayValue(java.lang.String displayValue)
java.lang.String getValueForDisplayOnEditForm()
FieldType getFieldType()
for the different type of fields avaiable
void setFieldType(FieldType fieldType)
boolean isEditable()
void setEditable(boolean editable)
boolean isSortable()
void setSortable(boolean sortable)
boolean isVisible()
void setVisible(boolean visable)
boolean isSearchable()
void setSearchable(boolean searchable)
ShowOnForm getShowOnForm()
void setShowOnForm(ShowOnForm showOnForm)
boolean getRequired()
void setRequired(boolean required)
Entity getEntity()
void setEntity(Entity entity)
java.lang.String getUrl()
void setUrl(java.lang.String url)