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 boolean
equals(Object obj)
Two AmetysObjects are equals if and only if their ids are equals.int
hashCode()
The hashCode of an AmetysObject must be the hashCode of its id.String
toString()
-
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:AmetysObject
Two AmetysObjects are equals if and only if their ids are equals.- Specified by:
equals
in interfaceAmetysObject
- Overrides:
equals
in classObject
-
hashCode
public int hashCode()
Description copied from interface:AmetysObject
The hashCode of an AmetysObject must be the hashCode of its id.- Specified by:
hashCode
in interfaceAmetysObject
- Overrides:
hashCode
in classObject
-
-