sims.mar
Class CommandeRegistre

java.lang.Object
  extended by sims.mar.Commande
      extended by sims.mar.CommandeRegistre
Direct Known Subclasses:
RegistreMoins, RegistrePlus

public abstract class CommandeRegistre
extends Commande

Commande associé à un registre


Constructor Summary
CommandeRegistre(Registre registre, java.lang.String intitule)
           
 
Method Summary
 Registre getRegistre()
           
 
Methods inherited from class sims.mar.Commande
executer, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CommandeRegistre

public CommandeRegistre(Registre registre,
                        java.lang.String intitule)
Parameters:
registre - Registre à associer à la commande
intitule - Intitulé de la commande
Method Detail

getRegistre

public Registre getRegistre()
Returns:
le registre associé à la commande