# Interface Attribute

Common interface of an attribute as in a dimensional model.

An attribute is an extension of a Column in a generic data set.

# Methods

# getSort

getSort(): Sort

Gets the sort definition.

# Returns

Sort

The Sort definition


# sort

sort(sort): Attribute

Sorts the attribute by the given definition

# Parameters

Parameter Type Description
sort Sort Sort definition

# Returns

Attribute

An sorted instance of the attribute

# Properties

# expression

readonly expression: string

Expression representing the element in a JAQL query (opens new window). It is typically populated automatically in the data model generated by the data model generator.


# name

name: string

Element name


# type

readonly type: string

Element type