2020-11-02 13:05:53 +01:00
|
|
|
package org.gcube.portlets.user.geoportaldataviewer.shared.products.model;
|
|
|
|
|
|
|
|
import java.io.Serializable;
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
import org.gcube.portlets.user.geoportaldataviewer.shared.products.content.AssociatedContentDV;
|
2020-11-05 14:05:14 +01:00
|
|
|
import org.gcube.portlets.user.geoportaldataviewer.shared.products.content.WorkspaceContentDV;
|
2020-11-02 13:05:53 +01:00
|
|
|
|
2020-11-19 15:19:27 +01:00
|
|
|
import com.google.gwt.user.client.rpc.IsSerializable;
|
|
|
|
|
2020-11-02 13:05:53 +01:00
|
|
|
/**
|
|
|
|
* The Class UploadedImage.
|
|
|
|
*
|
|
|
|
* @author Francesco Mangiacrapa at ISTI-CNR (francesco.mangiacrapa@isti.cnr.it)
|
|
|
|
*
|
2020-11-05 14:05:14 +01:00
|
|
|
* Nov 2, 2020
|
2020-11-02 13:05:53 +01:00
|
|
|
*/
|
2020-11-19 15:19:27 +01:00
|
|
|
public class UploadedImageDV extends AssociatedContentDV implements IsSerializable, Serializable {
|
2020-11-02 13:05:53 +01:00
|
|
|
|
|
|
|
/** The Constant serialVersionUID. */
|
|
|
|
private static final long serialVersionUID = 809167060189883015L;
|
2020-11-05 14:05:14 +01:00
|
|
|
|
2020-11-02 13:05:53 +01:00
|
|
|
/** The didascalia. */
|
|
|
|
private String didascalia;
|
2020-11-05 14:05:14 +01:00
|
|
|
|
2020-11-02 13:05:53 +01:00
|
|
|
/** The format. */
|
|
|
|
private String format;
|
|
|
|
|
|
|
|
/** The responsabili. */
|
|
|
|
private List<String> responsabili;
|
|
|
|
|
|
|
|
/** The soggetto. */
|
|
|
|
private List<String> soggetto;
|
|
|
|
|
2020-11-05 14:05:14 +01:00
|
|
|
private List<WorkspaceContentDV> listWsContent;
|
|
|
|
|
2020-11-02 13:05:53 +01:00
|
|
|
/**
|
|
|
|
* Instantiates a new uploaded image.
|
|
|
|
*/
|
|
|
|
public UploadedImageDV() {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Gets the didascalia.
|
|
|
|
*
|
|
|
|
* @return the didascalia
|
|
|
|
*/
|
|
|
|
public String getDidascalia() {
|
|
|
|
return didascalia;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Sets the didascalia.
|
|
|
|
*
|
|
|
|
* @param didascalia the new didascalia
|
|
|
|
*/
|
|
|
|
public void setDidascalia(String didascalia) {
|
|
|
|
this.didascalia = didascalia;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Gets the format.
|
|
|
|
*
|
|
|
|
* @return the format
|
|
|
|
*/
|
|
|
|
public String getFormat() {
|
|
|
|
return format;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Sets the format.
|
|
|
|
*
|
|
|
|
* @param format the new format
|
|
|
|
*/
|
|
|
|
public void setFormat(String format) {
|
|
|
|
this.format = format;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Gets the responsabili.
|
|
|
|
*
|
|
|
|
* @return the responsabili
|
|
|
|
*/
|
|
|
|
public List<String> getResponsabili() {
|
|
|
|
return responsabili;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Sets the responsabili.
|
|
|
|
*
|
|
|
|
* @param responsabili the new responsabili
|
|
|
|
*/
|
|
|
|
public void setResponsabili(List<String> responsabili) {
|
|
|
|
this.responsabili = responsabili;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Gets the soggetto.
|
|
|
|
*
|
|
|
|
* @return the soggetto
|
|
|
|
*/
|
|
|
|
public List<String> getSoggetto() {
|
|
|
|
return soggetto;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Sets the soggetto.
|
|
|
|
*
|
|
|
|
* @param soggetto the new soggetto
|
|
|
|
*/
|
|
|
|
public void setSoggetto(List<String> soggetto) {
|
|
|
|
this.soggetto = soggetto;
|
|
|
|
}
|
|
|
|
|
2020-11-05 14:05:14 +01:00
|
|
|
public List<WorkspaceContentDV> getListWsContent() {
|
|
|
|
return listWsContent;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setListWsContent(List<WorkspaceContentDV> listWsContent) {
|
|
|
|
this.listWsContent = listWsContent;
|
|
|
|
}
|
|
|
|
|
2020-11-02 13:05:53 +01:00
|
|
|
@Override
|
|
|
|
public String toString() {
|
|
|
|
StringBuilder builder = new StringBuilder();
|
2020-11-19 15:19:27 +01:00
|
|
|
builder.append("UploadedImageDV [didascalia=");
|
2020-11-02 13:05:53 +01:00
|
|
|
builder.append(didascalia);
|
|
|
|
builder.append(", format=");
|
|
|
|
builder.append(format);
|
|
|
|
builder.append(", responsabili=");
|
|
|
|
builder.append(responsabili);
|
|
|
|
builder.append(", soggetto=");
|
|
|
|
builder.append(soggetto);
|
2020-11-19 15:19:27 +01:00
|
|
|
builder.append(", listWsContent=");
|
|
|
|
builder.append(listWsContent);
|
2020-11-02 13:05:53 +01:00
|
|
|
builder.append("]");
|
|
|
|
return builder.toString();
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|