Skip to main content
Pentaho Documentation

IListProto

pentaho.type.spec.IListProto

The spec.IListProto interface represents the specification of the prototype of a list type's instance class.

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

Extends

Members

Name Description
type : pentaho.type.spec.IListTypeProto

The extensible/configurable members of the prototype of list type classes.

Methods

Name Description
validate() : Array.<!pentaho.type.ValidationError>

Determines if a value is valid.

Members Details

type: pentaho.type.spec.IListTypeProto

The extensible/configurable members of the prototype of list type classes.

Source: doc-js/pentaho/type/spec/IListProto.jsdoc, line 25

Overrides: pentaho.type.spec.IValueProto#type

See also:  pentaho.type.spec.IListTypeProto#instance

Methods Details

validate() : Array.<!pentaho.type.ValidationError>

Determines if a value is valid.

If you override this method, be sure to call the base implementation, and return any errors it reports.

You can use the error utilities in pentaho.type.Util to help in the implementation.

Source: doc-js/pentaho/type/spec/IValueProto.jsdoc, line 35

Inherited From: pentaho.type.spec.IValueProto#validate

Returns:
Name Description
Array.<!pentaho.type.ValidationError> | null

A non-empty array of errors or null.

See also:  pentaho.type.spec.IValueTypeProto#validateInstance , pentaho.type.Value#validate