Commit 727e6e03 by Diego Marino Monetti Committed by Madhan Neethiraj

ATLAS-3102: updated copy constructor of AtlasBaseTypeDef to copy serviceType

parent 92c0c3e5
...@@ -191,6 +191,7 @@ public abstract class AtlasBaseTypeDef implements java.io.Serializable { ...@@ -191,6 +191,7 @@ public abstract class AtlasBaseTypeDef implements java.io.Serializable {
setUpdateTime(other.getUpdateTime()); setUpdateTime(other.getUpdateTime());
setVersion(other.getVersion()); setVersion(other.getVersion());
setName(other.getName()); setName(other.getName());
setServiceType(other.getServiceType());
setDescription(other.getDescription()); setDescription(other.getDescription());
setTypeVersion(other.getTypeVersion()); setTypeVersion(other.getTypeVersion());
setOptions(other.getOptions()); setOptions(other.getOptions());
...@@ -204,6 +205,7 @@ public abstract class AtlasBaseTypeDef implements java.io.Serializable { ...@@ -204,6 +205,7 @@ public abstract class AtlasBaseTypeDef implements java.io.Serializable {
setUpdateTime(null); setUpdateTime(null);
setVersion(null); setVersion(null);
setName(null); setName(null);
setServiceType(null);
setDescription(null); setDescription(null);
setTypeVersion(null); setTypeVersion(null);
setOptions(null); setOptions(null);
......
...@@ -268,7 +268,7 @@ public class AtlasRelationshipDef extends AtlasStructDef implements java.io.Seri ...@@ -268,7 +268,7 @@ public class AtlasRelationshipDef extends AtlasStructDef implements java.io.Seri
setEndDef2(endDef2); setEndDef2(endDef2);
} }
public AtlasRelationshipDef(AtlasRelationshipDef other) throws AtlasBaseException { public AtlasRelationshipDef(AtlasRelationshipDef other) {
super(other); super(other);
if (other != null) { if (other != null) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment