Updates to support new TrafficProfiles that require a user-specified Direction in...
[packetcable.git] / packetcable-driver / src / main / java / org / pcmm / gates / impl / GateSpec.java
index 558ec61ff3691c3d9292811c256bc0b1eec7bdec..eda91ae78b607ef2479c0783251b04081fac4298 100644 (file)
@@ -21,7 +21,7 @@ public class GateSpec extends PCMMBaseObject implements IGateSpec {
     /**
      * The gate's direction
      */
-    private final Direction direction;
+    private Direction direction;
 
     /**
      * The DSCP/TOS Overwrite is a 1-byte bit field [8] defined by the following alternative structures, depending upon
@@ -107,6 +107,11 @@ public class GateSpec extends PCMMBaseObject implements IGateSpec {
         return direction;
     }
 
+    @Override
+    public void setDirection(Direction direction) {
+        this.direction = direction;
+    }
+
     @Override
     public byte getDSCP_TOSOverwrite() {
         return tosOverwrite;