2024-05-02 14:57:19 +02:00
|
|
|
package org.opencdmp.commons.types.descriptiontemplate.importexport;
|
|
|
|
|
2024-05-02 16:13:59 +02:00
|
|
|
import jakarta.xml.bind.annotation.XmlAccessType;
|
|
|
|
import jakarta.xml.bind.annotation.XmlAccessorType;
|
|
|
|
import jakarta.xml.bind.annotation.XmlAttribute;
|
|
|
|
import jakarta.xml.bind.annotation.XmlElement;
|
2024-05-02 14:57:19 +02:00
|
|
|
import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
|
|
|
|
import org.opencdmp.commons.xmladapter.InstantXmlAdapter;
|
|
|
|
|
|
|
|
import java.time.Instant;
|
|
|
|
|
|
|
|
@XmlAccessorType(XmlAccessType.FIELD)
|
|
|
|
public class DescriptionTemplateDefaultValueImportExport {
|
|
|
|
@XmlAttribute(name="value")
|
|
|
|
private String textValue;
|
|
|
|
@XmlElement(name = "dateValue")
|
|
|
|
@XmlJavaTypeAdapter(InstantXmlAdapter.class)
|
|
|
|
private Instant dateValue;
|
|
|
|
|
|
|
|
@XmlElement(name = "booleanValue")
|
|
|
|
private Boolean booleanValue;
|
|
|
|
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|