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

33 lines
776 B
Java
Raw Normal View History

2023-10-27 17:46:34 +02:00
package eu.eudat.commons.types.descriptiontemplate.fielddata;
2023-10-30 14:07:59 +01:00
import eu.eudat.commons.enums.FieldType;
2024-01-30 15:31:03 +01:00
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlAttribute;
2024-01-30 15:31:03 +01:00
@XmlAccessorType(XmlAccessType.FIELD)
2024-01-31 09:44:48 +01:00
public abstract class BaseFieldDataEntity {
2024-01-30 15:31:03 +01:00
@XmlAttribute(name = "label")
2018-02-16 11:34:02 +01:00
private String label;
2024-01-30 15:31:03 +01:00
@XmlAttribute(name = "fieldType")
private FieldType fieldType;
2018-02-16 11:34:02 +01:00
public String getLabel() {
return label;
}
public void setLabel(String label) {
this.label = label;
}
2024-01-30 15:31:03 +01:00
public FieldType getFieldType() {
return fieldType;
2023-10-30 14:07:59 +01:00
}
2024-01-30 15:31:03 +01:00
public void setFieldType(FieldType fieldType) {
this.fieldType = fieldType;
2018-02-16 11:34:02 +01:00
}
}