Skip to content

Commit

Permalink
Merge pull request #1338 from dcleao/BACKLOG-26058-8.2.0.0
Browse files Browse the repository at this point in the history
[BACKLOG-26058] Fix `EntityWithNumberKeyStrategy` not being marked as…
  • Loading branch information
pamval authored Oct 30, 2018
2 parents 659792f + 662d485 commit 93bb0a6
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,11 @@ define([

id: module.id,

/** @inheritDoc */
get isIdentity() {
return true;
},

/** @inheritDoc */
getInputTypeFor: function(outputDataType, isVisualKeyEf) {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,19 @@ define([
/**
* Gets a value that indicates if the strategy is an identity strategy.
*
* An _identity_ strategy is one for which each of its input fields
* corresponds to exactly one output field and vice-versa,
* under the same order.
* Moreover,
* the value of each input field is either the same as or equivalent to
* that of its output field.
*
* Under this definition,
* the following stock strategies are considered _identity_ strategies:
* * [IdentityStrategy]{@link pentaho.visual.role.adaptation.IdentityStrategy}
* * [TupleStrategy]{@link pentaho.visual.role.adaptation.TupleStrategy}
* * [EntityWithNumberKeyStrategy]{@link pentaho.visual.role.adaptation.EntityWithNumberKeyStrategy}
*
* @type {boolean}
* @readOnly
* @overridable
Expand Down

0 comments on commit 93bb0a6

Please sign in to comment.