# Interface Dimension

Common interface of a Dimension, which serves as a container for Attribute(s) and other DateDimension(s).

# 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