Class: DimensionToken

Oracle.BDD.Portlets.Visualization.Model. DimensionToken

new DimensionToken()

Do NOT instantiate this class directly. Token objects should be accessed and modified through the Oracle.BDD.Portlets.Visualization.Model.QueryConfig#getToken function ONLY.
Source:

Extends

Methods

getAttributeKey() → {string}

Gets the attribute key for the attribute token of the given name
Inherited From:
Source:
Returns:
The token's attribute key
Type
string

getDataType() → {string}

Gets the MDEX datatype of the token's attribute
Inherited From:
Source:
Returns:
The token's data type
Type
string

getDataViewKey() → {string}

Gets the token's dataview key
Inherited From:
Source:
Returns:
The token's dataview key
Type
string

getDisplayName() → {string}

Gets the attribute display name for the attribute token of the given name
Inherited From:
Source:
Returns:
The token's attribute display name
Type
string

getType() → {string}

Gets the token type (e.g. 'metric', 'dimension', 'sort', data', 'dataview'
Inherited From:
Source:
Returns:
The token's type ('metric', 'dimension', etc.)
Type
string

getValue() → {string|Number}

Gets the value for token of the given name. This is the literal value that replaced the value in the EQL query.
Inherited From:
Source:
Returns:
The token's value
Type
string | Number

isGroupByMembers() → {boolean}

Returns boolean indicating if this token is configured to group its multi-assign attributes my set members in eql grouping functions. Default true for multi-assign attributes.
Source:
Returns:
The token's aggregation function
Type
boolean

isSingleAssign() → {boolean}

Indicates if the attribute is single assign
Inherited From:
Source:
Returns:
Type
boolean

setAttributeKey(attributeKey)

Sets the attribute key for the attribute token of the given name
Parameters:
Name Type Description
attributeKey string The attribute key value
Inherited From:
Source: