org.xwiki.extension.wrap
Class AbstractWrappingObject<T>

java.lang.Object
  extended by org.xwiki.extension.wrap.AbstractWrappingObject<T>
Type Parameters:
T - the type of the wrapped object
Direct Known Subclasses:
org.xwiki.extension.internal.safe.AbstractSafeObject, WrappingExtension, WrappingExtensionRepository

public abstract class AbstractWrappingObject<T>
extends Object

Wrap an Object.

Since:
4.0M1
Version:
$Id: d0e883d1d01f35775f910376437bba42c2245658 $

Constructor Summary
AbstractWrappingObject(T wrapped)
           
 
Method Summary
 boolean equals(Object obj)
           
protected  T getWrapped()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractWrappingObject

public AbstractWrappingObject(T wrapped)
Parameters:
wrapped - the wrapped object
Method Detail

getWrapped

protected T getWrapped()
Returns:
the wrapped object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2004-2013 XWiki. All Rights Reserved.