@onehat/data 1.7.4 → 1.7.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
package/src/Entity.js
CHANGED
|
@@ -773,6 +773,14 @@ class Entity extends EventEmitter {
|
|
|
773
773
|
return this.getIdProperty().isTempId;
|
|
774
774
|
}
|
|
775
775
|
|
|
776
|
+
/**
|
|
777
|
+
* Marks this Entity's idProperty's isTempId field
|
|
778
|
+
* @return {boolean} isTempId
|
|
779
|
+
*/
|
|
780
|
+
set isTempId(bool) {
|
|
781
|
+
this.getIdProperty().isTempId = bool;
|
|
782
|
+
}
|
|
783
|
+
|
|
776
784
|
/**
|
|
777
785
|
* Gets the "Display" Property object for this Entity.
|
|
778
786
|
* This is the Property whose value can easily identify the whole Entity itself.
|