Added the profileName property
This commit is contained in:
parent
c1cc4f391a
commit
f722449403
|
@ -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=");
|
||||||
|
|
|
@ -13,7 +13,7 @@ public class ProjectView implements Serializable {
|
||||||
*/
|
*/
|
||||||
private static final long serialVersionUID = 6890481787301347388L;
|
private static final long serialVersionUID = 6890481787301347388L;
|
||||||
private ProjectDV theProjectDV;
|
private ProjectDV theProjectDV;
|
||||||
//The DocumentDV (contained in the ProjectDV) is listed in SectionView
|
// The DocumentDV (contained in the ProjectDV) is listed in SectionView
|
||||||
private List<SectionView> listSections = new ArrayList<SectionView>();
|
private List<SectionView> listSections = new ArrayList<SectionView>();
|
||||||
|
|
||||||
private Long centroidLong;
|
private Long centroidLong;
|
||||||
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue