Coverage Summary for Class: TableInfo (net.sf.persism)
Class |
Class, %
|
Method, %
|
Line, %
|
TableInfo |
100%
(1/1)
|
100%
(2/2)
|
100%
(8/8)
|
1 package net.sf.persism;
2
3 record TableInfo(String name, String schema, ConnectionType connectionType) {
4
5 @Override
6 public String toString() {
7 StringBuilder sb = new StringBuilder();
8 String sd = connectionType.getKeywordStartDelimiter();
9 String ed = connectionType.getKeywordEndDelimiter();
10
11 if (Util.isNotEmpty(schema)) {
12 sb.append(sd).append(schema).append(ed).append(".");
13 }
14 sb.append(sd).append(name).append(ed);
15 return sb.toString();
16 }
17 }