2023-10-27 17:46:34 +02:00
|
|
|
package eu.eudat.commons.types.descriptiontemplate.fielddata;
|
2017-11-30 11:10:42 +01:00
|
|
|
|
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;
|
2019-02-25 17:46:16 +01:00
|
|
|
|
2024-01-08 15:10:29 +01:00
|
|
|
|
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-08 15:10:29 +01:00
|
|
|
|
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
|
|
|
}
|
2017-11-30 11:10:42 +01:00
|
|
|
}
|