Text fields

This commit is contained in:
Fabio Sinibaldi 2020-12-03 19:20:36 +01:00
parent 041a426725
commit 2da542d7f6
2 changed files with 3 additions and 6 deletions

View File

@ -32,6 +32,7 @@ public class LayerConcessione extends SDILayerDescriptor{
//layer
private String layerName;
@Type(type="text")
private String WMSLink;

View File

@ -5,17 +5,13 @@ import java.util.List;
import javax.persistence.DiscriminatorValue;
import javax.persistence.ElementCollection;
import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import org.gcube.application.geoportal.model.Record;
import org.gcube.application.geoportal.utils.CollectionsUtils;
import org.hibernate.annotations.LazyCollection;
import org.hibernate.annotations.LazyCollectionOption;
import org.hibernate.annotations.Type;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
@Getter
@Setter
@ -24,7 +20,7 @@ import lombok.ToString;
@DiscriminatorValue("IMAGE")
public class UploadedImage extends AssociatedContent {
@Type(type="text")
private String didascalia;
private String format;