Package com.xpn.xwiki.util
Class AbstractSimpleClass
- java.lang.Object
-
- com.xpn.xwiki.util.AbstractSimpleClass
-
- Direct Known Subclasses:
DeletedAttachment
,XWikiDeletedDocument
,XWikiRCSNodeContent
,XWikiRCSNodeId
,XWikiRCSNodeInfo
@Deprecated public abstract class AbstractSimpleClass extends Object
Deprecated.extending this abstract is a very bad idea since reflection based equals/hashCode/toString is at best very bad for performances and can ends up including things you were not expectingClass withObject.equals(Object)
,Object.hashCode()
andObject.toString()
implemented via commons-lang builders. Useful for extend simple POJO classes.- Since:
- 1.2M1
- Version:
- $Id: 7578b0fbc3221625a8ebb3059e49ad46d9660de4 $
-
-
Constructor Summary
Constructors Constructor Description AbstractSimpleClass()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
equals(Object obj)
Deprecated.int
hashCode()
Deprecated.String
toString()
Deprecated.
-