Instance.isNew()
Signature
boolean isNew (Concept instance)
Description
This function returns true if a concept instance
is newly added
during the conflict resolution. Use "isModified(instance)" to check if an instance is being
modified by other rules during the conflict resolution. Use "!isModified(instance)" to check
if an instance is newly added but has not been modified during the conflict resolution. Use
"isNew(instance) || isModified(instance)" regardless the instance is newly added or being
modified during the conflict resolution.
Parameters
Name | Type | Description |
instance | Concept | The instance to test. |
Returns
Type | Description |
boolean | true if a concept instance is newly added during the conflict
resolution. |