1 2 12 package com.versant.core.server; 13 14 import java.io.Serializable ; 15 16 21 public class DataStoreInfo implements Serializable { 22 23 private String name; 24 private String dataStoreType; 25 private boolean autoIncSupported; 26 private boolean scrollableResultSetSupported; 27 private String selectForUpdate; 28 private boolean jdbc; 29 private int majorVersion; 30 private boolean preparedStatementPoolingOK; 31 private int inheritance; 32 private int defaultClassId; 33 private boolean dataSource; 34 35 public DataStoreInfo() { 36 } 37 38 public String getName() { 39 return name; 40 } 41 42 public void setName(String name) { 43 this.name = name; 44 } 45 46 49 public String getDataStoreType() { 50 return dataStoreType; 51 } 52 53 public void setDataStoreType(String dataStoreType) { 54 this.dataStoreType = dataStoreType; 55 } 56 57 public boolean isAutoIncSupported() { 58 return autoIncSupported; 59 } 60 61 public void setAutoIncSupported(boolean autoIncSupported) { 62 this.autoIncSupported = autoIncSupported; 63 } 64 65 public boolean isScrollableResultSetSupported() { 66 return scrollableResultSetSupported; 67 } 68 69 public void setScrollableResultSetSupported( 70 boolean scrollableResultSetSupported) { 71 this.scrollableResultSetSupported = scrollableResultSetSupported; 72 } 73 74 public String getSelectForUpdate() { 75 return selectForUpdate; 76 } 77 78 public void setSelectForUpdate(String selectForUpdate) { 79 this.selectForUpdate = selectForUpdate; 80 } 81 82 public boolean isJdbc() { 83 return jdbc; 84 } 85 86 public void setJdbc(boolean jdbc) { 87 this.jdbc = jdbc; 88 } 89 90 public boolean isDataSource() { 91 return dataSource; 92 } 93 94 public void setDataSource(boolean dataSource) { 95 this.dataSource = dataSource; 96 } 97 98 public int getMajorVersion() { 99 return majorVersion; 100 } 101 102 public void setMajorVersion(int majorVersion) { 103 this.majorVersion = majorVersion; 104 } 105 106 public boolean isPreparedStatementPoolingOK() { 107 return preparedStatementPoolingOK; 108 } 109 110 public void setPreparedStatementPoolingOK( 111 boolean preparedStatementPoolingOK) { 112 this.preparedStatementPoolingOK = preparedStatementPoolingOK; 113 } 114 115 public int getInheritance() { 116 return inheritance; 117 } 118 119 public void setInheritance(int inheritance) { 120 this.inheritance = inheritance; 121 } 122 123 public int getDefaultClassId() { 124 return defaultClassId; 125 } 126 127 public void setDefaultClassId(int defaultClassId) { 128 this.defaultClassId = defaultClassId; 129 } 130 131 } 132 | Popular Tags |