65 lines
1.5 KiB
Java
65 lines
1.5 KiB
Java
package eu.eudat.commons.types.referencetype;
|
|
|
|
import eu.eudat.commons.enums.ReferenceTypeSourceType;
|
|
import jakarta.xml.bind.annotation.XmlElement;
|
|
import jakarta.xml.bind.annotation.XmlElementWrapper;
|
|
|
|
import java.util.List;
|
|
|
|
public abstract class ReferenceTypeSourceBaseConfigurationEntity {
|
|
|
|
private String key;
|
|
|
|
private String label;
|
|
|
|
private Integer ordinal;
|
|
private ReferenceTypeSourceType type;
|
|
|
|
private List<ReferenceTypeSourceBaseDependencyEntity> dependencies;
|
|
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;
|
|
}
|
|
|
|
public List<ReferenceTypeSourceBaseDependencyEntity> getDependencies() {
|
|
return dependencies;
|
|
}
|
|
|
|
@XmlElementWrapper
|
|
@XmlElement(name = "dependency")
|
|
public void setDependencies(List<ReferenceTypeSourceBaseDependencyEntity> dependencies) {
|
|
this.dependencies = dependencies;
|
|
}
|
|
}
|