Subversion Repositories DevTools

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
4285 dpurdie 1
package com.erggroup.buildtool.ripple;
2
import org.apache.log4j.Logger;
3
 
4
/**Representation of a row in the RUN_LEVEL table
5
 */
6
public class RunLevelData
7
{
8
  int mRcon_id;
9
  int mCurrent_run_level;
10
 
11
  /**Logger
12
   * @attribute
13
   */
14
  private static final Logger mLogger = Logger.getLogger(RunLevelData.class);
15
 
16
	/**constructor
17
   */
18
  RunLevelData(int rcon_id, int current_run_level)
19
  {
20
    mLogger.debug("RunLevel");
21
    mRcon_id = rcon_id;
22
    mCurrent_run_level = current_run_level;
23
  }
24
 
25
  /**accessor method
26
   */
27
  public int get_rcon_id()
28
  {
29
    mLogger.debug("get_rcon_id");
30
    mLogger.info("get_rcon_id returned " + mRcon_id);
31
    return mRcon_id;
32
  }
33
 
34
  /**accessor method
35
   */
36
  public int get_current_run_level()
37
  {
38
    mLogger.debug("get_current_run_level");
39
    mLogger.info("get_current_run_level returned " + mCurrent_run_level);
40
    return mCurrent_run_level;
41
  }
42
 
43
}