sync with new models
This commit is contained in:
parent
685a30b2cd
commit
967d0e5f91
|
@ -5,7 +5,7 @@ import java.util.List;
|
|||
public class DescriptionDepositModel {
|
||||
private String label;
|
||||
private String description;
|
||||
private List<DatasetFieldsDepositModel> fields;
|
||||
private List<DescriptionFieldDepositModel> fields;
|
||||
|
||||
public String getLabel() {
|
||||
return label;
|
||||
|
@ -23,11 +23,11 @@ public class DescriptionDepositModel {
|
|||
this.description = description;
|
||||
}
|
||||
|
||||
public List<DatasetFieldsDepositModel> getFields() {
|
||||
public List<DescriptionFieldDepositModel> getFields() {
|
||||
return fields;
|
||||
}
|
||||
|
||||
public void setFields(List<DatasetFieldsDepositModel> fields) {
|
||||
public void setFields(List<DescriptionFieldDepositModel> fields) {
|
||||
this.fields = fields;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4,11 +4,10 @@ import eu.eudat.depositinterface.enums.FieldType;
|
|||
|
||||
import java.util.List;
|
||||
|
||||
public class DatasetFieldsDepositModel {
|
||||
public class DescriptionFieldDepositModel {
|
||||
private FieldType fieldType;
|
||||
private List<String> schematics;
|
||||
private Object value;
|
||||
private boolean multiple;
|
||||
private List<Object> values;
|
||||
|
||||
public FieldType getFieldType() {
|
||||
return fieldType;
|
||||
|
@ -26,19 +25,11 @@ public class DatasetFieldsDepositModel {
|
|||
this.schematics = schematics;
|
||||
}
|
||||
|
||||
public Object getValue() {
|
||||
return value;
|
||||
public List<Object> getValues() {
|
||||
return values;
|
||||
}
|
||||
|
||||
public void setValue(Object value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
public boolean isMultiple() {
|
||||
return multiple;
|
||||
}
|
||||
|
||||
public void setMultiple(boolean multiple) {
|
||||
this.multiple = multiple;
|
||||
public void setValues(List<Object> values) {
|
||||
this.values = values;
|
||||
}
|
||||
}
|
|
@ -3,7 +3,6 @@ package eu.eudat.depositinterface.models;
|
|||
import eu.eudat.depositinterface.enums.DmpAccessType;
|
||||
|
||||
import java.time.Instant;
|
||||
import java.util.Set;
|
||||
import java.util.UUID;
|
||||
import java.util.List;
|
||||
|
||||
|
@ -14,7 +13,7 @@ public class DmpDepositModel {
|
|||
private String description;
|
||||
private DmpAccessType accessType;
|
||||
private List<DescriptionDepositModel> descriptions;
|
||||
private Set<UserDmpDepositModel> users;
|
||||
private List<DmpUserDepositModel> users;
|
||||
private List<ReferenceDepositModel> references;
|
||||
private FileEnvelope pdfFile;
|
||||
private FileEnvelope rdaJsonFile;
|
||||
|
@ -62,11 +61,11 @@ public class DmpDepositModel {
|
|||
this.accessType = accessType;
|
||||
}
|
||||
|
||||
public Set<UserDmpDepositModel> getUsers() {
|
||||
public List<DmpUserDepositModel> getUsers() {
|
||||
return users;
|
||||
}
|
||||
|
||||
public void setUsers(Set<UserDmpDepositModel> users) {
|
||||
public void setUsers(List<DmpUserDepositModel> users) {
|
||||
this.users = users;
|
||||
}
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@ package eu.eudat.depositinterface.models;
|
|||
|
||||
import eu.eudat.depositinterface.enums.DmpUserRole;
|
||||
|
||||
public class UserDmpDepositModel {
|
||||
public class DmpUserDepositModel {
|
||||
private UserDepositModel user;
|
||||
private DmpUserRole role;
|
||||
|
Loading…
Reference in New Issue