Util
pentaho.type. Util
A singleton class that contains utilities for using types and its instances.
AMD Module
require(["pentaho/type/util"], function(Util) { /* code goes here */ });
Constructor
Name | Description |
---|---|
new Util() | This class was not designed to be constructed directly. |
Methods
Name | Description |
---|---|
combineErrors(errors, errorsAdd) : Array.<<code>pentaho.type.ValidationError > | Combines two validation error lists. |
fillSpecMethodInContext(spec, obj, name) : boolean | Fills the given specification with the specification of a method attribute of a given object, and returns whether it was actually added. |
normalizeErrors(errors) : Array.<<code>pentaho.type.ValidationError > | Normalizes a validation errors result. |
Constructor Details
new Util() |
---|
This class was not designed to be constructed directly. |
Methods Details
combineErrors(errors, errorsAdd) : Array.<<code>pentaho.type.ValidationError > | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Combines two validation error lists. Source: javascript/web/pentaho/type/util.js, line 81
|
fillSpecMethodInContext(spec, obj, name) : boolean | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Fills the given specification with the specification of a method attribute of a given object, and returns whether it was actually added. This method requires that there currently exists an Source: javascript/web/pentaho/type/util.js, line 107
|
normalizeErrors(errors) : Array.<<code>pentaho.type.ValidationError > | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
Normalizes a validation errors result. Source: javascript/web/pentaho/type/util.js, line 69
|