ReportTypeColumn Class

Contains detailed report type metadata about a field, including data type, display name, and filter values.

Reports

The following are methods for ReportTypeColumn. All are instance methods.

  • getDataType()

    Returns the data type of the field.

  • getFilterValues()

    If the field data type is picklist, multi-select picklist, boolean, or checkbox, returns all filter values for a field. For example, checkbox fields always have a value of true or false. For fields of other data types, the filter value is an empty array, because their values can’t be determined.

  • getFilterable()

    If the field is of a type that can’t be filtered, returns False. For example, fields of the type Encrypted Text can’t be filtered.

  • getLabel()

    Returns the localized display name of the field.

  • getName()

    Returns the unique API name of the field.

Returns the data type of the field.

public Reports.ColumnDataType getDataType()

Type: Reports.ColumnDataType

If the field data type is picklist, multi-select picklist, boolean, or checkbox, returns all filter values for a field. For example, checkbox fields always have a value of true or false. For fields of other data types, the filter value is an empty array, because their values can’t be determined.

public LIST<Reports.FilterValue> getFilterValues()

Type: List<Reports.FilterValue>

If the field is of a type that can’t be filtered, returns False. For example, fields of the type Encrypted Text can’t be filtered.

public Boolean getFilterable()

Type: Boolean

Returns the localized display name of the field.

public String getLabel()

Type: String

Returns the unique API name of the field.

public String getName()

Type: String