customer.java

来自「java编程最好的书籍,感觉对初学者或者中级java人员帮助很大」· Java 代码 · 共 51 行

JAVA
51
字号
package examples;

import javax.ejb.*;

/**
 * These are the business logic methods exposed publicly by CustomerBean.
 *
 * This interface is what local clients operate on when they interact with
 * beans. The container vendor will implement this interface; the
 * implementation object is called the EJB Local Object, which delegates
 * invocations to the actual bean.
 */
public interface Customer extends EJBLocalObject {

	
    /**
     * Returns the Id of the customer.
     */
	public String getCustomerID();
    
    /**
     * Returns the name of the customer.
     */
	public String getName();
    
    /**
     * Sets the name of the customer.
     */
	public void setName(String name);
     
    /**
     * Returns the password of the customer.
     */
	public String getPassword();
    
    /**
     * Sets the password of the customer.
     */
	public void setPassword(String password);
    
    /**
     * Returns the address of the customer.
     */
	public String getAddress();
   
    /**
     * Sets the address of the customer.
     */   
	public void setAddress(String address);
}

⌨️ 快捷键说明

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