geoportal-data-common/src/main/java/org/gcube/application/geoportalcommon/shared/geoportal/ProjectDV.java

115 lines
2.6 KiB
Java

package org.gcube.application.geoportalcommon.shared.geoportal;
import java.io.Serializable;
import java.util.List;
import java.util.Map;
public class ProjectDV implements Serializable {
/**
*
*/
private static final long serialVersionUID = 498764909635626624L;
private String id;
private String version;
// private PublicationInfo info;
private String profileID;
private String profileVersion;
private List<RelationshipDV> relationships;
private DocumentDV theDocument;
// the key is the IdentificationReferenceDV.getType()
private Map<String, IdentificationReferenceDV> mapIdentReferenceDV;
private LifecycleInformationDV lifecycleInformationDV;
public ProjectDV() {
}
public String getId() {
return id;
}
public String getVersion() {
return version;
}
public String getProfileID() {
return profileID;
}
public String getProfileVersion() {
return profileVersion;
}
public List<RelationshipDV> getRelationships() {
return relationships;
}
public DocumentDV getTheDocument() {
return theDocument;
}
public void setId(String id) {
this.id = id;
}
public void setVersion(String version) {
this.version = version;
}
public void setProfileID(String profileID) {
this.profileID = profileID;
}
public void setProfileVersion(String profileVersion) {
this.profileVersion = profileVersion;
}
public void setRelationships(List<RelationshipDV> relationships) {
this.relationships = relationships;
}
public void setTheDocument(DocumentDV theDocument) {
this.theDocument = theDocument;
}
public LifecycleInformationDV getLifecycleInformationDV() {
return lifecycleInformationDV;
}
public Map<String, IdentificationReferenceDV> getMapIdentReferenceDV() {
return mapIdentReferenceDV;
}
public void setMapIdentReferenceDV(Map<String, IdentificationReferenceDV> mapIdentReferenceDV) {
this.mapIdentReferenceDV = mapIdentReferenceDV;
}
public void setLifecycleInformationDV(LifecycleInformationDV lifecycleInformationDV) {
this.lifecycleInformationDV = lifecycleInformationDV;
}
@Override
public String toString() {
StringBuilder builder = new StringBuilder();
builder.append("ProjectDV [id=");
builder.append(id);
builder.append(", version=");
builder.append(version);
builder.append(", profileID=");
builder.append(profileID);
builder.append(", profileVersion=");
builder.append(profileVersion);
builder.append(", theDocument=");
builder.append(theDocument);
builder.append(", mapIdentReferenceDV=");
builder.append(mapIdentReferenceDV);
builder.append(", lifecycleInformationDV=");
builder.append(lifecycleInformationDV);
builder.append("]");
return builder.toString();
}
}