📄 songimpl.java
字号:
package song;// $Id: song.SongImpl.java,v 1.2 2002/07/18 09:08:03 per_nyfelt Exp $import org.ozoneDB.*;/** * The implementation of the database object song.Song * * @version $Revision: 1.2 $ $Date: 2002/07/18 09:08:03 $ * @author James Stiefel */public class SongImpl extends OzoneObject implements Song { /** * The serialization version id used by the Java serialization. */ final static long serialVersionUID = 1L; String m_title = new String(); String m_author = new String(); String m_copyright = new String(); String m_publisher = new String(); /** * Sets the value of Title * * @param title */ public void setTitle (String title){ m_title = title; } /** * Retrieves the value of Title * * @return the value of Title */ public String getTitle (){ return m_title; } /** * Sets the value of Author * * @param author */ public void setAuthor (String author){ m_author = author; } /** * Retrieves the value of Author * * @return the value of Author */ public String getAuthor (){ return m_author; } /** * Sets the value of Copyright * * @param copyright */ public void setCopyright (String copyright){ m_copyright = copyright; } /** * Retrieves the value of Copyright * * @return the value of Copyright */ public String getCopyright (){ return m_copyright; } /** * Sets the value of Publisher * * @param publisher */ public void setPublisher (String publisher){ m_publisher = publisher; } /** * Retrieves the value of Publisher * * @return the value of Publisher */ public String getPublisher (){ return m_publisher; }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -