|
|
|
@ -16,7 +16,9 @@ public class RelazioneScavo extends AssociatedContent {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private String abstractSection;
|
|
|
|
|
// private String abstractSection;
|
|
|
|
|
private String abstractIta;
|
|
|
|
|
private String abstractEng;
|
|
|
|
|
|
|
|
|
|
private List<String> responsabili;
|
|
|
|
|
private List<String> soggetto;
|
|
|
|
@ -36,7 +38,7 @@ public class RelazioneScavo extends AssociatedContent {
|
|
|
|
|
public int hashCode() {
|
|
|
|
|
final int prime = 31;
|
|
|
|
|
int result = super.hashCode();
|
|
|
|
|
result = prime * result + ((abstractSection == null) ? 0 : abstractSection.hashCode());
|
|
|
|
|
// result = prime * result + ((abstractSection == null) ? 0 : abstractSection.hashCode());
|
|
|
|
|
// result = prime * result + ((responsabili == null) ? 0 : responsabili.hashCode());
|
|
|
|
|
result = prime * result + CollectionsUtils.hashCode(responsabili);
|
|
|
|
|
// result = prime * result + ((soggetto == null) ? 0 : soggetto.hashCode());
|
|
|
|
@ -53,11 +55,11 @@ public class RelazioneScavo extends AssociatedContent {
|
|
|
|
|
if (getClass() != obj.getClass())
|
|
|
|
|
return false;
|
|
|
|
|
RelazioneScavo other = (RelazioneScavo) obj;
|
|
|
|
|
if (abstractSection == null) {
|
|
|
|
|
if (other.abstractSection != null)
|
|
|
|
|
return false;
|
|
|
|
|
} else if (!abstractSection.equals(other.abstractSection))
|
|
|
|
|
return false;
|
|
|
|
|
// if (abstractSection == null) {
|
|
|
|
|
// if (other.abstractSection != null)
|
|
|
|
|
// return false;
|
|
|
|
|
// } else if (!abstractSection.equals(other.abstractSection))
|
|
|
|
|
// return false;
|
|
|
|
|
// if (responsabili == null) {
|
|
|
|
|
// if (other.responsabili != null)
|
|
|
|
|
// return false;
|
|
|
|
|