19 package org.turro.contacts;
21 import java.io.Serializable;
22 import java.util.Objects;
23 import javax.persistence.Entity;
24 import javax.persistence.Id;
25 import org.turro.string.Strings;
26 import org.turro.contacts.profile.PublishPolicy;
27 import org.turro.jpa.entity.IDaoEntity;
36 @Id
private String profilePath;
45 this.profilePath = profilePath;
53 this.publish = publish;
65 return Strings.isBlank(profilePath) || publish ==
null;
73 hash = 17 * hash + Objects.hashCode(this.profilePath);
85 if (getClass() != obj.getClass()) {
89 if (!Objects.equals(
this.profilePath, other.profilePath)) {