⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 timerinfo.java

📁 Oracle的J2EE Sample
💻 JAVA
字号:
/*
 * @author : Pushkala
 * @version 1.0
 *
 * Development Environment : Oracle9i JDeveloper
 *
 * Name of the File : TimerInfo.java
 *
 * Creation / Modification History
 *    Pushkala        23-Jun-2003        Created
 *
 */
package oracle.otnsamples.ibfbs.usermanagement.ejb;

import java.io.Serializable;

/**
 *  This Class encapsulates Timer Information for the Admin User Account.
 *  Whenever Session Facade Bean namely UserManagementSessionFacadeBean, needs
 *  to get the Timer Info for the Admin User Account, the Session Facade
 *  Bean gets this information as TimerInfo value object. 
 *
 */
public class TimerInfo implements Serializable {

  private Integer timerhours;     // Timer hours
  private Integer timerminutes;   // Timer Minutes

  /**
   * Empty Constructor of this Class
   *
   * @since 1.0
   */
  public TimerInfo() {
  }

  /**
   * Constructor with appropriate parameters. Sets the value of instance
   * variables with appropriate values.
   *
   * @param timerhours    Value of timerhours field
   * @param timerminutes  Value of timerminutes field
   * @since 1.0
   */
  public TimerInfo(Integer timerhours, Integer timerminutes) {

    this.timerhours   = timerhours;
    this.timerminutes = timerminutes;

  }

  /**
   * Method to retrieve the value of timerhours field of the timer
   *
   * @return  timerhours
   * @since 1.0
   */
  public Integer getTimerHours() {
    return timerhours;
  }

  /**
   * Assign the timerhours value to timerhours instance variable.
   *
   * @param timerhours TimerHours Value
   * @since 1.0
   */
  public void setTimerHours(Integer timerhours) {
    this.timerhours = timerhours;
  }

  /**
   * Method to retrieve the value of timerminutes field of the timer
   *
   * @return  timerminutes
   * @since 1.0
   */
  public Integer getTimerMinutes() {
    return timerminutes;
  }

  /**
   * Assign the timerminutes value to timerminutes instance variable.
   *
   * @param timerminutes Timer Minutes Value
   * @since 1.0
   */
  public void setTimerMinutes(Integer timerminutes) {
    this.timerminutes = timerminutes;
  }

}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -