commit | c281360902ac0b636aa96e2ac0f70978490d5f13 | [log] [tgz] |
---|---|---|
author | Yotam Harchol <yotam.harchol@bigswitch.com> | Tue Aug 20 12:14:22 2013 -0700 |
committer | Yotam Harchol <yotam.harchol@bigswitch.com> | Tue Aug 20 12:14:22 2013 -0700 |
tree | d4ca98db2ece3cb60889d138391fd205aaa177ef | |
parent | a8b9bd3bece26b7e405c16085a36654d31a01d0c [diff] [blame] |
Added FULL_MASK, NO_MASK constant values for each value type.
diff --git a/java_gen/pre-written/src/main/java/org/openflow/types/VlanVid.java b/java_gen/pre-written/src/main/java/org/openflow/types/VlanVid.java index e36a5dd..f64f4e4 100644 --- a/java_gen/pre-written/src/main/java/org/openflow/types/VlanVid.java +++ b/java_gen/pre-written/src/main/java/org/openflow/types/VlanVid.java
@@ -8,6 +8,9 @@ private static final short VALIDATION_MASK = 0x0FFF; final static int LENGTH = 2; + public static final VlanVid FULL_MASK = VlanVid.of((short)0xFFFF); + public static final VlanVid NO_MASK = VlanVid.of((short)0x0); + private final short vid; private VlanVid(short vid) {