Updated masked handling in Match interface and MatchBuilder
diff --git a/java_gen/pre-written/src/main/java/org/openflow/protocol/match/MatchBuilder.java b/java_gen/pre-written/src/main/java/org/openflow/protocol/match/MatchBuilder.java
index fc4c07a..4372e30 100644
--- a/java_gen/pre-written/src/main/java/org/openflow/protocol/match/MatchBuilder.java
+++ b/java_gen/pre-written/src/main/java/org/openflow/protocol/match/MatchBuilder.java
@@ -1,13 +1,16 @@
package org.openflow.protocol.match;
+import org.openflow.types.Masked;
import org.openflow.types.OFValueType;
public interface MatchBuilder extends Match {
- public <F extends OFValueType<F>> MatchBuilder set(MatchField<F> field, F value);
-
- public <F extends OFValueType<F>> MatchBuilder unset(MatchField<F> field);
+ public <F extends OFValueType<F>> MatchBuilder setExact(MatchField<F> field, F value);
- //public <M> void setMasked(MatchField<?, M> match, M value);
+ public <F extends OFValueType<F>> MatchBuilder setMasked(MatchField<F> field, F value, F mask);
+ public <F extends OFValueType<F>> MatchBuilder setMasked(MatchField<F> field, Masked<F> valueWithMask);
+
+ public <F extends OFValueType<F>> MatchBuilder wildcard(MatchField<F> field);
+
public Match getMatch();
}