Package com.seeq.model
Class ColumnDefinitionInputV1
java.lang.Object
com.seeq.model.ColumnDefinitionInputV1
Column definitions for the Table. A column definition contains all the properties that define each column in the table. An \"item id\" column is required and must reference a Seeq item (e.g. Condition ID). A \"datum id\" column is required because it is used to uniquely identify a row (e.g. Capsule Start property).
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
The type for the column -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddColumnRulesItem
(ColumnRuleInputV1 columnRulesItem) columnName
(String columnName) columnRules
(List<ColumnRuleInputV1> columnRules) columnType
(ColumnDefinitionInputV1.ColumnTypeEnum columnType) boolean
Name of the column.The list of rules that determine the resulting value of a column.The type for the columnThe unit of measure for this column.Get isIndexedint
hashCode()
void
setColumnName
(String columnName) void
setColumnRules
(List<ColumnRuleInputV1> columnRules) void
setColumnType
(ColumnDefinitionInputV1.ColumnTypeEnum columnType) void
setColumnUom
(String columnUom) void
setIsIndexed
(Boolean isIndexed) toString()
-
Constructor Details
-
ColumnDefinitionInputV1
public ColumnDefinitionInputV1()
-
-
Method Details
-
columnName
-
getColumnName
Name of the column. This will be used as the header for this column. It must be unique for this table- Returns:
- columnName
-
setColumnName
-
columnRules
-
addColumnRulesItem
-
getColumnRules
The list of rules that determine the resulting value of a column. At least one rule is required- Returns:
- columnRules
-
setColumnRules
-
columnType
-
getColumnType
The type for the column- Returns:
- columnType
-
setColumnType
-
columnUom
-
getColumnUom
The unit of measure for this column. This is only applicable to columns whose type is NUMERIC. If provided, this will enforce that data in this column must be in this unit. For example, if the user specifies Fahrenheit and the value comes in as Meters, the value will not be inserted. If not provided, values with different units will be allowed to be stored and an extra column will be added to the generated table for the UOM- Returns:
- columnUom
-
setColumnUom
-
isIndexed
-
getIsIndexed
Get isIndexed- Returns:
- isIndexed
-
setIsIndexed
-
equals
-
hashCode
public int hashCode() -
toString
-