net.sf.magicproject.action.context
Class Wrapper<T>

java.lang.Object
  extended by net.sf.magicproject.action.context.Wrapper<T>
Type Parameters:
T - The type of wrapped object.
All Implemented Interfaces:
ActionContext

public class Wrapper<T>
extends java.lang.Object
implements ActionContext

Since:
0.86
Author:
Fabrice Daugan

Constructor Summary
Wrapper()
          Create a new instance of this class.
 
Method Summary
 T getObject()
          Return the wrapped object.
 void setObject(T object)
          Set the wrapped object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Wrapper

public Wrapper()
Create a new instance of this class.

Method Detail

getObject

public T getObject()
Return the wrapped object.

Returns:
the wrapped object.

setObject

public void setObject(T object)
Set the wrapped object.

Parameters:
object - the wrapped object.


Copyright © 2003-2007 Magic-Project. All Rights Reserved.