-package org.mxchange.jcore.criteria;
-
/*
* Copyright (C) 2015 Roland Haeder
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+package org.mxchange.jcore.criteria;
-
+import java.util.Map;
+import java.util.Set;
import org.mxchange.jcore.FrameworkInterface;
/**
*/
public interface Criteria extends FrameworkInterface {
/**
- * Adds a binary criteria
+ * Adds a boolean criteria
*
* @param key Key of criteria
* @param value Value of criteria
*/
public void addCriteria (final String key, final boolean value);
+
+ /**
+ * Adds a string criteria
+ *
+ * @param key Key of criteria
+ * @param value Value of criteria
+ */
+ public void addCriteria (final String key, final String value);
+
+ /**
+ * Gets all values from underlaying map in an iterator.
+ *
+ * @return Values iteratable
+ */
+ public Iterable<Object> values ();
+
+ /**
+ * Gets all entries as a key-value pair
+ *
+ * @return Key-value paira of all entries
+ */
+ public Set<Map.Entry<String, Object>> entrySet ();
}