Skip to main content
Pentaho Documentation

type

pentaho.type

The type namespace contains the classes and interfaces of the Pentaho Type API.

Source: doc-js/pentaho/type/_namespace.jsdoc, line 17

Child Namespaces

Name Summary
action

The action namespace contains types related with the action concept.

changes

The changes namespace contains classes that describe internal changes of values.

events

The events namespace contains event classes.

facets

The facets namespace contains the standard refinement facet mixin classes.

filter

The filter namespace contains types for expressing intensional filters of complex values or lists thereof.

mixins

The mixins namespace contains mixins for classes.

spec

The type.spec namespace contains specification interfaces and type definitions.

Classes

Name Summary
Application

The base class of application types.

Boolean

The class of boolean values.

Complex

The base class of structured values.

ContainerMixin

A mixin class that contains functionality shared by the instance container classes: Complex and List.

Context

A class that holds configured types.

Date

The class of date values.

Element

The base class of singular values.

Function

The class that represents primitive, JavaScript function values.

Instance

The root, abstract class of things that can be represented by the Pentaho Type API.

List

The base class of plural values.

Model

The base class of model values.

Number

The class of number values.

Object

The class that represents primitive, JavaScript object values.

Property

The class of properties of complex values.

Refinement

A refinement type represents a refinement of a representation type.

Simple

The base, abstract class of unstructured values.

SpecificationContext

A class that holds information that is shared during the serialization (or conversion to specification) of instances and types.

SpecificationScope

A class that manages the ambient specification context.

String

The class of textual values.

Type

The root class of types that can be represented by the Pentaho Type API.

Util

A singleton class that contains utilities for using types and its instances.

ValidationError

The base class of errors associated with values validation.

Value

The base, abstract class of instances which are the value of properties.

Type Definitions

Factory(context) : Class.<pentaho.type.Value>

Creates the class of a Value type for a given context.

Source: doc-js/pentaho/type/Factory.jsdoc, line 17

Parameters:
Name Default Value Summary
context : pentaho.type.Context

The context for which the type's class is being created.

Returns:
Name Description
Class.<pentaho.type.Value>

The new type class.

PropertyDynamicAttribute() : T

The signature of a function of a dynamic attribute of a property.

Examples of dynamic property attributes:

Source: doc-js/pentaho/type/PropertyDynamicAttribute.jsdoc, line 17

Returns:
Name Description
T

The calculated attribute's value.

UStructuredValue: pentaho.type.List | pentaho.type.Complex

A UStructuredValue is the combination of value types that have an internal structure.

Source: doc-js/pentaho/type/UStructuredValue.jsdoc, line 17