All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.emc.storageos.model.block.export.UpdateParam Maven / Gradle / Ivy

There is a newer version: 3.5.0.0
Show newest version
/*
 * 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