Update UI to define Pdp Group
[clamp.git] / src / main / java / org / onap / clamp / policy / Policy.java
index e1c08ee..47dee1a 100644 (file)
@@ -68,6 +68,10 @@ public abstract class Policy extends AuditEntity {
     @Column(name = "pdp_group")
     private String pdpGroup;
 
+    @Expose
+    @Column(name = "pdp_sub_group")
+    private String pdpSubgroup;
+
     public abstract String createPolicyPayload() throws UnsupportedEncodingException;
 
     /**
@@ -154,6 +158,24 @@ public abstract class Policy extends AuditEntity {
         this.pdpGroup = pdpGroup;
     }
 
+    /**
+     * pdpSubgroup getter.
+     * 
+     * @return the pdpSubgroup
+     */
+    public String getPdpSubgroup() {
+        return pdpSubgroup;
+    }
+
+    /**
+     * pdpSubgroup setter.
+     * 
+     * @param pdpSubgroup the pdpSubgroup to set
+     */
+    public void setPdpSubgroup(String pdpSubgroup) {
+        this.pdpSubgroup = pdpSubgroup;
+    }
+
     /**
      * Generate the policy name.
      *