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

📄 xwikilock.java

📁 xwiki 源码
💻 JAVA
字号:
package com.xpn.xwiki.doc;

import java.util.Date;

/**
 * Created by IntelliJ IDEA.
 * User: Alex
 * Date: 17 mars 2005
 * Time: 15:33:41
 * To change this template use File | Settings | File Templates.
 */
public class XWikiLock extends Object {
    protected String userName;
    protected long docId;
    protected Date date;
    public XWikiLock(long docId, String userName) {
        this.setDocId(docId);
        this.setUserName(userName);
        this.setDate(new Date());
    }

    public XWikiLock()
    {
        this.setDate(null);
        this.setUserName(null);
        this.setDocId(0);
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public long getDocId() {
        return docId;
    }

    public void setDocId(long docId) {
        this.docId = docId;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }
}

⌨️ 快捷键说明

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