01: package org.jpublish.module.cayenne.demo.auto;
02:
03: /** Class _SchemaInfo was generated by Cayenne.
04: * It is probably a good idea to avoid changing this class manually,
05: * since it may be overwritten next time code is regenerated.
06: * If you need to make any customizations, please use subclass.
07: */
08: public class _SchemaInfo extends org.apache.cayenne.CayenneDataObject {
09:
10: public static final String DESCRIPTION_PROPERTY = "description";
11: public static final String ID_PROPERTY = "id";
12:
13: public static final String ID_PK_COLUMN = "id";
14:
15: public void setDescription(String description) {
16: writeProperty("description", description);
17: }
18:
19: public String getDescription() {
20: return (String) readProperty("description");
21: }
22:
23: public void setId(Integer id) {
24: writeProperty("id", id);
25: }
26:
27: public Integer getId() {
28: return (Integer) readProperty("id");
29: }
30:
31: }
|