Revision 46338 trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.dal/org.gvsig.fmap.dal.db/org.gvsig.fmap.dal.db.jdbc/src/main/java/org/gvsig/fmap/dal/store/jdbc/JDBCServerExplorerParameters.java
JDBCServerExplorerParameters.java | ||
---|---|---|
23 | 23 |
*/ |
24 | 24 |
package org.gvsig.fmap.dal.store.jdbc; |
25 | 25 |
|
26 |
import org.apache.commons.lang3.StringUtils; |
|
27 |
import org.gvsig.fmap.dal.DataServerExplorerParameters; |
|
26 | 28 |
import org.gvsig.fmap.dal.serverexplorer.db.DBServerExplorerParameters; |
27 | 29 |
|
28 | 30 |
public class JDBCServerExplorerParameters extends |
... | ... | |
93 | 95 |
} |
94 | 96 |
} |
95 | 97 |
|
98 |
@Override |
|
99 |
public boolean isTheSameServerExplorer(DataServerExplorerParameters params) { |
|
100 |
if(!(params instanceof JDBCServerExplorerParameters)){ |
|
101 |
return false; |
|
102 |
} |
|
103 |
return StringUtils.equals(this.getUrl(), ((JDBCServerExplorerParameters)params).getUrl()); |
|
104 |
} |
|
105 |
|
|
96 | 106 |
} |
Also available in: Unified diff