31 lines
792 B
Java
31 lines
792 B
Java
package eu.eudat.commons.types.descriptiontemplate.importexport.fielddata;
|
|
|
|
import eu.eudat.commons.enums.FieldType;
|
|
import jakarta.xml.bind.annotation.XmlAccessType;
|
|
import jakarta.xml.bind.annotation.XmlAccessorType;
|
|
import jakarta.xml.bind.annotation.XmlAttribute;
|
|
|
|
@XmlAccessorType(XmlAccessType.FIELD)
|
|
public abstract class BaseFieldDataImportExport {
|
|
@XmlAttribute(name = "label")
|
|
private String label;
|
|
@XmlAttribute(name = "fieldType")
|
|
private FieldType fieldType;
|
|
|
|
public String getLabel() {
|
|
return label;
|
|
}
|
|
|
|
public void setLabel(String label) {
|
|
this.label = label;
|
|
}
|
|
|
|
public FieldType getFieldType() {
|
|
return fieldType;
|
|
}
|
|
|
|
public void setFieldType(FieldType fieldType) {
|
|
this.fieldType = fieldType;
|
|
}
|
|
}
|