risiko.common.interfaces
Interface Spieler

All Superinterfaces:
java.rmi.Remote, java.io.Serializable

public interface Spieler
extends java.rmi.Remote, java.io.Serializable

Interface zum Valueobject

Version:
2009-07-01
Author:
dgrosche

Method Summary
 void addKarte(int karte)
           
 int getAnzLaender()
           
 java.util.Vector<java.lang.Integer> getKarten()
           
 int getKartenBonus()
           
 Mission getMission()
           
 java.lang.String getName()
           
 int getNummer()
           
 boolean isDran()
           
 void setAnzLaender(int anzLaender)
           
 void setDran(boolean dran)
           
 void setKartenBonus(int i)
           
 void setMission(Mission mission)
           
 void setName(java.lang.String name)
           
 

Method Detail

setName

void setName(java.lang.String name)
             throws java.rmi.RemoteException
Parameters:
name - the name to set
Throws:
java.rmi.RemoteException

getName

java.lang.String getName()
                         throws java.rmi.RemoteException
Returns:
the name
Throws:
java.rmi.RemoteException

setAnzLaender

void setAnzLaender(int anzLaender)
                   throws java.rmi.RemoteException
Parameters:
anzLaender - the anzLaender to set
Throws:
java.rmi.RemoteException

getAnzLaender

int getAnzLaender()
                  throws java.rmi.RemoteException
Returns:
the anzLaender
Throws:
java.rmi.RemoteException

addKarte

void addKarte(int karte)
              throws java.rmi.RemoteException
Parameters:
karte - the karte to add
Throws:
java.rmi.RemoteException

getKarten

java.util.Vector<java.lang.Integer> getKarten()
                                              throws java.rmi.RemoteException
Returns:
the karten
Throws:
java.rmi.RemoteException

setKartenBonus

void setKartenBonus(int i)
                    throws java.rmi.RemoteException
Parameters:
i - the kartenBonus to set
Throws:
java.rmi.RemoteException

getKartenBonus

int getKartenBonus()
                   throws java.rmi.RemoteException
Returns:
the kartenBonus
Throws:
java.rmi.RemoteException

setMission

void setMission(Mission mission)
                throws java.rmi.RemoteException
Parameters:
mission - the mission to set
Throws:
java.rmi.RemoteException

getMission

Mission getMission()
                   throws java.rmi.RemoteException
Returns:
the mission
Throws:
java.rmi.RemoteException

setDran

void setDran(boolean dran)
             throws java.rmi.RemoteException
Parameters:
dran - the dran to set
Throws:
java.rmi.RemoteException

isDran

boolean isDran()
               throws java.rmi.RemoteException
Returns:
the dran
Throws:
java.rmi.RemoteException

getNummer

int getNummer()
              throws java.rmi.RemoteException
Returns:
the nummer
Throws:
java.rmi.RemoteException