movie.java
来自「Thinking in Java 是学习JAVA的经典教材」· Java 代码 · 共 24 行
JAVA
24 行
// From 'Thinking in Java, 3rd ed.' (c) Bruce Eckel 2002
// www.BruceEckel.com. See copyright notice in CopyRight.txt.
package javatheater.ejb;
import javax.ejb.*;
import java.rmi.RemoteException;
/**
* A movie, with id and title.
*
* <b><font color="red" size="+1">TODO:
* Additional description is required</font></b>
* <p>
* Note that there is no setId() method in the
* interface, to prevent clients from arbitrarily
* changing a movie's primary key.
*/
public interface Movie extends EJBObject {
public Integer getId() throws RemoteException;
public String getTitle() throws RemoteException;
public void setTitle(String title)
throws RemoteException;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?