Class CollectionRestEqualityUtils


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

      • CollectionRestEqualityUtils

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