Commit a7119179 by Graham Wallis

ATLAS-2803: Improvements to toString methods

parent d1b3f21c
......@@ -217,6 +217,9 @@ public class AtlasEnumDef extends AtlasBaseTypeDef implements Serializable {
sb.append(", elementDefs=[");
dumpObjects(elementDefs, sb);
sb.append("]");
sb.append(", defaultValue {");
sb.append(defaultValue);
sb.append('}');
sb.append('}');
return sb;
......
......@@ -255,9 +255,19 @@ public class AtlasRelationshipDef extends AtlasStructDef implements java.io.Seri
sb.append(',');
sb.append(this.propagateTags);
sb.append(',');
sb.append(this.endDef1.toString());
if (this.endDef1 != null) {
sb.append(this.endDef1.toString());
}
else {
sb.append(" end1 is null!");
}
sb.append(',');
sb.append(this.endDef2.toString());
if (this.endDef2 != null) {
sb.append(this.endDef2.toString());
}
else {
sb.append(" end2 is null!");
}
sb.append('}');
return sb;
}
......
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