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

📄 assoc.java

📁 这个weblogging 设计得比较精巧
💻 JAVA
字号:
/* * Created on Jan 13, 2004 */package org.roller.pojos;import org.roller.RollerException;import java.io.Serializable;/** * Interface for hierarchical assocations. * @author David M Johnson */public interface Assoc extends Serializable{    public static final String PARENT = "PARENT";    public static final String GRANDPARENT = "GRANDPARENT";    /** Object that owns this association. */    public HierarchicalPersistentObject getObject();    public void setObject(HierarchicalPersistentObject hpo);        /** Associated object. */    public HierarchicalPersistentObject getAncestor();     public void setAncestor(HierarchicalPersistentObject hpo);         /** Type of relationship, PARENT or GRANDPARENT. */       public String getRelation();        /** Save association. */    public abstract void save() throws RollerException;        /** Remove association. */    public abstract void remove() throws RollerException;}

⌨️ 快捷键说明

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