Use lombok in apex-pdp #5
[policy/apex-pdp.git] / examples / examples-aadm / src / main / java / org / onap / policy / apex / examples / aadm / concepts / IpAddressStatus.java
index 689865b..26f2b41 100644 (file)
@@ -1,6 +1,7 @@
 /*-
  * ============LICENSE_START=======================================================
  *  Copyright (C) 2016-2018 Ericsson. All rights reserved.
+ *  Modifications Copyright (C) 2021 AT&T Intellectual Property. All rights reserved.
  * ================================================================================
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
 package org.onap.policy.apex.examples.aadm.concepts;
 
 import java.io.Serializable;
+import lombok.Getter;
+import lombok.Setter;
 
 /**
  * The Class IPAddressStatus holds the status of an IP address in the AADM domain.
  */
+@Getter
+@Setter
 public class IpAddressStatus implements Serializable {
     private static final long serialVersionUID = -7402022458317593252L;
 
@@ -41,33 +46,6 @@ public class IpAddressStatus implements Serializable {
         this.ipAddress = ipAddress;
     }
 
-    /**
-     * Gets the IP address.
-     *
-     * @return the IP address
-     */
-    public String getIpAddress() {
-        return ipAddress;
-    }
-
-    /**
-     * Gets the IMSI.
-     *
-     * @return the imsi
-     */
-    public String getImsi() {
-        return imsi;
-    }
-
-    /**
-     * Sets the IMSI.
-     *
-     * @param incomingImsi the imsi
-     */
-    public void setImsi(final String incomingImsi) {
-        this.imsi = incomingImsi;
-    }
-
     /**
      * Check set IMSI.
      *