30 lines
646 B
Java
30 lines
646 B
Java
package eu.eudat.commons.types.descriptiontemplate.importmodel.fields;
|
|
|
|
import jakarta.xml.bind.annotation.XmlAttribute;
|
|
import jakarta.xml.bind.annotation.XmlRootElement;
|
|
import jakarta.xml.bind.annotation.XmlValue;
|
|
|
|
@XmlRootElement(name = "value")
|
|
public class ValueImportXml {
|
|
|
|
private String type;
|
|
private String value;
|
|
|
|
@XmlAttribute(name = "type")
|
|
public String getType() {
|
|
return type;
|
|
}
|
|
|
|
public void setType(String type) {
|
|
this.type = type;
|
|
}
|
|
|
|
@XmlValue
|
|
public String getValue() {
|
|
return value;
|
|
}
|
|
|
|
public void setValue(String value) {
|
|
this.value = value;
|
|
}
|
|
} |