Student.java
资源名称:某公司的java培训教材 [点击查看]
上传用户:dinglihq
上传日期:2013-02-04
资源大小:99958k
文件大小:1k
源码类别:
Java编程
开发平台:
Java
- package cmpsample;
- import javax.ejb.*;
- import java.util.*;
- public interface Student extends javax.ejb.EJBLocalObject {
- public String getStudentID();
- public void setFirstname(String firstname);
- public String getFirstname();
- public void setLastname(String lastname);
- public String getLastname();
- public void setRoster(Collection roster);
- public void addRoster(Roster roster);
- //public Collection getRoster(); this will result transaction excpetion
- public void setAddress(Collection address);
- public void addAddress(Address address);
- public ArrayList getAddressList();
- public ArrayList getRosterList();
- }