159 lines
3.6 KiB
Java
159 lines
3.6 KiB
Java
package eu.eudat.model;
|
|
|
|
import eu.eudat.commons.enums.ExternalReferencesType;
|
|
import eu.eudat.commons.enums.IsActive;
|
|
import eu.eudat.commons.enums.SourceType;
|
|
|
|
import java.time.Instant;
|
|
import java.util.List;
|
|
import java.util.UUID;
|
|
|
|
public class ExternalReference {
|
|
|
|
private UUID id;
|
|
public static final String _id = "id";
|
|
|
|
private String label;
|
|
public static final String _label = "label";
|
|
|
|
private ExternalReferencesType type;
|
|
public static final String _type = "type";
|
|
|
|
private String description;
|
|
public static final String _description = "description";
|
|
|
|
private String definition;
|
|
public static final String _definition = "definition";
|
|
|
|
private String reference;
|
|
public static final String _reference = "reference";
|
|
|
|
private String abbreviation;
|
|
public static final String _abbreviation = "abbreviation";
|
|
|
|
private String source;
|
|
public static final String _source = "source";
|
|
|
|
private SourceType sourceType;
|
|
public static final String _sourceType = "sourceType";
|
|
|
|
private IsActive isActive;
|
|
public static final String _isActive = "isActive";
|
|
|
|
private Instant createdAt;
|
|
public static final String _createdAt = "createdAt";
|
|
|
|
private Instant updatedAt;
|
|
public static final String _updatedAt = "updatedAt";
|
|
|
|
//private UserInfo createdBy; ToDo
|
|
//public static final String _createdBy = "createdBy";
|
|
|
|
private List<DmpExternalReference> dmpExternalReferences;
|
|
public static final String _dmpExternalReferences = "dmpExternalReferences";
|
|
|
|
public UUID getId() {
|
|
return id;
|
|
}
|
|
|
|
public void setId(UUID id) {
|
|
this.id = id;
|
|
}
|
|
|
|
public String getLabel() {
|
|
return label;
|
|
}
|
|
|
|
public void setLabel(String label) {
|
|
this.label = label;
|
|
}
|
|
|
|
public ExternalReferencesType getType() {
|
|
return type;
|
|
}
|
|
|
|
public void setType(ExternalReferencesType type) {
|
|
this.type = type;
|
|
}
|
|
|
|
public String getDescription() {
|
|
return description;
|
|
}
|
|
|
|
public void setDescription(String description) {
|
|
this.description = description;
|
|
}
|
|
|
|
public String getDefinition() {
|
|
return definition;
|
|
}
|
|
|
|
public void setDefinition(String definition) {
|
|
this.definition = definition;
|
|
}
|
|
|
|
public String getReference() {
|
|
return reference;
|
|
}
|
|
|
|
public void setReference(String reference) {
|
|
this.reference = reference;
|
|
}
|
|
|
|
public String getAbbreviation() {
|
|
return abbreviation;
|
|
}
|
|
|
|
public void setAbbreviation(String abbreviation) {
|
|
this.abbreviation = abbreviation;
|
|
}
|
|
|
|
public String getSource() {
|
|
return source;
|
|
}
|
|
|
|
public void setSource(String source) {
|
|
this.source = source;
|
|
}
|
|
|
|
public SourceType getSourceType() {
|
|
return sourceType;
|
|
}
|
|
|
|
public void setSourceType(SourceType sourceType) {
|
|
this.sourceType = sourceType;
|
|
}
|
|
|
|
public IsActive getIsActive() {
|
|
return isActive;
|
|
}
|
|
|
|
public void setIsActive(IsActive isActive) {
|
|
this.isActive = isActive;
|
|
}
|
|
|
|
public Instant getCreatedAt() {
|
|
return createdAt;
|
|
}
|
|
|
|
public void setCreatedAt(Instant createdAt) {
|
|
this.createdAt = createdAt;
|
|
}
|
|
|
|
public Instant getUpdatedAt() {
|
|
return updatedAt;
|
|
}
|
|
|
|
public void setUpdatedAt(Instant updatedAt) {
|
|
this.updatedAt = updatedAt;
|
|
}
|
|
|
|
public List<DmpExternalReference> getDmpExternalReferences() {
|
|
return dmpExternalReferences;
|
|
}
|
|
|
|
public void setDmpExternalReferences(List<DmpExternalReference> dmpExternalReferences) {
|
|
this.dmpExternalReferences = dmpExternalReferences;
|
|
}
|
|
}
|