Skip to content

Commit e6e7301

Browse files
convert PostSuiteEvent to Java
1 parent 3e9873f commit e6e7301

1 file changed

Lines changed: 21 additions & 6 deletions

File tree

sqldev/src/main/java/org/utplsql/sqldev/model/runner/PostSuiteEvent.java

Lines changed: 21 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,26 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package org.utplsql.sqldev.model.runner
16+
package org.utplsql.sqldev.model.runner;
1717

18-
import org.eclipse.xtend.lib.annotations.Accessors
18+
import org.springframework.core.style.ToStringCreator;
19+
import org.utplsql.sqldev.model.UtplsqlToStringStyler;
1920

20-
@Accessors
21-
class PostSuiteEvent extends PostEvent {
22-
String id
23-
}
21+
public class PostSuiteEvent extends PostEvent {
22+
private String id;
23+
24+
@Override
25+
public String toString() {
26+
return new ToStringCreator(this, UtplsqlToStringStyler.INSTANCE)
27+
.append("id", id)
28+
.toString();
29+
}
30+
31+
public String getId() {
32+
return id;
33+
}
34+
35+
public void setId(final String id) {
36+
this.id = id;
37+
}
38+
}

0 commit comments

Comments
 (0)