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

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

public class Strategy1
extends AStrategy

Author:
brunot

Constructor Summary
Strategy1()
           
 
Method Summary
 void execute()
          Exécution de la stratégie 1.
 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

Strategy1

public Strategy1()
Method Detail

execute

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

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.