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 java .util .ArrayList
19- import java .util .List
20- import org .eclipse .xtend .lib .annotations .Accessors
21-
22- @ Accessors
23- class Suite extends Item {
24- String name
25- String description
26- List <Item > items
27-
28- new () {
29- items = new ArrayList <Item >
30- }
31- }
16+ package org .utplsql .sqldev .model .runner ;
17+
18+ import java .util .ArrayList ;
19+ import java .util .List ;
20+
21+ import org .springframework .core .style .ToStringCreator ;
22+ import org .utplsql .sqldev .model .UtplsqlToStringStyler ;
23+
24+ public class Suite extends Item {
25+ private String name ;
26+ private String description ;
27+ private List <Item > items ;
28+
29+ public Suite () {
30+ items = new ArrayList <>();
31+ }
32+
33+ @ Override
34+ public String toString () {
35+ return new ToStringCreator (this , UtplsqlToStringStyler .INSTANCE )
36+ .append ("name" , name )
37+ .append ("description" , description )
38+ .append ("items" , items )
39+ .toString ();
40+ }
41+
42+ public String getName () {
43+ return name ;
44+ }
45+
46+ public void setName (final String name ) {
47+ this .name = name ;
48+ }
49+
50+ public String getDescription () {
51+ return description ;
52+ }
53+
54+ public void setDescription (final String description ) {
55+ this .description = description ;
56+ }
57+
58+ public List <Item > getItems () {
59+ return items ;
60+ }
61+
62+ public void setItems (final List <Item > items ) {
63+ this .items = items ;
64+ }
65+ }
0 commit comments