Skip to main content
Pentaho Documentation

IWithKey

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

Members

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