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

org.openstack4j.model.common.BaseFilter Maven / Gradle / Ivy

package org.openstack4j.model.common;

import java.util.Map;

import com.google.common.collect.Maps;

/**
 * 
 * Base Filter class for building Filter Request options
 * 
 * @author Jeremy Unruh
 *
 */
public class BaseFilter {

    private Map constraints = Maps.newHashMap();
    
    protected BaseFilter() {
        
    }
    
    protected void filter(String name, Object value) {
        constraints.put(name, value);
    }
    
    public Map getConstraints() {
        return constraints;
    }
    
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy