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

📄 executiveposition.java

📁 一套完整的工商12315的源程序jsp部分在12315里,后台JAVA部分在gs12315src里,没有打包数据库.
💻 JAVA
字号:
/*
 * ExecutivePosition.java
 *
 * Created on 2001年7月13日, 上午8:43
 */

package com.gs.db;

/**
 * An ExecutivePosition object holds the infomation of a position
 * in an enterprise organization hierachy. A position consists of
 * two elements : the unit  and the priority rank in the unit
 * @see Unit ,  Group
 * @author  administrator
 * @version
 */
public class ExecutivePosition extends java.lang.Object {

    private String unitID="-1";
    private int priorityRank=0;
    private ProfileManager profileManager;

    /** Creates new ExecutivePosition */
    public ExecutivePosition(String unitID, int prRank, ProfileManager profileManager) {
        this.unitID = unitID;
        if (prRank >=0 ) this.priorityRank = prRank;
        this.profileManager = profileManager;
    }

    /**
     * Return a which unit that the position belongs to
     */
    public Unit getUnit( ) throws UnitNotFoundException
    {
            return   profileManager.getUnit( unitID );
    }

    /**
     * Return the priority rank of the position
     */
    public int getPriorityRank( )
    {
        return priorityRank;
    }
}

⌨️ 快捷键说明

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