common-models/src/main/java/org/opencdmp/commonmodels/models/description/DescriptionModel.java

106 lines
2.4 KiB
Java
Raw Normal View History

2024-04-26 13:05:31 +02:00
package org.opencdmp.commonmodels.models.description;
2024-03-01 16:27:39 +01:00
2024-04-26 13:05:31 +02:00
import org.opencdmp.commonmodels.enums.DescriptionStatus;
import org.opencdmp.commonmodels.models.dmp.DmpModel;
import org.opencdmp.commonmodels.models.descriptiotemplate.DescriptionTemplateModel;
2024-03-01 16:27:39 +01:00
2024-03-05 14:23:40 +01:00
import java.time.Instant;
2024-03-20 16:59:46 +01:00
import java.util.List;
2024-03-05 14:23:40 +01:00
import java.util.UUID;
2024-03-01 16:27:39 +01:00
public class DescriptionModel {
2024-03-08 16:56:27 +01:00
private UUID id;
2024-03-01 16:27:39 +01:00
private String label;
private String description;
2024-03-05 14:23:40 +01:00
private DescriptionStatus status;
2024-03-01 16:27:39 +01:00
private DescriptionTemplateModel descriptionTemplate;
2024-03-05 14:23:40 +01:00
private DmpModel dmp;
private UUID sectionId;
private Instant createdAt;
2024-03-01 16:27:39 +01:00
private PropertyDefinitionModel properties;
2024-03-20 16:59:46 +01:00
2024-03-21 08:50:50 +01:00
private List<VisibilityStateModel> visibilityStates;
2024-03-01 16:27:39 +01:00
2024-03-08 16:56:27 +01:00
public UUID getId() {
return id;
}
public void setId(UUID id) {
this.id = id;
}
2024-03-01 16:27:39 +01:00
public String getLabel() {
return label;
}
public void setLabel(String label) {
this.label = label;
}
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public PropertyDefinitionModel getProperties() {
return properties;
}
public void setProperties(PropertyDefinitionModel properties) {
this.properties = properties;
}
public DescriptionTemplateModel getDescriptionTemplate() {
return descriptionTemplate;
}
public void setDescriptionTemplate(DescriptionTemplateModel descriptionTemplate) {
this.descriptionTemplate = descriptionTemplate;
}
2024-03-05 14:23:40 +01:00
public DmpModel getDmp() {
return dmp;
}
public void setDmp(DmpModel dmp) {
this.dmp = dmp;
}
public DescriptionStatus getStatus() {
return status;
}
public void setStatus(DescriptionStatus status) {
this.status = status;
}
public UUID getSectionId() {
return sectionId;
}
public void setSectionId(UUID sectionId) {
this.sectionId = sectionId;
}
public Instant getCreatedAt() {
return createdAt;
}
public void setCreatedAt(Instant createdAt) {
this.createdAt = createdAt;
}
2024-03-20 16:59:46 +01:00
2024-03-21 08:50:50 +01:00
public List<VisibilityStateModel> getVisibilityStates() {
2024-03-20 16:59:46 +01:00
return visibilityStates;
}
2024-03-21 08:50:50 +01:00
public void setVisibilityStates(List<VisibilityStateModel> visibilityStates) {
2024-03-20 16:59:46 +01:00
this.visibilityStates = visibilityStates;
}
2024-03-01 16:27:39 +01:00
}