Skip to main content
Pentaho Documentation

Change

pentaho.type.changes.Change

The Change class is the abstract base class of classes that describe changes in structured value instances.

AMD Module

require(["pentaho/type/changes/Change"], function(Change) { /* code goes here */ });

Extends

Constructor

Name Description
new Change()
 
Abstract

Creates a Change instance.

Members

Name Description
base : function
 
Protected

If a method has been overridden, then the base method provides access to the overridden method.

type : string
 
Abstract

Gets the type of change.

Methods

Name Description
_apply(target)
 
Abstract
 
Protected

Applies any local primitive changes.

extend(source, keyArgs) : Object

Extend an object with the properties of another.

Constructor Details

new Change()
 
Abstract

Creates a Change instance.

Source: javascript/web/pentaho/type/changes/Change.js, line 22

Members Details

base: function
 
Protected

If a method has been overridden, then the base method provides access to the overridden method.

Can also be called from within a constructor function.

Source: javascript/web/pentaho/lang/Base.js, line 299

Inherited From: pentaho.lang.Base#base

type: string
 
Abstract

Gets the type of change.

Source: javascript/web/pentaho/type/changes/Change.js, line 40

Methods Details

_apply(target)
 
Abstract
 
Protected

Applies any local primitive changes.

Source: javascript/web/pentaho/type/changes/Change.js, line 50

Parameters:
Name Default Value Summary
target : pentaho.type.mixins.Container

The container to which changes are applied.

extend(source, keyArgs) : Object

Extend an object with the properties of another.

Methods that are overridden are accessible through this.base.

This object is extended, but its class doesn't change.

Source: javascript/web/pentaho/lang/Base.js, line 1037

Inherited From: pentaho.lang.Base#extend

Parameters:
Name Default Value Summary
source : Object

The instance specification.

keyArgs : Object
 
Optional

The keyword arguments.

Parameters:
Name Default Value Summary
exclude : Object
 
Optional

A map of property names to exclude from source.

Returns:
Name Description
Object

This object.