com.emc.storageos.model.block.export.UpdateParam Maven / Gradle / Ivy
/*
* Copyright (c) 2015 EMC Corporation
* All Rights Reserved
*/
package com.emc.storageos.model.block.export;
import java.net.URI;
import java.util.Set;
public abstract class UpdateParam {
protected Set add;
protected Set remove;
public abstract Set getAdd();
public abstract Set getRemove();
public boolean hasAdded() {
return (getAdd() != null && !getAdd().isEmpty());
}
public boolean hasRemoved() {
return (getRemove() != null && !getRemove().isEmpty());
}
public boolean hasUpdates() {
return hasAdded() || hasRemoved();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy