01: package org.jpublish.module.cayenne.demo.auto;
02:
03: /** Class _TodoType 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 _TodoType extends org.apache.cayenne.CayenneDataObject {
09:
10: public static final String IS_DEFAULT_PROPERTY = "isDefault";
11: public static final String NAME_PROPERTY = "name";
12:
13: public static final String ID_PK_COLUMN = "id";
14:
15: public void setIsDefault(Boolean isDefault) {
16: writeProperty("isDefault", isDefault);
17: }
18:
19: public Boolean getIsDefault() {
20: return (Boolean) readProperty("isDefault");
21: }
22:
23: public void setName(String name) {
24: writeProperty("name", name);
25: }
26:
27: public String getName() {
28: return (String) readProperty("name");
29: }
30:
31: }
|