1 22 package org.jboss.ejb3.metamodel; 23 24 25 31 public class CacheConfig 32 { 33 private String cacheClass = null; 34 private String maxSize = null; 35 private String idleTimeoutSeconds = null; 36 private String name = null; 37 private String persistenceManager = null; 38 39 public String getPersistenceManager() 40 { 41 return persistenceManager; 42 } 43 44 public void setPersistenceManager(String persistenceManager) 45 { 46 this.persistenceManager = persistenceManager; 47 } 48 49 public String getCacheClass() 50 { 51 return cacheClass; 52 } 53 54 public void setCacheClass(String cacheClass) 55 { 56 this.cacheClass = cacheClass; 57 } 58 59 public String getMaxSize() 60 { 61 return maxSize; 62 } 63 64 public void setMaxSize(String maxSize) 65 { 66 this.maxSize = maxSize; 67 } 68 69 public String getIdleTimeoutSeconds() 70 { 71 return idleTimeoutSeconds; 72 } 73 74 public void setIdleTimeoutSeconds(String idleTimeoutSeconds) 75 { 76 this.idleTimeoutSeconds = idleTimeoutSeconds; 77 } 78 79 public String getName() 80 { 81 return name; 82 } 83 84 public void setName(String name) 85 { 86 this.name = name; 87 } 88 89 public String toString() 90 { 91 StringBuffer sb = new StringBuffer (100); 92 sb.append("["); 93 sb.append("cacheClass=").append(cacheClass); 94 sb.append(", maxSize=").append(maxSize); 95 sb.append(", idleTimeoutSeconds=").append(idleTimeoutSeconds); 96 sb.append(", name=").append(name); 97 sb.append("]"); 98 return sb.toString(); 99 } 100 101 } 102 | Popular Tags |