1313 * See the License for the specific language governing permissions and
1414 * limitations under the License.
1515 */
16- package org .utplsql .sqldev .model .parser
17-
18- import java .util .List
19- import org .eclipse .xtend .lib .annotations .Accessors
20- import org .utplsql .sqldev .model .AbstractModel
21- import org .utplsql .sqldev .model .ut .Annotation
22-
23- @ Accessors
24- class PlsqlObject extends AbstractModel {
25- String name
26- String type
27- Integer position
28- List <Annotation > annotations
29- }
16+ package org .utplsql .sqldev .model .parser ;
17+
18+ import java .util .List ;
19+
20+ import org .springframework .core .style .ToStringCreator ;
21+ import org .utplsql .sqldev .model .AbstractModel ;
22+ import org .utplsql .sqldev .model .ut .Annotation ;
23+
24+ public class PlsqlObject extends AbstractModel {
25+ private String name ;
26+ private String type ;
27+ private Integer position ;
28+ private List <Annotation > annotations ;
29+
30+ @ Override
31+ public String toString () {
32+ return new ToStringCreator (this , getStyler ())
33+ .append ("name" , name )
34+ .append ("type" , type )
35+ .append ("position" , position )
36+ .append ("annotations" , annotations )
37+ .toString ();
38+ }
39+
40+ public String getName () {
41+ return this .name ;
42+ }
43+
44+ public void setName (final String name ) {
45+ this .name = name ;
46+ }
47+
48+ public String getType () {
49+ return this .type ;
50+ }
51+
52+ public void setType (final String type ) {
53+ this .type = type ;
54+ }
55+
56+ public Integer getPosition () {
57+ return this .position ;
58+ }
59+
60+ public void setPosition (final Integer position ) {
61+ this .position = position ;
62+ }
63+
64+ public List <Annotation > getAnnotations () {
65+ return this .annotations ;
66+ }
67+
68+ public void setAnnotations (final List <Annotation > annotations ) {
69+ this .annotations = annotations ;
70+ }
71+ }
0 commit comments