com.isima.zz3.advjava.tp1.strategy
Class Strategy2

java.lang.Object
  extended by com.isima.zz3.advjava.tp1.strategy.AStrategy
      extended by com.isima.zz3.advjava.tp1.strategy.Strategy2

public class Strategy2
extends AStrategy

Author:
brunot

Constructor Summary
Strategy2()
           
 
Method Summary
 void execute()
          Exécution de la stratégie 2.
 java.lang.String getParameter()
          Getter of the property parameter_
 void setParameter(java.lang.String parameter_)
          Setter of the property parameter_
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Strategy2

public Strategy2()
Method Detail

execute

public void execute()
Exécution de la stratégie 2. Affiche l'objet courant et son paramètre.

Specified by:
execute in class AStrategy

getParameter

public java.lang.String getParameter()
Getter of the property parameter_

Returns:
Returns the parameter_.

setParameter

public void setParameter(java.lang.String parameter_)
Setter of the property parameter_

Parameters:
parameter_ - The parameter_ to set.