package org.oransc.ric.portal.dashboard.model;
+import java.util.Objects;
+
/**
* POJO for RIC instance details.
*/
super();
}
+ @Override
public RicInstance key(String key) {
super.key(key);
return this;
}
+ @Override
public RicInstance name(String name) {
super.name(name);
return this;
return result;
}
+ @Override
+ public boolean equals(Object obj) {
+ if (this == obj)
+ return true;
+ if (obj == null)
+ return false;
+ if (getClass() != obj.getClass())
+ return false;
+ RicInstance other = (RicInstance) obj;
+ return Objects.equals(appUrlPrefix, other.appUrlPrefix) && Objects.equals(pltUrlPrefix, other.pltUrlPrefix);
+ }
+
}