From 65cd62aa86dac7f5be36f7e507eb4e964460d765 Mon Sep 17 00:00:00 2001 From: aarshi Date: Thu, 28 Dec 2023 08:42:27 +0530 Subject: [PATCH] add util for appendRelationshipattribute --- .../java/org/apache/atlas/model/instance/AtlasEntity.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/intg/src/main/java/org/apache/atlas/model/instance/AtlasEntity.java b/intg/src/main/java/org/apache/atlas/model/instance/AtlasEntity.java index f803ab68a2..db27284bcb 100644 --- a/intg/src/main/java/org/apache/atlas/model/instance/AtlasEntity.java +++ b/intg/src/main/java/org/apache/atlas/model/instance/AtlasEntity.java @@ -375,6 +375,12 @@ public Object getRelationshipAttribute(String name) { return a != null ? a.get(name) : null; } + public Object getAppendRelationshipAttribute(String name) { + Map a = this.appendRelationshipAttributes; + + return a != null ? a.get(name) : null; + } + public boolean hasRelationshipAttribute(String name) { Map r = this.relationshipAttributes;