contentobject.java

来自「java 写的一个新闻发布系统」· Java 代码 · 共 37 行

JAVA
37
字号
/* Generated by Together */package org.jahia.content;/** * @todo no documentation yet, this is part of the prototype for the new * Jahia content model, documentation will be (hopefully) added later should * this implementation be preserved. * * This class aims to be the main content model class, from which all the other * content classes will derive. It will contain information about version, * locking, language, state (for workflows), references, etc... * @author Serge Huber */public class ContentObject {    public State getState(){            return state;        }    public void setState(State state){            this.state = state;        }    public boolean isLocked(){            return locked;        }    public void setLocked(boolean locked){            this.locked = locked;        }    private State state;    private ObjectKey key;    private ObjectKeySet references;    private boolean locked;}

⌨️ 快捷键说明

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