Skip to content

Commit d03f7ab

Browse files
convert Annotation to Java
1 parent f231205 commit d03f7ab

1 file changed

Lines changed: 63 additions & 13 deletions

File tree

sqldev/src/main/java/org/utplsql/sqldev/model/ut/Annotation.java

Lines changed: 63 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,66 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package org.utplsql.sqldev.model.ut
17-
18-
import org.eclipse.xtend.lib.annotations.Accessors
19-
import org.utplsql.sqldev.model.AbstractModel
20-
21-
@Accessors
22-
class Annotation extends AbstractModel {
23-
String objectOwner
24-
String objectName
25-
String name
26-
String text
27-
String subobjectName
28-
}
16+
package org.utplsql.sqldev.model.ut;
17+
18+
import org.springframework.core.style.ToStringCreator;
19+
import org.utplsql.sqldev.model.AbstractModel;
20+
21+
public class Annotation extends AbstractModel {
22+
private String objectOwner;
23+
private String objectName;
24+
private String name;
25+
private String text;
26+
private String subobjectName;
27+
28+
@Override
29+
public String toString() {
30+
return new ToStringCreator(this, getStyler())
31+
.append("objectOwner", objectOwner)
32+
.append("objectName", objectName)
33+
.append("name", name)
34+
.append("text", text)
35+
.append("subobjectName", subobjectName)
36+
.toString();
37+
}
38+
39+
public String getObjectOwner() {
40+
return this.objectOwner;
41+
}
42+
43+
public void setObjectOwner(final String objectOwner) {
44+
this.objectOwner = objectOwner;
45+
}
46+
47+
public String getObjectName() {
48+
return this.objectName;
49+
}
50+
51+
public void setObjectName(final String objectName) {
52+
this.objectName = objectName;
53+
}
54+
55+
public String getName() {
56+
return this.name;
57+
}
58+
59+
public void setName(final String name) {
60+
this.name = name;
61+
}
62+
63+
public String getText() {
64+
return this.text;
65+
}
66+
67+
public void setText(final String text) {
68+
this.text = text;
69+
}
70+
71+
public String getSubobjectName() {
72+
return this.subobjectName;
73+
}
74+
75+
public void setSubobjectName(final String subobjectName) {
76+
this.subobjectName = subobjectName;
77+
}
78+
}

0 commit comments

Comments
 (0)