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

114 lines
2.5 KiB
Java

package org.gcube.application.geoportalcommon.shared.geoportal;
import java.io.Serializable;
import java.util.List;
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 spatialReference;
private TemporalReferenceDV temporalReference;
private DocumentDV theDocument;
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 getSpatialReference() {
return spatialReference;
}
public TemporalReferenceDV getTemporalReference() {
return temporalReference;
}
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 setSpatialReference(DocumentDV spatialReference) {
this.spatialReference = spatialReference;
}
public void setTemporalReference(TemporalReferenceDV temporalReference) {
this.temporalReference = temporalReference;
}
public void setTheDocument(DocumentDV theDocument) {
this.theDocument = theDocument;
}
@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(", relationships=");
builder.append(relationships);
builder.append(", spatialReference=");
builder.append(spatialReference);
builder.append(", temporalReference=");
builder.append(temporalReference);
builder.append(", theDocument=");
builder.append(theDocument);
builder.append("]");
return builder.toString();
}
}