org.xwiki.extension.wrap
Class AbstractWrappingObject<T>
java.lang.Object
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 $
AbstractWrappingObject
public AbstractWrappingObject(T wrapped)
- Parameters:
wrapped - the wrapped object
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.