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

📄 feedback.java

📁 《Java案例开发》源代码252KB大小
💻 JAVA
字号:
/* * Feedback.java * * Created on 2003年11月5日, 下午9:18 */package romulus;/** * * @author  Romulus * @version 1.0 */public class Feedback implements RomulusNode{        /** The view of the Feedback.*/    private int view = 0;        /** the string ident*/    private String ident = null;        /**the title*/    private String title = null;        /** The content of the Feedback.*/    private Content cont = null;    /** Creates a new instance of Feedback */    Feedback(String ident, int view, String title) throws RomulusException{        if(ident == null){            throw new RomulusException(RomulusException.IdentError);        }        this.view  = View.getView(View.getView(view));        this.ident = ident;        this.title = title;    }    /**set the content*/    void setContent(Content cont){        this.cont = cont;    }        /**get information*/    public String getIdent(){        return ident;    }        public int getView(){        return view;    }        public String getTitle(){        return title;    }        public Content getContent(){        return cont;    }        /** The method used to accept the Visitor to do something. */    public void Accept(Visitor v) throws java.sql.SQLException, RomulusException {        v.VisitFeedback(this);    }    }

⌨️ 快捷键说明

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