Instance.isNew()

Signature

boolean isNew (Concept instance)

Domain

action, condition

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

NameTypeDescription
instanceConceptThe instance to test.

Returns

TypeDescription
booleantrue if a concept instance is newly added during the conflict resolution.

Cautions

none