2019-02-25 17:53:36 +01:00
|
|
|
package eu.eudat.logic.utilities.documents.xml.dmpXml.dmpProfileModel;
|
|
|
|
|
|
|
|
|
2022-01-21 09:58:29 +01:00
|
|
|
import jakarta.xml.bind.annotation.XmlAttribute;
|
|
|
|
import jakarta.xml.bind.annotation.XmlRootElement;
|
2019-02-25 17:53:36 +01:00
|
|
|
|
|
|
|
@XmlRootElement(name = "type")
|
|
|
|
public class DMPProfileType {
|
|
|
|
|
|
|
|
private int type;
|
|
|
|
|
|
|
|
@XmlAttribute(name = "type")
|
|
|
|
public int getType() {
|
|
|
|
return type;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setType(int type) {
|
|
|
|
this.type = type;
|
|
|
|
}
|
|
|
|
|
|
|
|
public eu.eudat.models.data.entities.xmlmodels.dmpprofiledefinition.types.DMPProfileType toDmpProfileCompositeModel() {
|
|
|
|
return eu.eudat.models.data.entities.xmlmodels.dmpprofiledefinition.types.DMPProfileType.fromInteger(type);
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|