Skip to main content

Pentaho+ documentation has moved!

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


Hitachi Vantara Lumada and Pentaho Documentation


pentaho.lang. IWithKey

The IWithKey interface describes an object for which a key exists, valid under some implied domain, and is made available.

Source: doc-js/pentaho/lang/IWithKey.jsdoc, line 17


Name Description
key :  string

Gets the key value.

keyName :  string

Gets the singular name of the key value.

Members Details

key:  string

Gets the key value.

If the value of key is the result of a non-trivial computation, it should be cached.

Source: doc-js/pentaho/lang/IWithKey.jsdoc, line 38

keyName:  string

Gets the singular name of the key value.

For example, "name" would be the name of the key of an "attribute" and it would be valid under its model.

Source: doc-js/pentaho/lang/IWithKey.jsdoc, line 27