clientbean.java
来自「EJB+Struts+Webservice实现的开放式基金管理系统」· Java 代码 · 共 202 行
JAVA
202 行
package com.fund.client;
import javax.ejb.EntityBean;
import javax.ejb.EntityContext;
import javax.ejb.CreateException;
import javax.ejb.RemoveException;
import java.sql.Timestamp;
/**
*
* <p>Title: </p>
*
* <p>Description: </p>
*
* <p>Copyright: Copyright (c) 2005</p>
*
* <p>Company: </p>
*
* @author not attributable
* @version 1.0
*/
public abstract class ClientBean implements EntityBean {
/**
* entity context
*/
EntityContext entityContext;
/**
*
* @param clientNo Integer
* @return Integer
* @throws CreateException e
*/
public Integer ejbCreate(Integer clientNo) throws CreateException {
setClientNo(clientNo);
return null;
}
/**
*
* @param clientNo Integer
* @throws CreateException e
*/
public void ejbPostCreate(Integer clientNo) throws CreateException {
}
/**
*
* @throws RemoveException e
*/
public void ejbRemove() throws RemoveException {
}
/**
*
* @param clientNo Integer
*/
public abstract void setClientNo(Integer clientNo);
/**
*
* @return Integer
*/
public abstract Integer getClientNo();
/**
*
* @param clientName String
*/
public abstract void setClientName(String clientName);
/**
*
* @return String
*/
public abstract String getClientName();
/**
*
* @param idCardNo String
*/
public abstract void setIdCardNo(String idCardNo);
/**
*
* @return String
*/
public abstract String getIdCardNo();
/**
*
* @param sex String
*/
public abstract void setSex(String sex);
/**
*
* @return String
*/
public abstract String getSex();
/**
*
* @param phone String
*/
public abstract void setPhone(String phone);
/**
*
* @return String
*/
public abstract String getPhone();
/**
*
* @param address String
*/
public abstract void setAddress(String address);
/**
*
* @return String
*/
public abstract String getAddress();
/**
*
* @param email String
*/
public abstract void setEmail(String email);
/**
*
* @return String
*/
public abstract String getEmail();
/**
*
* @param hobby String
*/
public abstract void setHobby(String hobby);
/**
*
* @return String
*/
public abstract String getHobby();
/**
*
* @param createdDate Timestamp
*/
public abstract void setCreatedDate(Timestamp createdDate);
/**
*
* @return Timestamp
*/
public abstract Timestamp getCreatedDate();
/**
*ejbLoad
*/
public void ejbLoad() {
}
/**
*ejbStore
*/
public void ejbStore() {
}
/**
*ejbActivate
*/
public void ejbActivate() {
}
/**
*ejbPassivate
*/
public void ejbPassivate() {
}
/**
*unsetEntityContext
*/
public void unsetEntityContext() {
this.entityContext = null;
}
/**
*
* @param entityContext EntityContext
*/
public void setEntityContext(EntityContext entityContext) {
this.entityContext = entityContext;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?