Class: AttributeToken

Oracle.BDD.Portlets.Visualization.Model. AttributeToken

new AttributeToken()

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
Source:
Returns:
The token's attribute key
Type
string

getDataType() → {string}

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

getDataViewKey() → {string}

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

getDisplayName() → {string}

Gets the attribute display name for the attribute token of the given name
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

isSingleAssign() → {boolean}

Indicates if the attribute is single assign
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
Source: