001 package com.croftsoft.apps.wyrm.entity; 002 003 import java.rmi.*; 004 import javax.ejb.*; 005 006 /********************************************************************* 007 * Local interface to User EJB. 008 * 009 * @version 010 * 2002-10-31 011 * @since 012 * 2002-09-30 013 * @author 014 * <a href="http://alumni.caltech.edu/~croft">David Wallace Croft</a> 015 *********************************************************************/ 016 017 public interface UserLocal 018 extends EJBLocalObject 019 ////////////////////////////////////////////////////////////////////// 020 ////////////////////////////////////////////////////////////////////// 021 { 022 023 public Long getId ( ) 024 throws EJBException; 025 026 public String getUsername ( ) 027 throws EJBException; 028 029 public String getPassword ( ) 030 throws EJBException; 031 032 public String getFirstName ( ) 033 throws EJBException; 034 035 public String getMiddleName ( ) 036 throws EJBException; 037 038 public String getLastName ( ) 039 throws EJBException; 040 041 public double getCredits ( ) 042 throws EJBException; 043 044 public PcLocal getPcLocal ( ) 045 throws EJBException; 046 047 // 048 049 public void setPassword ( String password ) 050 throws EJBException; 051 052 public void setFirstName ( String firstName ) 053 throws EJBException; 054 055 public void setMiddleName ( String middleName ) 056 throws EJBException; 057 058 public void setLastName ( String lastName ) 059 throws EJBException; 060 061 public void setCredits ( double credits ) 062 throws EJBException; 063 064 public void setPcLocal ( PcLocal pcLocal ) 065 throws EJBException; 066 067 ////////////////////////////////////////////////////////////////////// 068 ////////////////////////////////////////////////////////////////////// 069 }