52 lines
1.3 KiB
Java
52 lines
1.3 KiB
Java
package eu.eudat.commons.types.descriptiontemplate.fielddata;
|
|
|
|
import jakarta.xml.bind.annotation.XmlAccessType;
|
|
import jakarta.xml.bind.annotation.XmlAccessorType;
|
|
import jakarta.xml.bind.annotation.XmlAttribute;
|
|
|
|
@XmlAccessorType(XmlAccessType.FIELD)
|
|
public abstract class ComboBoxDataEntity<T> extends BaseFieldDataEntity<T> {
|
|
|
|
@XmlAccessorType(XmlAccessType.FIELD)
|
|
public static class Option {
|
|
@XmlAttribute(name="label")
|
|
private String label;
|
|
@XmlAttribute(name="value")
|
|
private String value;
|
|
@XmlAttribute(name="source")
|
|
private String source;
|
|
@XmlAttribute(name="uri")
|
|
private String uri;
|
|
|
|
public String getLabel() {
|
|
return label;
|
|
}
|
|
public void setLabel(String label) {
|
|
this.label = label;
|
|
}
|
|
|
|
public String getValue() {
|
|
return value;
|
|
}
|
|
public void setValue(String value) {
|
|
this.value = value;
|
|
}
|
|
|
|
public String getSource() {
|
|
return source;
|
|
}
|
|
public void setSource(String source) {
|
|
this.source = source;
|
|
}
|
|
|
|
public String getUri() {
|
|
return uri;
|
|
}
|
|
|
|
public void setUri(String uri) {
|
|
this.uri = uri;
|
|
}
|
|
}
|
|
|
|
}
|