File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
model-api/src/commonMain/kotlin/org/modelix/model/api Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ import kotlinx.coroutines.flow.flatMapConcat
22
22
import kotlinx.coroutines.flow.flattenConcat
23
23
import kotlinx.coroutines.flow.flowOf
24
24
import org.modelix.model.area.IArea
25
+ import org.modelix.model.data.NodeData
25
26
26
27
/* *
27
28
* Representation of a model element.
@@ -206,6 +207,11 @@ interface INode {
206
207
@Deprecated(" use getReferenceLinks()" )
207
208
fun getReferenceRoles (): List <String >
208
209
210
+ /* *
211
+ * @return the original reference of this node
212
+ */
213
+ fun getOriginalReference (): String? = getPropertyValue(IProperty .fromName(NodeData .ID_PROPERTY_KEY ))
214
+
209
215
// <editor-fold desc="non-string based API">
210
216
fun usesRoleIds (): Boolean = false
211
217
fun getContainmentLink (): IChildLink ? = roleInParent?.let { role ->
You can’t perform that action at this time.
0 commit comments