ShelfViewController.java :  » App » learnandroid » com » lgnortel » r4 » r4equipment » shelf » Android Open Source

Android Open Source » App » learnandroid 
learnandroid » com » lgnortel » r4 » r4equipment » shelf » ShelfViewController.java
package com.lgnortel.r4.r4equipment.shelf;


/**
 * Copyright (c) 2008 LG-Nortel, Inc. All Rights Reserved.
 *
 * CONFIDENTIALITY AND LIMITED USE: This software, including any software of <br>
 * third parties embodied herein, contains code, information, data and concepts <br>
 * which are confidential and/or proprietary to LG-Nortel and such third <br>
 * parties. This software is licensed for use solely in accordance with the <br>
 * terms and conditions of the applicable license agreement with LG-Nortel or <br>
 * its authorized distributor, and not for any other use or purpose. No <br>
 * redistribution of this software by any party is permitted. <br>
 *
 * Title: ShelfViewController.java<br>
 * Description: This class defines the controller to display the command window.<br>
 * Copyright: Copyright(c) 2009 LG-NORTEL ALL Rights Reserved<br>
 * Company: LG-Nortel<br>
 *
 * @author Jonghwa, Lee
 * @version 0.1
 * @created 2009. 1. 21.
 * @modified 2009. 1. 21.
 * @product EFA R4.0 EMS
 * @sw_block client block
 */
public class ShelfViewController {

  int neId;
  int shelfId;

  /**
   * Constructor
   *
   * @param nodeIdLocal
   *            nodeId
   * @param shelfIdLocal
   *            shelfId
   */
  public ShelfViewController(int nodeIdLocal, int shelfIdLocal) {
    this.neId = nodeIdLocal;
    this.shelfId = shelfIdLocal;
  }

  /**
   * Set the nodeId, shelfId parameter
   *
   * @param nodeIdLocal
   *            nodeId
   * @param shelfIdLocal
   *            shelfId
   */
  public void setNodeId(int nodeIdLocal, int shelfIdLocal) {
    this.neId = nodeIdLocal;
    this.shelfId = shelfIdLocal;
  }

  /**
   * Return the current shelf ID
   *
   * @return shelfId
   */
  public int getCurrentShelfId() {
    return this.shelfId;
  }
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.