Class ColumnDefinition.ColumnDefinitionBuilder
java.lang.Object
com.amilesend.onedrive.resource.site.type.ColumnDefinition.ColumnDefinitionBuilder
- Enclosing class:
ColumnDefinition
-
Method Summary
Modifier and TypeMethodDescriptionbooleanColumn(Object booleanColumn) When non-null, indicates that the column stores boolean values.build()calculated(CalculatedColumn calculated) When non-null, indicates that the column is calculated based on other columns.choice(ChoiceColumn choice) When non-null, indicates that the column stores data from a list of choices.columnGroup(String columnGroup) The name of the associated group.currency(CurrencyColumn currency) When non-null, indicates that the column stores currency values.dateTime(DateTimeColumn dateTime) When non-null, indicates that the column stores timestamps.defaultValue(DefaultColumnValue defaultValue) The default value for the column.description(String description) The description of the column.displayName(String displayName) The user-facing name for the column.enforceUniqueValues(boolean enforceUniqueValues) Whentrue, no two list items may have the save value for this column.hidden(boolean hidden) Indicates if the column is displayed in the UI.The column identifier.indexed(boolean indexed) Indicates if the column values can be used for sorting and searching.lookup(LookupColumn lookup) The column stores a date that is looked up from another source in the site.The API-facing name of the columns.number(NumberColumn number) The column stores numbers.personOrGroup(PersonOrGroupColumn personOrGroup) The column stores a person or group.readOnly(boolean readOnly) Indicates if the column values are immutable.required(boolean required) Indicates if teh column value is required.text(TextColumn text) The column stores text.toString()
-
Method Details
-
columnGroup
The name of the associated group.- Returns:
this.
-
description
The description of the column.- Returns:
this.
-
displayName
The user-facing name for the column.- Returns:
this.
-
enforceUniqueValues
Whentrue, no two list items may have the save value for this column.- Returns:
this.
-
id
-
indexed
Indicates if the column values can be used for sorting and searching.- Returns:
this.
-
name
The API-facing name of the columns.- Returns:
this.
-
readOnly
Indicates if the column values are immutable.- Returns:
this.
-
required
Indicates if teh column value is required.- Returns:
this.
-
booleanColumn
When non-null, indicates that the column stores boolean values.- Returns:
this.
-
calculated
When non-null, indicates that the column is calculated based on other columns.- Returns:
this.
-
choice
When non-null, indicates that the column stores data from a list of choices.- Returns:
this.
-
currency
When non-null, indicates that the column stores currency values.- Returns:
this.
-
dateTime
When non-null, indicates that the column stores timestamps.- Returns:
this.
-
defaultValue
The default value for the column.- Returns:
this.
-
lookup
The column stores a date that is looked up from another source in the site.- Returns:
this.
-
number
The column stores numbers.- Returns:
this.
-
personOrGroup
The column stores a person or group.- Returns:
this.
-
text
The column stores text.- Returns:
this.
-
build
-
toString
-