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

com.cherokeesoft.db.utils.update.DefineCondition Maven / Gradle / Ivy

There is a newer version: 1.8.29
Show newest version
package com.cherokeesoft.db.utils.update;

import java.util.Set;

public class DefineCondition {
    private final Set fieldsForUpdate;

    public DefineCondition(MapSerialisable mapSerialisable) {
        this(mapSerialisable.getRawMapRequest().keySet());
    }

    public DefineCondition(Set fieldsForUpdate) {
        this.fieldsForUpdate = fieldsForUpdate;
    }

    public boolean defined(String name) {
        return fieldsForUpdate.contains(name);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy