2024-03-22 12:49:26 +01:00
|
|
|
package eu.eudat.model.file;
|
|
|
|
|
2024-04-18 09:08:46 +02:00
|
|
|
import eu.eudat.file.transformer.enums.FileTransformerEntityType;
|
2024-03-22 12:49:26 +01:00
|
|
|
import eu.eudat.file.transformer.models.misc.FileFormat;
|
|
|
|
|
2024-04-18 09:08:46 +02:00
|
|
|
import java.util.List;
|
|
|
|
|
2024-03-22 12:49:26 +01:00
|
|
|
public class RepositoryFileFormat {
|
|
|
|
private String format;
|
|
|
|
private Boolean hasLogo;
|
|
|
|
private String icon;
|
|
|
|
private String repositoryId;
|
|
|
|
|
2024-04-18 09:08:46 +02:00
|
|
|
private List<FileTransformerEntityType> entityTypes;
|
|
|
|
|
|
|
|
public RepositoryFileFormat(String repositoryId, FileFormat format, List<FileTransformerEntityType> entityTypes) {
|
2024-03-22 12:49:26 +01:00
|
|
|
this.repositoryId = repositoryId;
|
|
|
|
this.format = format.getFormat();
|
|
|
|
this.hasLogo = format.getHasLogo();
|
|
|
|
this.icon = format.getIcon();
|
2024-04-18 09:08:46 +02:00
|
|
|
this.entityTypes = entityTypes;
|
2024-03-22 12:49:26 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
public String getFormat() {
|
|
|
|
return format;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setFormat(String format) {
|
|
|
|
this.format = format;
|
|
|
|
}
|
|
|
|
|
|
|
|
public Boolean getHasLogo() {
|
|
|
|
return hasLogo;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setHasLogo(Boolean hasLogo) {
|
|
|
|
this.hasLogo = hasLogo;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getIcon() {
|
|
|
|
return icon;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setIcon(String icon) {
|
|
|
|
this.icon = icon;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getRepositoryId() {
|
|
|
|
return repositoryId;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setRepositoryId(String repositoryId) {
|
|
|
|
this.repositoryId = repositoryId;
|
|
|
|
}
|
2024-04-18 09:08:46 +02:00
|
|
|
|
|
|
|
public List<FileTransformerEntityType> getEntityTypes() {
|
|
|
|
return entityTypes;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setEntityTypes(List<FileTransformerEntityType> entityTypes) {
|
|
|
|
this.entityTypes = entityTypes;
|
|
|
|
}
|
2024-03-22 12:49:26 +01:00
|
|
|
}
|