/* * EuroCarbDB, a framework for carbohydrate bioinformatics * * Copyright (c) 2006-2009, Eurocarb project, or third-party contributors as * indicated by the @author tags or express copyright attribution * statements applied by the authors. * * This copyrighted material is made available to anyone wishing to use, modify, * copy, or redistribute it subject to the terms and conditions of the GNU * Lesser General Public License, as published by the Free Software Foundation. * A copy of this license accompanies this distribution in the file LICENSE.txt. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License * for more details. * * Last commit: $Rev: 1210 $ by $Author: glycoslave $ on $Date:: 2009-06-12 #$ */ // Generated 22-Aug-2007 16:04:22 by Hibernate Tools 3.1.0.beta4 package org.eurocarbdb.dataaccess.hplc; // stdlib imports import java.io.Serializable; // eurocarb imports import org.eurocarbdb.dataaccess.BasicEurocarbObject; import static org.eurocarbdb.dataaccess.Eurocarb.getEntityManager; /* class MethodRun *//********************************************** * * */ public class MethodRun extends BasicEurocarbObject implements Serializable { //~~~~~~~~~~~~~~~~~~~~~~~~~~ FIELDS ~~~~~~~~~~~~~~~~~~~~~~~~~~~// private int methodRunId; private Profile profile; private Double temperature; private String solventA; private String solventB; private String solventC; private String solventD; private Double flowRate; private String flowGradient; //~~~~~~~~~~~~~~~~~~~~~~~ CONSTRUCTORS ~~~~~~~~~~~~~~~~~~~~~~~~// /** Default constructor. */ public MethodRun() {} /** Minimal constructor */ public MethodRun( Profile profile ) { this.profile = profile; } /** full constructor */ public MethodRun( Profile profile, Double temperature, String solventA, String solventB, String solventC, String solventD, Double flowRate, String flowGradient ) { this.profile = profile; this.temperature = temperature; this.solventA = solventA; this.solventB = solventB; this.solventC = solventC; this.solventD = solventD; this.flowRate = flowRate; this.flowGradient = flowGradient; } //~~~~~~~~~~~~~~~~~~~~~~~~~ METHODS ~~~~~~~~~~~~~~~~~~~~~~~~~~~// /* getMethodRunId *//******************************** * */ public int getMethodRunId() { return this.methodRunId; } /* setMethodRunId *//******************************** * */ public void setMethodRunId( int methodRunId ) { this.methodRunId = methodRunId; } /* getProfile *//******************************** * */ public Profile getProfile() { return this.profile; } /* setProfile *//******************************** * */ public void setProfile( Profile profile ) { this.profile = profile; } /* getTemperature *//******************************** * */ public Double getTemperature() { return this.temperature; } /* setTemperature *//******************************** * */ public void setTemperature( Double temperature ) { this.temperature = temperature; } /* getSolventA *//******************************** * */ public String getSolventA() { return this.solventA; } /* setSolventA *//******************************** * */ public void setSolventA( String solventA ) { this.solventA = solventA; } /* getSolventB *//******************************** * */ public String getSolventB() { return this.solventB; } /* setSolventB *//******************************** * */ public void setSolventB( String solventB ) { this.solventB = solventB; } /* getSolventC *//******************************** * */ public String getSolventC() { return this.solventC; } /* setSolventC *//******************************** * */ public void setSolventC( String solventC ) { this.solventC = solventC; } /* getSolventD *//******************************** * */ public String getSolventD() { return this.solventD; } /* setSolventD *//******************************** * */ public void setSolventD( String solventD ) { this.solventD = solventD; } /* getFlowRate *//******************************** * */ public Double getFlowRate() { return this.flowRate; } /* setFlowRate *//******************************** * */ public void setFlowRate( Double flowRate ) { this.flowRate = flowRate; } /* getFlowGradient *//******************************** * */ public String getFlowGradient() { return this.flowGradient; } /* setFlowGradient *//******************************** * */ public void setFlowGradient( String flowGradient ) { this.flowGradient = flowGradient; } } // end class