diff options
Diffstat (limited to 'models-pdp')
-rw-r--r-- | models-pdp/src/main/java/org/onap/policy/models/pdp/concepts/PdpGroup.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/models-pdp/src/main/java/org/onap/policy/models/pdp/concepts/PdpGroup.java b/models-pdp/src/main/java/org/onap/policy/models/pdp/concepts/PdpGroup.java index 4cb0ac54e..8cad58c13 100644 --- a/models-pdp/src/main/java/org/onap/policy/models/pdp/concepts/PdpGroup.java +++ b/models-pdp/src/main/java/org/onap/policy/models/pdp/concepts/PdpGroup.java @@ -21,6 +21,7 @@ package org.onap.policy.models.pdp.concepts; +import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.HashSet; import java.util.LinkedHashMap; import java.util.List; @@ -121,12 +122,14 @@ public class PdpGroup implements PfNameVersion, Comparable<PdpGroup> { } @Override + @JsonIgnore public String getVersion() { // We need to pass a version for keying in the database return PfKey.NULL_KEY_VERSION; } @Override + @JsonIgnore public void setVersion(String version) { // Just ignore any version that is set } |