Package org.dspace.app.rest.utils
Class CollectionRestEqualityUtils
- java.lang.Object
-
- org.dspace.app.rest.utils.DSpaceObjectRestEqualityUtils
-
- org.dspace.app.rest.utils.CollectionRestEqualityUtils
-
@Component public class CollectionRestEqualityUtils extends DSpaceObjectRestEqualityUtils
This class will contain methods that can define in what way CollectionRest objects are equal
-
-
Constructor Summary
Constructors Constructor Description CollectionRestEqualityUtils()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisCollectionRestEqualWithoutMetadata(CollectionRest original, CollectionRest updated)This method will return a boolean indicating whether the given CollectionRest objects are equal through comparing their attributes-
Methods inherited from class org.dspace.app.rest.utils.DSpaceObjectRestEqualityUtils
isDSpaceObjectEqualsWithoutMetadata
-
-
-
-
Method Detail
-
isCollectionRestEqualWithoutMetadata
public boolean isCollectionRestEqualWithoutMetadata(CollectionRest original, CollectionRest updated)
This method will return a boolean indicating whether the given CollectionRest objects are equal through comparing their attributes- Parameters:
original- The original CollectionRest objectupdated- The CollectionRest object that has to be checked for equality- Returns:
- A boolean indicating whether they're equal or not
-
-