argos/dmp-backend/core/src/main/java/eu/eudat/model/DmpReference.java

92 lines
1.9 KiB
Java
Raw Normal View History

package eu.eudat.model;
2024-01-19 17:28:53 +01:00
import eu.eudat.commons.enums.IsActive;
2024-01-12 14:00:34 +01:00
import eu.eudat.model.dmpreference.DmpReferenceData;
2023-10-27 10:41:44 +02:00
import java.time.Instant;
import java.util.UUID;
2023-10-26 11:07:04 +02:00
public class DmpReference {
private UUID id;
public static final String _id = "id";
2023-10-26 11:07:04 +02:00
private Dmp dmp;
public static final String _dmp = "dmp";
2023-10-26 11:07:04 +02:00
private Reference reference;
2023-10-26 13:38:18 +02:00
public static final String _reference = "reference";
2024-01-19 17:28:53 +01:00
private IsActive isActive;
public static final String _isActive = "isActive";
2023-10-27 10:41:44 +02:00
private Instant createdAt;
public static final String _createdAt = "createdAt";
private Instant updatedAt;
public static final String _updatedAt = "updatedAt";
2023-11-20 16:09:24 +01:00
public final static String _hash = "hash";
private String hash;
2024-01-12 14:00:34 +01:00
private DmpReferenceData data;
public static final String _data = "data";
public UUID getId() {
return id;
}
public void setId(UUID id) {
this.id = id;
}
2023-10-26 11:07:04 +02:00
public Dmp getDmp() {
return dmp;
}
2023-10-26 11:07:04 +02:00
public void setDmp(Dmp dmp) {
this.dmp = dmp;
}
2023-10-26 13:38:18 +02:00
public Reference getReference() {
2023-10-26 11:07:04 +02:00
return reference;
}
2023-10-26 13:38:18 +02:00
public void setReference(Reference reference) {
2023-10-26 11:07:04 +02:00
this.reference = reference;
}
2024-01-19 17:28:53 +01:00
public IsActive getIsActive() {
return isActive;
}
public void setIsActive(IsActive isActive) {
this.isActive = isActive;
}
2023-10-27 10:41:44 +02:00
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;}
2023-11-20 16:09:24 +01:00
public String getHash() {
return hash;
}
public void setHash(String hash) {
this.hash = hash;
}
2024-01-12 14:00:34 +01:00
public void setData(DmpReferenceData data) {
this.data = data;
}
public DmpReferenceData getData() {
return data;
}
}