Skip to main content

Pentaho+ documentation has moved!

The new product documentation portal is here. Check it out now at docs.hitachivantara.com

 

Hitachi Vantara Lumada and Pentaho Documentation

IValueType

pentaho.type.spec. IValueType

The spec.IValueType interface represents the specification of a value type.

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

Extends

Members

Name Description
alias :  nonEmptyString

The alias for the identifier of this type.

application :  object

The application property of the type.

base :  pentaho.type.spec.TypeReference

A reference to the type's base type, if any.

category :  nonEmptyString | *

The category associated with the type.

defaultView :  string | function

The default view for instances of the type.

description :  nonEmptyString | *

The description of the type.

helpUrl :  nonEmptyString | *

An URL pointing to documentation associated with the type.

id :  string

The identifier of the type's AMD module, a temporary identifier, or null.

isAbstract :  boolean | *

Indicates if the type is abstract.

isAdvanced :  boolean | *

Indicates if the type should be exposed only to advanced users in a user interface.

isBrowsable :  boolean | *

Indicates if the type should be exposed to users in a user interface.

label :  nonEmptyString | *

The label of the type.

ordinal :  number | *

The ordinal associated with the type.

sourceId :  string

The identifier of the value type's source AMD module, or null.

styleClass :  nonEmptyString | *

The CSS class associated with the type.

Members Details

alias:  nonEmptyString

The alias for the identifier of this type.

The alias of a type can only be specified when extending the ancestor type.

This attribute is not inherited.

When unspecified, defaults to null.

Source: doc-js/pentaho/type/spec/IType.jsdoc, line 74

Inherited From: pentaho.type.spec.IType#alias

See also: pentaho.type.spec.IType#id

application:  object

The application property of the type.

The application property serves as a bag of properties specific to the container application, that can be modified via the Configuration Service.

Nully values will be ignored by the application property.

Source: doc-js/pentaho/type/spec/IType.jsdoc, line 121

Inherited From: pentaho.type.spec.IType#application

See also: pentaho.type.Type#application

base:  pentaho.type.spec.TypeReference

A reference to the type's base type, if any.

When the specification is used in the context of a property, it defaults to "property". Otherwise, when absent or undefined, it defaults to "complex".

See a subtype's documentation for more information on default values.

Source: doc-js/pentaho/type/spec/IType.jsdoc, line 24

Inherited From: pentaho.type.spec.IType#base

category:  nonEmptyString | *

The category associated with the type.

The category is used primarily to group similar types (or instances of) in a user interface.

When non-Nully and not a string, it is taken instead to be the result of calling its toString method.

When undefined, the category is inherited from the base type.

When an empty string or null, the category is forced to be null, ignoring any inherited value.

Source: doc-js/pentaho/type/spec/IType.jsdoc, line 153

Inherited From: pentaho.type.spec.IType#category

See also: pentaho.type.spec.IType#isBrowsable , pentaho.type.spec.IType#ordinal

defaultView:  string | function

The default view for instances of the type.

When a string, it is the identifier of the view's AMD module. If the identifier is relative, it is relative to sourceId.

When undefined, the view is inherited from the base type, if any. The root view is null.

When falsy (like if null or an empty string), the value is forced to be null, ignoring any inherited value.

When a function, it is the class or factory of the view.

Source: doc-js/pentaho/type/spec/IType.jsdoc, line 257

Inherited From: pentaho.type.spec.IType#defaultView

description:  nonEmptyString | *

The description of the type.

When non-Nully and not a string, it is taken instead to be the result of calling its toString method.

When undefined, the description is inherited from the base type.

When an empty string or null, the description is forced to be null, ignoring any inherited value.

Source: doc-js/pentaho/type/spec/IType.jsdoc, line 135

Inherited From: pentaho.type.spec.IType#description

helpUrl:  nonEmptyString | *

An URL pointing to documentation associated with the type.

When non-Nully and not a string, it is taken instead to be the result of calling its toString method.

When undefined, the help url is inherited from the base type.

When an empty string or null, the help url is forced to be null, ignoring any inherited value.

Source: doc-js/pentaho/type/spec/IType.jsdoc, line 175

Inherited From: pentaho.type.spec.IType#helpUrl

id:  string

The identifier of the type's AMD module, a temporary identifier, or null.

An empty string or undefined value is interpreted as null.

For serialization purposes, a temporary identifier can be assigned to an anonymous type. An identifier is temporary if it starts with idTemporaryPrefix.

Temporary identifiers are ignored upon type construction.

When unspecified or null, it defaults to sourceId.

Source: doc-js/pentaho/type/spec/IType.jsdoc, line 53

Inherited From: pentaho.type.spec.IType#id

See also: pentaho.type.SpecificationContext.isIdTemporary

isAbstract:  boolean | *

Indicates if the type is abstract.

An abstract type cannot be used directly to create an instance and, as such, it is not usually exposed to users in a user interface.

When not a boolean, it is taken instead to be the result of passing it to the Boolean function.

Source: doc-js/pentaho/type/spec/IType.jsdoc, line 37

Inherited From: pentaho.type.spec.IType#isAbstract

Default Value: false

See also: pentaho.type.spec.IType#isBrowsable

isAdvanced:  boolean | *

Indicates if the type should be exposed only to advanced users in a user interface.

When non-Nully and not a boolean, it is taken instead to be the result of passing it to the Boolean function.

When Nully, the attribute value is inherited from the base type, if any. The root value is false.

Source: doc-js/pentaho/type/spec/IType.jsdoc, line 208

Inherited From: pentaho.type.spec.IType#isAdvanced

isBrowsable:  boolean | *

Indicates if the type should be exposed to users in a user interface.

When non-Nully and not a boolean, it is taken instead to be the result of passing it to the Boolean function.

When Nully, the attribute value is inherited from the base type, if any. The root value is true.

Source: doc-js/pentaho/type/spec/IType.jsdoc, line 193

Inherited From: pentaho.type.spec.IType#isBrowsable

label:  nonEmptyString | *

The label of the type.

When non-Nully and not a string, it is taken instead to be the result of calling its toString method.

When an empty string or Nully, the label is inherited from the base type.

The initial value of this attribute, on the top-root type, is "instance".

Source: doc-js/pentaho/type/spec/IType.jsdoc, line 105

Inherited From: pentaho.type.spec.IType#label

ordinal:  number | *

The ordinal associated with the type.

The ordinal is used to disambiguate the order with which a type (or an instance of it) is shown in a user interface.

When Nully, the ordinal is inherited from the base type, if any. The root value is 0.

Source: doc-js/pentaho/type/spec/IType.jsdoc, line 240

Inherited From: pentaho.type.spec.IType#ordinal

See also: pentaho.type.spec.IType#isBrowsable , pentaho.type.spec.IType#category

sourceId:  string

The identifier of the value type's source AMD module, or null.

An empty string or undefined value is interpreted as null.

When unspecified or null, it defaults to id.

Source: doc-js/pentaho/type/spec/IType.jsdoc, line 91

Inherited From: pentaho.type.spec.IType#sourceId

See also: pentaho.type.SpecificationContext.isIdTemporary

styleClass:  nonEmptyString | *

The CSS class associated with the type.

This attribute is typically used to associate an icon with a type.

When null or an empty string, the attribute value is set to null.

When unspecified, or undefined, the attribute value defaults to the type's id, in snake-case, if it has one; or, null, if not.

Source: doc-js/pentaho/type/spec/IType.jsdoc, line 223

Inherited From: pentaho.type.spec.IType#styleClass