Search in sources :

Example 1 with ModelInfo

use of cbit.vcell.model.ModelInfo in project vcell by virtualcell.

the class ModelTable method getInfo.

/**
 * This method was created in VisualAge.
 * @return cbit.vcell.geometry.GeometryInfo
 * @param rset java.sql.ResultSet
 * @param log cbit.vcell.server.SessionLog
 */
public VersionInfo getInfo(ResultSet rset, Connection con) throws SQLException, DataAccessException {
    java.math.BigDecimal groupid = rset.getBigDecimal(VersionTable.privacy_ColumnName);
    Version version = getVersion(rset, DbDriver.getGroupAccessFromGroupID(con, groupid));
    String softwareVersion = rset.getString(SoftwareVersionTable.table.softwareVersion.toString());
    return new ModelInfo(version, VCellSoftwareVersion.fromString(softwareVersion));
}
Also used : ModelInfo(cbit.vcell.model.ModelInfo) Version(org.vcell.util.document.Version) VCellSoftwareVersion(org.vcell.util.document.VCellSoftwareVersion)

Aggregations

ModelInfo (cbit.vcell.model.ModelInfo)1 VCellSoftwareVersion (org.vcell.util.document.VCellSoftwareVersion)1 Version (org.vcell.util.document.Version)1