- Timestamp:
- 08/07/09 17:35:44 (3 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/picr/src/org/bridgedb/webservice/picr/IDMapperPicr.java
r132 r148 46 46 } 47 47 48 private finalboolean onlyActive;48 private boolean onlyActive; 49 49 50 50 private Set<DataSource> supportedDatabases = new HashSet<DataSource>(); 51 51 private PICRClient client; 52 53 IDMapperPicr(boolean onlyActive) 52 53 /** 54 * 55 * @param onlyActive using only active mappings if true 56 */ 57 public IDMapperPicr(boolean onlyActive) 54 58 { 55 59 client = new PICRClient(); … … 60 64 this.onlyActive = onlyActive; 61 65 } 62 63 private static class Driver implements org.bridgedb.Driver 66 67 /** 68 * 69 * @return true if using only active mappings; false otherwise 70 */ 71 public boolean getOnlyActive() { 72 return onlyActive; 73 } 74 75 /** 76 * 77 * @param onlyActive using only active mappings if true 78 */ 79 public void setOnlyActive(boolean onlyActive) { 80 this.onlyActive = onlyActive; 81 } 82 83 private static class Driver implements org.bridgedb.Driver 64 84 { 65 85 private Driver() { } // prevent outside instantiation
