argos/dmp-backend/core/src/main/java/eu/eudat/commons/types/descriptiontemplate/RuleEntity.java

65 lines
1.5 KiB
Java
Raw Normal View History

2023-10-27 17:46:34 +02:00
package eu.eudat.commons.types.descriptiontemplate;
2024-03-20 17:40:34 +01:00
import jakarta.xml.bind.annotation.*;
import java.time.Instant;
import java.util.List;
2023-10-27 17:46:34 +02:00
2024-01-30 15:31:03 +01:00
@XmlAccessorType(XmlAccessType.FIELD)
public class RuleEntity {
@XmlAttribute(name="target")
2023-10-27 17:46:34 +02:00
private String target;
2024-01-30 15:31:03 +01:00
@XmlAttribute(name="value")
2024-03-20 17:40:34 +01:00
private String textValue;
@XmlElementWrapper(name = "textListValues")
@XmlElement(name = "textListValue")
private List<String> textListValue;
@XmlElement(name = "dateValue")
private Instant dateValue;
@XmlElement(name="externalIdentifier")
private ExternalIdentifierEntity externalIdentifier;
2023-10-27 17:46:34 +02:00
public String getTarget() {
return target;
}
public void setTarget(String target) {
this.target = target;
}
2024-03-20 17:40:34 +01:00
public String getTextValue() {
return textValue;
}
public void setTextValue(String textValue) {
this.textValue = textValue;
}
public List<String> getTextListValue() {
return textListValue;
}
public void setTextListValue(List<String> textListValue) {
this.textListValue = textListValue;
}
public Instant getDateValue() {
return dateValue;
2023-10-27 17:46:34 +02:00
}
2024-03-20 17:40:34 +01:00
public void setDateValue(Instant dateValue) {
this.dateValue = dateValue;
2023-10-27 17:46:34 +02:00
}
2024-03-20 17:40:34 +01:00
public ExternalIdentifierEntity getExternalIdentifier() {
return externalIdentifier;
}
public void setExternalIdentifier(ExternalIdentifierEntity externalIdentifier) {
this.externalIdentifier = externalIdentifier;
}
2023-10-27 17:46:34 +02:00
}
2024-03-20 17:40:34 +01:00