1 56 57 package org.objectstyle.cayenne.map; 58 59 64 public abstract class Attribute extends MapObject { 65 66 public Attribute() { 67 super(); 68 } 69 70 73 public Attribute(String name) { 74 super(name); 75 } 76 77 78 public Entity getEntity() { 79 return (Entity) getParent(); 80 } 81 82 83 public void setEntity(Entity entity) { 84 setParent(entity); 85 } 86 } 87 | Popular Tags |