]> git.mxchange.org Git - jcore.git/blobdiff - src/org/mxchange/jcore/criteria/Criteria.java
Continued with jcore:
[jcore.git] / src / org / mxchange / jcore / criteria / Criteria.java
index a2003ec80403fea5fc8da99d8a574d0ba7ec2a0b..bddd6d0688b9f4c577d055aa86e02156e2523dc3 100644 (file)
@@ -1,5 +1,3 @@
-package org.mxchange.jcore.criteria;
-
 /*
  * Copyright (C) 2015 Roland Haeder
  *
@@ -16,8 +14,10 @@ package org.mxchange.jcore.criteria;
  * 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;
 
 /**
@@ -27,10 +27,32 @@ 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 ();
 }