net.sf.doolin.gui.action.support
Class DataActionContextConverter

java.lang.Object
  extended by net.sf.doolin.gui.action.support.DataActionContextConverter
All Implemented Interfaces:
com.google.common.base.Function<ActionContext,ActionContext>

public class DataActionContextConverter
extends Object
implements com.google.common.base.Function<ActionContext,ActionContext>

Converts an action context to another by getting a property of the original action context data.

Author:
Damien Coraboeuf

Constructor Summary
DataActionContextConverter()
           
 
Method Summary
 ActionContext apply(ActionContext source)
           
 DataFactory<?> getDataFactory()
          Gets the factory for the action context data
 void setDataFactory(DataFactory<?> dataFactory)
          Sets the factory for the action context data
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.google.common.base.Function
equals
 

Constructor Detail

DataActionContextConverter

public DataActionContextConverter()
Method Detail

apply

public ActionContext apply(ActionContext source)
Specified by:
apply in interface com.google.common.base.Function<ActionContext,ActionContext>

getDataFactory

public DataFactory<?> getDataFactory()
Gets the factory for the action context data

Returns:
Factory

setDataFactory

public void setDataFactory(DataFactory<?> dataFactory)
Sets the factory for the action context data

Parameters:
dataFactory - Factory


Copyright © 2011. All Rights Reserved.