diff options
author | Jim Hahn <jrh3@att.com> | 2019-03-16 09:50:59 -0400 |
---|---|---|
committer | Jim Hahn <jrh3@att.com> | 2019-03-16 09:50:59 -0400 |
commit | db7db4d6f06b6f875ec96aac27b86911a1c70a9b (patch) | |
tree | e9eb62e205420a69768d37833962f96d11eed151 /pdp-common | |
parent | 8640a6e4b2d50cf2068207b1ddec965c07cec3aa (diff) |
Add equals() to Policy class
Change-Id: I7cc9baa21654e3d416a6ca1143f365ca295bf1d6
Issue-ID: POLICY-1542
Signed-off-by: Jim Hahn <jrh3@att.com>
Diffstat (limited to 'pdp-common')
-rw-r--r-- | pdp-common/src/main/java/org/onap/policy/pdp/common/models/Policy.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pdp-common/src/main/java/org/onap/policy/pdp/common/models/Policy.java b/pdp-common/src/main/java/org/onap/policy/pdp/common/models/Policy.java index 7f12a48f..b756386b 100644 --- a/pdp-common/src/main/java/org/onap/policy/pdp/common/models/Policy.java +++ b/pdp-common/src/main/java/org/onap/policy/pdp/common/models/Policy.java @@ -20,6 +20,7 @@ package org.onap.policy.pdp.common.models; +import lombok.EqualsAndHashCode; import lombok.Getter; import lombok.Setter; import lombok.ToString; @@ -32,6 +33,7 @@ import lombok.ToString; @Getter @Setter @ToString +@EqualsAndHashCode public class Policy { private String name; |