1 56 package org.objectstyle.cayenne.wocompat; 57 58 import org.objectstyle.cayenne.map.ObjAttribute; 59 import org.objectstyle.cayenne.map.ObjEntity; 60 61 67 public class EOObjAttribute extends ObjAttribute { 68 69 protected boolean readOnly; 71 72 73 public EOObjAttribute() { 74 super(); 75 } 76 77 78 public EOObjAttribute(String name) { 79 super(name); 80 } 81 82 83 public EOObjAttribute(String name, String type, ObjEntity entity) { 84 super(name, type, entity); 85 } 86 87 88 92 public void setReadOnly(boolean readOnly) { 93 this.readOnly = readOnly; 94 } 95 96 100 public boolean getReadOnly() { 101 return readOnly; 102 } 103 104 } 105 | Popular Tags |