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

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

public class Context
extends java.lang.Object

Author:
brunot

Constructor Summary
Context()
           
 
Method Summary
 AStrategy getStrategy()
          Getter of the property strategy_
 void operation()
          Opération principale du contexte.
 void setStrategy(AStrategy strategy)
          Setter of the property strategy_
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Context

public Context()
Method Detail

operation

public void operation()
Opération principale du contexte.


getStrategy

public AStrategy getStrategy()
Getter of the property strategy_

Returns:
Returns the strategy_.

setStrategy

public void setStrategy(AStrategy strategy)
Setter of the property strategy_

Parameters:
strategy - The strategy_ to set.