package org.opencdmp.commons.types.descriptiontemplate; import jakarta.xml.bind.annotation.XmlAccessType; import jakarta.xml.bind.annotation.XmlAccessorType; import jakarta.xml.bind.annotation.XmlElement; import jakarta.xml.bind.annotation.XmlElementWrapper; import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter; import org.opencdmp.commons.xmladapter.InstantXmlAdapter; import java.time.Instant; import java.util.List; @XmlAccessorType(XmlAccessType.FIELD) public class DefaultValueEntity { @XmlElementWrapper(name = "textListValues") @XmlElement(name = "textListValue") private List textListValue; @XmlElement(name="value") private String textValue; @XmlElement(name = "dateValue") @XmlJavaTypeAdapter(InstantXmlAdapter.class) private Instant dateValue; @XmlElement(name = "booleanValue") private Boolean booleanValue; public List getTextListValue() { return this.textListValue; } public void setTextListValue(List textListValue) { this.textListValue = textListValue; } public String getTextValue() { return this.textValue; } public void setTextValue(String textValue) { this.textValue = textValue; } public Instant getDateValue() { return this.dateValue; } public void setDateValue(Instant dateValue) { this.dateValue = dateValue; } public Boolean getBooleanValue() { return this.booleanValue; } public void setBooleanValue(Boolean booleanValue) { this.booleanValue = booleanValue; } }