aboutsummaryrefslogtreecommitdiffstats
path: root/pdp-common
diff options
context:
space:
mode:
authorJim Hahn <jrh3@att.com>2019-03-16 09:50:59 -0400
committerJim Hahn <jrh3@att.com>2019-03-16 09:50:59 -0400
commitdb7db4d6f06b6f875ec96aac27b86911a1c70a9b (patch)
treee9eb62e205420a69768d37833962f96d11eed151 /pdp-common
parent8640a6e4b2d50cf2068207b1ddec965c07cec3aa (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.java2
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;