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