Skip to main content
Pentaho Documentation

IBaseProto

pentaho.type.action.spec.IBaseProto

The spec.IBaseProto interface represents the specification of the prototype of an action type's instance class.

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

Extends

Members

Name Description
type : pentaho.type.spec.IValueTypeProto

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

Methods

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

Determines if a value is valid.

Members Details

type: pentaho.type.spec.IValueTypeProto

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

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

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

See also:  pentaho.type.spec.IValueTypeProto#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