1 19 package org.apache.cayenne.jpa.map; 20 21 import org.apache.cayenne.util.TreeNodeChild; 22 23 26 public class JpaPersistenceUnitDefaults { 27 28 protected String schema; 29 protected String catalog; 30 protected AccessType access; 31 protected boolean cascadePersist; 32 protected JpaEntityListeners entityListeners; 33 34 @TreeNodeChild 35 public JpaEntityListeners getEntityListeners() { 36 return entityListeners; 37 } 38 39 public void setEntityListeners(JpaEntityListeners entityListeners) { 40 this.entityListeners = entityListeners; 41 } 42 43 public AccessType getAccess() { 44 return access; 45 } 46 47 public void setAccess(AccessType access) { 48 this.access = access; 49 } 50 51 public boolean isCascadePersist() { 52 return cascadePersist; 53 } 54 55 public void setCascadePersist(boolean cascadePersist) { 56 this.cascadePersist = cascadePersist; 57 } 58 59 public String getCatalog() { 60 return catalog; 61 } 62 63 public void setCatalog(String catalog) { 64 this.catalog = catalog; 65 } 66 67 public String getSchema() { 68 return schema; 69 } 70 71 public void setSchema(String schema) { 72 this.schema = schema; 73 } 74 } 75 | Popular Tags |