1313 * See the License for the specific language governing permissions and
1414 * limitations under the License.
1515 */
16- package org .utplsql .sqldev .model .parser
16+ package org .utplsql .sqldev .model .parser ;
1717
18- import org .eclipse . xtend . lib . annotations . Accessors
19- import org .utplsql .sqldev .model .AbstractModel
18+ import org .springframework . core . style . ToStringCreator ;
19+ import org .utplsql .sqldev .model .AbstractModel ;
2020
21- @ Accessors
22- class Unit extends AbstractModel {
23- String name
24- Integer position
25- Integer positionOfName
26- }
21+ public class Unit extends AbstractModel {
22+ private String name ;
23+ private Integer position ;
24+ private Integer positionOfName ;
25+
26+ @ Override
27+ public String toString () {
28+ return new ToStringCreator (this , getStyler ())
29+ .append ("name" , name )
30+ .append ("position" , position )
31+ .append ("positionOfName" , positionOfName )
32+ .toString ();
33+ }
34+
35+ public String getName () {
36+ return this .name ;
37+ }
38+
39+ public void setName (final String name ) {
40+ this .name = name ;
41+ }
42+
43+ public Integer getPosition () {
44+ return this .position ;
45+ }
46+
47+ public void setPosition (final Integer position ) {
48+ this .position = position ;
49+ }
50+
51+ public Integer getPositionOfName () {
52+ return this .positionOfName ;
53+ }
54+
55+ public void setPositionOfName (final Integer positionOfName ) {
56+ this .positionOfName = positionOfName ;
57+ }
58+ }
0 commit comments