You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@atlas.apache.org by sa...@apache.org on 2021/04/29 17:49:42 UTC

[atlas] branch branch-2.0 updated: ATLAS-4261: Changed the AtlasGlossaryTermHeader glossaryGUID to termGUID

This is an automated email from the ASF dual-hosted git repository.

sarath pushed a commit to branch branch-2.0
in repository https://gitbox.apache.org/repos/asf/atlas.git


The following commit(s) were added to refs/heads/branch-2.0 by this push:
     new 00f3054  ATLAS-4261: Changed the AtlasGlossaryTermHeader glossaryGUID to termGUID
00f3054 is described below

commit 00f30545d75a7456bf4119b44effe26f384eae03
Author: sidmishra <si...@cloudera.com>
AuthorDate: Thu Apr 29 10:36:09 2021 -0700

    ATLAS-4261: Changed the AtlasGlossaryTermHeader glossaryGUID to termGUID
    
    Signed-off-by: Sarath Subramanian <sa...@apache.org>
    (cherry picked from commit 5673d72287d59aaf2685030a727998f040abdd72)
---
 .../model/glossary/AtlasGlossaryTermHeader.java    | 24 +++++++++++-----------
 1 file changed, 12 insertions(+), 12 deletions(-)

diff --git a/intg/src/main/java/org/apache/atlas/model/glossary/AtlasGlossaryTermHeader.java b/intg/src/main/java/org/apache/atlas/model/glossary/AtlasGlossaryTermHeader.java
index 65a5ce0..f807ba2 100644
--- a/intg/src/main/java/org/apache/atlas/model/glossary/AtlasGlossaryTermHeader.java
+++ b/intg/src/main/java/org/apache/atlas/model/glossary/AtlasGlossaryTermHeader.java
@@ -23,22 +23,22 @@ import java.util.Objects;
 
 @AtlasJSON
 public class AtlasGlossaryTermHeader {
-    private String glossaryGuid;
+    private String termGuid;
     private String qualifiedName;
 
-    public AtlasGlossaryTermHeader(String glossaryGuid) {
-        this.glossaryGuid = glossaryGuid;
+    public AtlasGlossaryTermHeader(String termGuid) {
+        this.termGuid = termGuid;
     }
 
-    public AtlasGlossaryTermHeader(String glossaryGuid, String qualifiedName) {
-        this.glossaryGuid = glossaryGuid;
+    public AtlasGlossaryTermHeader(String termGuid, String qualifiedName) {
+        this.termGuid = termGuid;
         this.qualifiedName = qualifiedName;
     }
 
     @Override
     public String toString() {
         final StringBuilder sb = new StringBuilder("AtlasGlossaryTermHeader{");
-        sb.append("glossaryGuid='").append(glossaryGuid).append('\'');
+        sb.append("termGuid='").append(termGuid).append('\'');
         sb.append(", qualifiedName='").append(qualifiedName).append('\'');
         sb.append('}');
         return sb.toString();
@@ -47,12 +47,12 @@ public class AtlasGlossaryTermHeader {
     public AtlasGlossaryTermHeader() {
     }
 
-    public String getGlossaryGuid() {
-        return glossaryGuid;
+    public String getTermGuid() {
+        return termGuid;
     }
 
-    public void setGlossaryGuid(final String glossaryGuid) {
-        this.glossaryGuid = glossaryGuid;
+    public void setTermGuid(final String termGuid) {
+        this.termGuid = termGuid;
     }
 
     public String getQualifiedName() {
@@ -68,13 +68,13 @@ public class AtlasGlossaryTermHeader {
         if (this == o) return true;
         if (!(o instanceof org.apache.atlas.model.glossary.AtlasGlossaryTermHeader)) return false;
         final org.apache.atlas.model.glossary.AtlasGlossaryTermHeader that = (org.apache.atlas.model.glossary.AtlasGlossaryTermHeader) o;
-        return Objects.equals(glossaryGuid, that.glossaryGuid) &&
+        return Objects.equals(termGuid, that.termGuid) &&
                 Objects.equals(qualifiedName, that.qualifiedName);
     }
 
     @Override
     public int hashCode() {
-        return Objects.hash(glossaryGuid, qualifiedName);
+        return Objects.hash(termGuid, qualifiedName);
     }
 
 }