Changeset 3959
- Timestamp:
- Nov 13, 2007, 4:30:19 PM (16 years ago)
- Location:
- trunk/src
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/info/net/sf/basedb/info/ArrayDesignInfo.java
r3957 r3959 39 39 implements Serializable 40 40 { 41 private static final long serialVersionUID = 5869031159593261755L; 41 42 private int numDbFeatures = 0; 42 43 private int numFileFeatures = 0; -
trunk/src/info/net/sf/basedb/info/BioAssaySetInfo.java
r3957 r3959 39 39 implements NameableInfo, Serializable 40 40 { 41 private static final long serialVersionUID = -1192040975292178464L; 41 42 private String name; 42 43 private String description; -
trunk/src/info/net/sf/basedb/info/DataFileTypeInfo.java
r3957 r3959 40 40 implements NameableInfo, Serializable 41 41 { 42 private static final long serialVersionUID = 4331580958109079719L; 42 43 private String externalId = null; 43 44 private String extension = null; -
trunk/src/info/net/sf/basedb/info/ExperimentInfo.java
r3957 r3959 42 42 implements Serializable 43 43 { 44 private static final long serialVersionUID = 7973320584668351841L; 44 45 private String abstractText = null; 45 46 private String affiliations = null; -
trunk/src/info/net/sf/basedb/info/ProjectInfo.java
r3957 r3959 39 39 implements Serializable, NameableInfo 40 40 { 41 private static final long serialVersionUID = -4415516272028020474L; 41 42 private String description; 42 43 private String name; -
trunk/src/info/net/sf/basedb/info/RawBioAssayInfo.java
r3957 r3959 40 40 { 41 41 42 private static final long serialVersionUID = 2573863131262198133L; 42 43 private int arrayDesignId = 0; 43 44 private int platformId = 0; -
trunk/src/webservices/client/java/net/sf/basedb/ws/client/SessionClient.java
r3876 r3959 129 129 invokeBlocking("refreshSession", ID); 130 130 } 131 132 /** 133 @return schema version as an int 134 @throws AxisFault 135 */ 136 public int getSchemaVersion() 137 throws AxisFault 138 { 139 return invokeBlocking("getSchemaVersion", Integer.class); 140 } 141 142 /** 143 @return An string array with length of 4 144 @throws AxisFault 145 */ 146 public String[] getVersion() 147 throws AxisFault 148 { 149 return invokeBlocking("getVersion", String[].class); 150 } 131 151 } -
trunk/src/webservices/server/net/sf/basedb/ws/server/SessionService.java
r3908 r3959 26 26 import net.sf.basedb.core.Application; 27 27 import net.sf.basedb.core.SessionControl; 28 import net.sf.basedb.core.Version; 28 29 29 30 /** … … 107 108 sc.updateLastAccess(); 108 109 } 110 111 /** 112 Gets the current schema version of the database 113 on the Base server. 114 @return SchemaVersion as an integer. 115 */ 116 public int getSchemaVersion() 117 { 118 return Application.getSchemaVersion(); 119 } 120 121 /** 122 Return information about which Base version is in use. 123 The returned array has 4 strings, 124 <ol> 125 <li>Major version.</li> 126 <li>Minor version.</li> 127 <li>MaintenanceVersion.</li> 128 <li>Build number</li> 129 </ol> 130 @return An array with version information. 131 */ 132 public String[] getVersion() 133 { 134 String[] version = new String[4]; 135 version[0] = Application.getMajorVersion(); 136 version[1] = Application.getMinorVersion(); 137 version[2] = Application.getMaintenanceVersion(); 138 version[3] = Integer.toString(Application.getBuild()); 139 return version; 140 } 109 141 }
Note: See TracChangeset
for help on using the changeset viewer.