52 lines
1.0 KiB
Java
52 lines
1.0 KiB
Java
package eu.eudat.commons.types.referencetype;
|
|
|
|
import eu.eudat.commons.enums.ReferenceTypeSourceType;
|
|
import jakarta.xml.bind.annotation.XmlElement;
|
|
|
|
public abstract class ReferenceTypeSourceBaseConfigurationEntity {
|
|
|
|
private String key;
|
|
|
|
private String label;
|
|
|
|
private Integer ordinal;
|
|
private ReferenceTypeSourceType type;
|
|
|
|
|
|
public ReferenceTypeSourceType getType() {
|
|
return type;
|
|
}
|
|
|
|
public String getKey() {
|
|
return key;
|
|
}
|
|
|
|
@XmlElement(name = "key")
|
|
public void setKey(String key) {
|
|
this.key = key;
|
|
}
|
|
|
|
public String getLabel() {
|
|
return label;
|
|
}
|
|
|
|
@XmlElement(name = "label")
|
|
public void setLabel(String label) {
|
|
this.label = label;
|
|
}
|
|
|
|
public Integer getOrdinal() {
|
|
return ordinal;
|
|
}
|
|
|
|
@XmlElement(name = "ordinal")
|
|
public void setOrdinal(Integer ordinal) {
|
|
this.ordinal = ordinal;
|
|
}
|
|
|
|
@XmlElement(name = "type")
|
|
public void setType(ReferenceTypeSourceType type) {
|
|
this.type = type;
|
|
}
|
|
}
|