updated model
This commit is contained in:
parent
dacaa5ef06
commit
01371e8750
|
@ -7,6 +7,8 @@ Mongo Id in record
|
||||||
Mongo Concessioni interface
|
Mongo Concessioni interface
|
||||||
Added Files.fixFileNAme
|
Added Files.fixFileNAme
|
||||||
ValidationReport as field
|
ValidationReport as field
|
||||||
|
Updated Model (#20357)
|
||||||
|
|
||||||
|
|
||||||
# [v1.0.4-SNAPSHOT] - 2020-12-9
|
# [v1.0.4-SNAPSHOT] - 2020-12-9
|
||||||
Projects Rest Interface
|
Projects Rest Interface
|
||||||
|
|
|
@ -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> responsabili;
|
||||||
private List<String> soggetto;
|
private List<String> soggetto;
|
||||||
|
@ -36,7 +38,7 @@ public class RelazioneScavo extends AssociatedContent {
|
||||||
public int hashCode() {
|
public int hashCode() {
|
||||||
final int prime = 31;
|
final int prime = 31;
|
||||||
int result = super.hashCode();
|
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 + ((responsabili == null) ? 0 : responsabili.hashCode());
|
||||||
result = prime * result + CollectionsUtils.hashCode(responsabili);
|
result = prime * result + CollectionsUtils.hashCode(responsabili);
|
||||||
// result = prime * result + ((soggetto == null) ? 0 : soggetto.hashCode());
|
// result = prime * result + ((soggetto == null) ? 0 : soggetto.hashCode());
|
||||||
|
@ -53,11 +55,11 @@ public class RelazioneScavo extends AssociatedContent {
|
||||||
if (getClass() != obj.getClass())
|
if (getClass() != obj.getClass())
|
||||||
return false;
|
return false;
|
||||||
RelazioneScavo other = (RelazioneScavo) obj;
|
RelazioneScavo other = (RelazioneScavo) obj;
|
||||||
if (abstractSection == null) {
|
// if (abstractSection == null) {
|
||||||
if (other.abstractSection != null)
|
// if (other.abstractSection != null)
|
||||||
return false;
|
// return false;
|
||||||
} else if (!abstractSection.equals(other.abstractSection))
|
// } else if (!abstractSection.equals(other.abstractSection))
|
||||||
return false;
|
// return false;
|
||||||
// if (responsabili == null) {
|
// if (responsabili == null) {
|
||||||
// if (other.responsabili != null)
|
// if (other.responsabili != null)
|
||||||
// return false;
|
// return false;
|
||||||
|
|
Reference in New Issue