Package org.dspace.app.rest.utils
Class CollectionRestEqualityUtils
java.lang.Object
org.dspace.app.rest.utils.DSpaceObjectRestEqualityUtils
org.dspace.app.rest.utils.CollectionRestEqualityUtils
This class will contain methods that can define in what way CollectionRest objects are equal
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisCollectionRestEqualWithoutMetadata(CollectionRest original, CollectionRest updated) This method will return a boolean indicating whether the given CollectionRest objects are equal through comparing their attributesMethods inherited from class org.dspace.app.rest.utils.DSpaceObjectRestEqualityUtils
isDSpaceObjectEqualsWithoutMetadata
-
Constructor Details
-
CollectionRestEqualityUtils
public CollectionRestEqualityUtils()
-
-
Method Details
-
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
-