001 package com.croftsoft.apps.wyrm.entity; 002 003 import java.rmi.*; 004 import javax.ejb.*; 005 006 /********************************************************************* 007 * Local interface to player character EJB. 008 * 009 * @version 010 * 2002-09-30 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 PcLocal 018 extends EJBLocalObject 019 ////////////////////////////////////////////////////////////////////// 020 ////////////////////////////////////////////////////////////////////// 021 { 022 023 public Long getId ( ) 024 throws EJBException; 025 026 public String getName ( ) 027 throws EJBException; 028 029 public String getState ( ) 030 throws EJBException; 031 032 public long getHealth ( ) 033 throws EJBException; 034 035 public long getWealth ( ) 036 throws EJBException; 037 038 public long getLevel ( ) 039 throws EJBException; 040 041 public long getExperience ( ) 042 throws EJBException; 043 044 // 045 046 public void setName ( String name ) 047 throws EJBException; 048 049 public void setState ( String state ) 050 throws EJBException; 051 052 public void setHealth ( long health ) 053 throws EJBException; 054 055 public void setWealth ( long wealth ) 056 throws EJBException; 057 058 public void setLevel ( long level ) 059 throws EJBException; 060 061 public void setExperience ( long experience ) 062 throws EJBException; 063 064 ////////////////////////////////////////////////////////////////////// 065 ////////////////////////////////////////////////////////////////////// 066 }