Class CommunityRestEqualityUtils


  • @Component
    public class CommunityRestEqualityUtils
    extends DSpaceObjectRestEqualityUtils
    This class will contain methods that can define in what way CommunityRest objects are equal
    • Constructor Detail

      • CommunityRestEqualityUtils

        public CommunityRestEqualityUtils()
    • 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 object
        updated - The CommunityRest object that has to be checked for equality
        Returns:
        A boolean indicating whether they're equal or not