argos/dmp-backend/core/src/main/java/eu/eudat/commons/types/dmpblueprint/ExtraFieldEntity.java

24 lines
696 B
Java
Raw Normal View History

2023-10-20 18:13:57 +02:00
package eu.eudat.commons.types.dmpblueprint;
2023-10-23 14:58:33 +02:00
import eu.eudat.commons.enums.DmpBlueprintExtraFieldDataType;
2023-10-24 11:13:05 +02:00
import eu.eudat.commons.enums.DmpBlueprintFieldCategory;
2023-10-27 17:46:34 +02:00
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlAttribute;
2023-10-20 18:13:57 +02:00
import org.w3c.dom.Element;
2023-10-27 17:46:34 +02:00
@XmlAccessorType(XmlAccessType.FIELD)
2023-10-20 18:13:57 +02:00
public class ExtraFieldEntity extends FieldEntity {
2023-10-27 17:46:34 +02:00
@XmlAttribute(name="type")
2023-10-23 14:58:33 +02:00
private DmpBlueprintExtraFieldDataType type;
2023-10-20 18:13:57 +02:00
2023-10-23 14:58:33 +02:00
public DmpBlueprintExtraFieldDataType getType() {
2023-10-20 18:13:57 +02:00
return type;
}
2023-10-23 14:58:33 +02:00
public void setType(DmpBlueprintExtraFieldDataType type) {
2023-10-20 18:13:57 +02:00
this.type = type;
}
}