Class ColumnDefinition

java.lang.Object
com.amilesend.onedrive.resource.site.type.ColumnDefinition

public class ColumnDefinition extends Object
Describes a column definition.

API Documentation.

See Also:
  • Method Details

    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • builder

    • getColumnGroup

      public String getColumnGroup()
      The name of the associated group.
    • getDescription

      public String getDescription()
      The description of the column.
    • getDisplayName

      public String getDisplayName()
      The user-facing name for the column.
    • isEnforceUniqueValues

      public boolean isEnforceUniqueValues()
      When true, no two list items may have the save value for this column.
    • isHidden

      public boolean isHidden()
      Indicates if the column is displayed in the UI.
    • getId

      public String getId()
      The column identifier.
    • isIndexed

      public boolean isIndexed()
      Indicates if the column values can be used for sorting and searching.
    • getName

      public String getName()
      The API-facing name of the columns.
    • isReadOnly

      public boolean isReadOnly()
      Indicates if the column values are immutable.
    • isRequired

      public boolean isRequired()
      Indicates if teh column value is required.
    • getBooleanColumn

      public Object getBooleanColumn()
      When non-null, indicates that the column stores boolean values.
    • getCalculated

      public CalculatedColumn getCalculated()
      When non-null, indicates that the column is calculated based on other columns.
    • getChoice

      public ChoiceColumn getChoice()
      When non-null, indicates that the column stores data from a list of choices.
    • getCurrency

      public CurrencyColumn getCurrency()
      When non-null, indicates that the column stores currency values.
    • getDateTime

      public DateTimeColumn getDateTime()
      When non-null, indicates that the column stores timestamps.
    • getDefaultValue

      public DefaultColumnValue getDefaultValue()
      The default value for the column.
    • getLookup

      public LookupColumn getLookup()
      The column stores a date that is looked up from another source in the site.
    • getNumber

      public NumberColumn getNumber()
      The column stores numbers.
    • getPersonOrGroup

      public PersonOrGroupColumn getPersonOrGroup()
      The column stores a person or group.
    • getText

      public TextColumn getText()
      The column stores text.
    • toString

      public String toString()
      Overrides:
      toString in class Object