1313 * See the License for the specific language governing permissions and
1414 * limitations under the License.
1515 */
16- package org .utplsql .sqldev .model .runner
17-
18- import org .eclipse .xtend .lib .annotations .Accessors
19- import org .utplsql .sqldev .model .AbstractModel
20-
21- @ Accessors
22- abstract class Item extends AbstractModel {
23- String id
24- String startTime
25- String endTime
26- Double executionTime
27- Counter counter
28- String errorStack
29- String serverOutput
30- String warnings
31- }
16+ package org .utplsql .sqldev .model .runner ;
17+
18+ import org .springframework .core .style .ToStringCreator ;
19+ import org .utplsql .sqldev .model .AbstractModel ;
20+
21+ public abstract class Item extends AbstractModel {
22+ private String id ;
23+ private String startTime ;
24+ private String endTime ;
25+ private Double executionTime ;
26+ private Counter counter ;
27+ private String errorStack ;
28+ private String serverOutput ;
29+ private String warnings ;
30+
31+ @ Override
32+ public String toString () {
33+ return new ToStringCreator (this , getStyler ())
34+ .append ("id" , id )
35+ .append ("startTime" , startTime )
36+ .append ("endTime" , endTime )
37+ .append ("executionTime" , executionTime )
38+ .append ("counter" , counter )
39+ .append ("errorStack" , errorStack )
40+ .append ("serverOutput" , serverOutput )
41+ .append ("warnings" , warnings )
42+ .toString ();
43+ }
44+
45+ public String getId () {
46+ return id ;
47+ }
48+
49+ public void setId (final String id ) {
50+ this .id = id ;
51+ }
52+
53+ public String getStartTime () {
54+ return startTime ;
55+ }
56+
57+ public void setStartTime (final String startTime ) {
58+ this .startTime = startTime ;
59+ }
60+
61+ public String getEndTime () {
62+ return endTime ;
63+ }
64+
65+ public void setEndTime (final String endTime ) {
66+ this .endTime = endTime ;
67+ }
68+
69+ public Double getExecutionTime () {
70+ return executionTime ;
71+ }
72+
73+ public void setExecutionTime (final Double executionTime ) {
74+ this .executionTime = executionTime ;
75+ }
76+
77+ public Counter getCounter () {
78+ return counter ;
79+ }
80+
81+ public void setCounter (final Counter counter ) {
82+ this .counter = counter ;
83+ }
84+
85+ public String getErrorStack () {
86+ return errorStack ;
87+ }
88+
89+ public void setErrorStack (final String errorStack ) {
90+ this .errorStack = errorStack ;
91+ }
92+
93+ public String getServerOutput () {
94+ return serverOutput ;
95+ }
96+
97+ public void setServerOutput (final String serverOutput ) {
98+ this .serverOutput = serverOutput ;
99+ }
100+
101+ public String getWarnings () {
102+ return warnings ;
103+ }
104+
105+ public void setWarnings (final String warnings ) {
106+ this .warnings = warnings ;
107+ }
108+ }
0 commit comments