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