Package org.ametys.plugins.repository
Class AbstractAmetysObject
- java.lang.Object
-
- org.ametys.plugins.repository.AbstractAmetysObject
-
- All Implemented Interfaces:
AmetysObject
- Direct Known Subclasses:
CMISRootResourcesCollection,SimpleAmetysObject
public abstract class AbstractAmetysObject extends Object implements AmetysObject
Abstract class forAmetysObject.
-
-
Constructor Summary
Constructors Constructor Description AbstractAmetysObject()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)Two AmetysObjects are equals if and only if their ids are equals.inthashCode()The hashCode of an AmetysObject must be the hashCode of its id.StringtoString()-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.ametys.plugins.repository.AmetysObject
getId, getName, getParent, getParentPath, getPath
-
-
-
-
Constructor Detail
-
AbstractAmetysObject
public AbstractAmetysObject()
-
-
Method Detail
-
equals
public boolean equals(Object obj)
Description copied from interface:AmetysObjectTwo AmetysObjects are equals if and only if their ids are equals.- Specified by:
equalsin interfaceAmetysObject- Overrides:
equalsin classObject
-
hashCode
public int hashCode()
Description copied from interface:AmetysObjectThe hashCode of an AmetysObject must be the hashCode of its id.- Specified by:
hashCodein interfaceAmetysObject- Overrides:
hashCodein classObject
-
-