2019-08-20 17:22:53 +02:00
|
|
|
package eu.eudat.configurations.dynamicfunder.entities;
|
|
|
|
|
2022-01-21 09:58:29 +01:00
|
|
|
import jakarta.xml.bind.annotation.XmlElement;
|
|
|
|
import jakarta.xml.bind.annotation.XmlElementWrapper;
|
|
|
|
import jakarta.xml.bind.annotation.XmlRootElement;
|
2019-08-20 17:22:53 +02:00
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
@XmlRootElement
|
|
|
|
public class Configuration {
|
|
|
|
private List<Property> configurationProperties;
|
|
|
|
private MainProperty mainExternalField;
|
|
|
|
|
|
|
|
public MainProperty getMainExternalField() {
|
|
|
|
return mainExternalField;
|
|
|
|
}
|
|
|
|
|
|
|
|
@XmlElement(name = "mainExternalField")
|
|
|
|
public void setMainExternalField(MainProperty mainExternalField) {
|
|
|
|
this.mainExternalField = mainExternalField;
|
|
|
|
}
|
|
|
|
|
|
|
|
public List<Property> getConfigurationProperties() {
|
|
|
|
return configurationProperties;
|
|
|
|
}
|
|
|
|
|
|
|
|
@XmlElementWrapper
|
|
|
|
@XmlElement(name = "property")
|
|
|
|
public void setConfigurationProperties(List<Property> configurationProperties) {
|
|
|
|
this.configurationProperties = configurationProperties;
|
|
|
|
}
|
|
|
|
}
|