Added the profileName property

This commit is contained in:
Francesco Mangiacrapa 2022-10-17 16:50:48 +02:00
parent c1cc4f391a
commit f722449403
2 changed files with 38 additions and 5 deletions

View File

@ -15,8 +15,9 @@ public class ProjectDV implements Serializable {
private String id; private String id;
private String version; private String version;
// private PublicationInfo info; // private PublicationInfo info;
private String profileID; private String profileID; // the profile == UCD
private String profileVersion; private String profileVersion; // the profile == UCD
private String profileName;
private List<RelationshipDV> relationships; private List<RelationshipDV> relationships;
private DocumentDV theDocument; private DocumentDV theDocument;
@ -28,6 +29,14 @@ public class ProjectDV implements Serializable {
} }
public String getProfileName() {
return profileName;
}
public void setProfileName(String profileName) {
this.profileName = profileName;
}
public String getId() { public String getId() {
return id; return id;
} }
@ -103,6 +112,10 @@ public class ProjectDV implements Serializable {
builder.append(profileID); builder.append(profileID);
builder.append(", profileVersion="); builder.append(", profileVersion=");
builder.append(profileVersion); builder.append(profileVersion);
builder.append(", profileName=");
builder.append(profileName);
builder.append(", relationships=");
builder.append(relationships);
builder.append(", theDocument="); builder.append(", theDocument=");
builder.append(theDocument); builder.append(theDocument);
builder.append(", mapIdentReferenceDV="); builder.append(", mapIdentReferenceDV=");

View File

@ -39,6 +39,22 @@ public class ProjectView implements Serializable {
this.theProjectDV = theProjectDV; this.theProjectDV = theProjectDV;
} }
public void setCentroidLat(Long centroidLat) {
this.centroidLat = centroidLat;
}
public void setCentroidLong(Long centroidLong) {
this.centroidLong = centroidLong;
}
public Long getCentroidLat() {
return centroidLat;
}
public Long getCentroidLong() {
return centroidLong;
}
@Override @Override
public String toString() { public String toString() {
StringBuilder builder = new StringBuilder(); StringBuilder builder = new StringBuilder();
@ -46,6 +62,10 @@ public class ProjectView implements Serializable {
builder.append(theProjectDV); builder.append(theProjectDV);
builder.append(", listSections="); builder.append(", listSections=");
builder.append(listSections); builder.append(listSections);
builder.append(", centroidLong=");
builder.append(centroidLong);
builder.append(", centroidLat=");
builder.append(centroidLat);
builder.append("]"); builder.append("]");
return builder.toString(); return builder.toString();
} }