30 lines
653 B
Java
30 lines
653 B
Java
package eu.eudat.logic.utilities.documents.xml.datasetProfileXml.datasetProfileModel.Fields;
|
|
|
|
import javax.xml.bind.annotation.XmlAttribute;
|
|
import javax.xml.bind.annotation.XmlRootElement;
|
|
import javax.xml.bind.annotation.XmlValue;
|
|
|
|
@XmlRootElement(name = "value")
|
|
public class Value {
|
|
|
|
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;
|
|
}
|
|
} |