dbauthorization.java

来自「一套完整的工商12315的源程序jsp部分在12315里,后台JAVA部分在gs」· Java 代码 · 共 31 行

JAVA
31
字号

package com.gs.db.dbimp;

import com.gs.db.Authorization;

/**
 * Database implementation of the Authorization interface.
 */
public final class DbAuthorization implements Authorization {

    private int userID;

    /**
     * Constucts a new DbAuthorization with the specified userID.
     *
     * @param userID the userID to create an authorization token with.
     */
    protected DbAuthorization(int userID) {
        this.userID = userID;
    }

    /**
     * Constructs an <code>AlreadyLoginException</code> with the specified detail message.
     * @param msg the detail message.
     */

    public int getUserID() {
        return userID;
    }
}

⌨️ 快捷键说明

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