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

📄 simplelogevent.java

📁 日志组件,添加到应用中,可在数据库中查询日志
💻 JAVA
字号:
package com.gisinfo.test;

import com.gisinfo.common.log.LogEvent;

/**
 * User: Ken
 * Date: 2008-5-22
 * Time: 9:05:07
 */
public class SimpleLogEvent extends LogEvent {
    private String who;                  // 谁
    private String where;                //在什么地方
    private String toWho;                //对谁
    private String doWhat;               //做了什么事情
    private String systemName;          //所属系统


    public String toString() {
        return super.toString() + "SimpleLogEvent{" +
                "who='" + who + '\'' +
                ", where='" + where + '\'' +
                ", toWho='" + toWho + '\'' +
                ", doWhat='" + doWhat + '\'' +
                ", systemName='" + systemName + '\'' +
                '}';
    }

    public SimpleLogEvent(String who, String where, String toWho, String doWhat, String systemName, String description) {
        this.who = who;
        this.where = where;
        this.toWho = toWho;
        this.doWhat = doWhat;
        this.systemName = systemName;
        this.description = description;
    }

    public String getWho() {
        return who;
    }

    public void setWho(String who) {
        this.who = who;
    }

    public String getWhere() {
        return where;
    }

    public void setWhere(String where) {
        this.where = where;
    }

    public String getToWho() {
        return toWho;
    }

    public void setToWho(String toWho) {
        this.toWho = toWho;
    }

    public String getDoWhat() {
        return doWhat;
    }

    public void setDoWhat(String doWhat) {
        this.doWhat = doWhat;
    }

    public String getSystemName() {
        return systemName;
    }

    public void setSystemName(String systemName) {
        this.systemName = systemName;
    }
}

⌨️ 快捷键说明

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