ColumnModel

org.sagebionetworks.repo.model.table.ColumnModel

A column model contains the metadata of a single column of a TableEntity

Field Type Description
id STRING The immutable ID issued to new columns
name STRING The display name of the column
defaultValue STRING The default value for this column. Columns of type FILEHANDLEID and ENTITYID are not allowed to have default values.
columnType ColumnType The column type determines the type of data that can be stored in a column.
maximumSize INTEGER A parameter for columnTypes with a maximum size. For example, ColumnType.STRINGs have a default maximum size of 50 characters, but can be set to a maximumSize of 1 to 1000 characters.
enumValues ARRAY<STRING> Columns of type STRING can be constrained to an enumeration values set on this list. The maximum number of entries for an enum is 100
facetType FacetType