1 22 23 package org.jboss.resource.deployment.ds.metadata; 24 25 import java.io.Serializable ; 26 27 33 public class DataSourceMetaData extends ConnectionFactoryMetaData implements Serializable 34 { 35 36 37 private static final long serialVersionUID = -4967815924503581246L; 38 39 40 private String connectionUrl; 41 42 43 private String driverClass; 44 45 46 private String userName; 47 48 49 private String passWord; 50 51 private boolean isSameRM; 52 53 54 private String typeMapping; 55 56 57 58 private AvailabilitySupportMetaData availabilitySupport = AvailabilitySupportMetaData.NONE; 59 60 61 private SqlSupportMetaData sqlSupport; 62 63 public SqlSupportMetaData getSqlSupportMetaData() 64 { 65 66 return sqlSupport; 67 68 } 69 70 public void setSqlSupportMetaData(SqlSupportMetaData smd) 71 { 72 73 this.sqlSupport = smd; 74 75 } 76 77 public SqlSupportMetaData getSqlSupport() 78 { 79 return sqlSupport; 80 } 81 82 public void setSqlSupport(SqlSupportMetaData sqlSupport) 83 { 84 this.sqlSupport = sqlSupport; 85 } 86 87 public String getConnectionUrl() 88 { 89 return connectionUrl; 90 } 91 92 public void setConnectionUrl(String connectionUrl) 93 { 94 this.connectionUrl = connectionUrl; 95 } 96 97 public String getDriverClass() 98 { 99 return driverClass; 100 } 101 102 public void setDriverClass(String driverClass) 103 { 104 this.driverClass = driverClass; 105 } 106 107 public String getPassWord() 108 { 109 return passWord; 110 } 111 112 public void setPassWord(String passWord) 113 { 114 this.passWord = passWord; 115 } 116 117 public String getUserName() 118 { 119 return userName; 120 } 121 122 public void setUserName(String userName) 123 { 124 this.userName = userName; 125 } 126 127 public void setSameRMOverride(boolean override) 128 { 129 this.isSameRM = override; 130 131 } 132 133 public boolean getSameRMOverrid() 134 { 135 return this.isSameRM; 136 137 } 138 139 144 public AvailabilitySupportMetaData getAvailabilitySupport() 145 { 146 return availabilitySupport; 147 } 148 149 154 public void setAvailabilitySupport(AvailabilitySupportMetaData availability) 155 { 156 this.availabilitySupport = availability; 157 } 158 159 public String getTypeMapping() 160 { 161 return typeMapping; 162 } 163 164 public void setTypeMapping(String typeMapping) 165 { 166 this.typeMapping = typeMapping; 167 } 168 169 170 } 171 | Popular Tags |