151 lines
3.8 KiB
Java
151 lines
3.8 KiB
Java
package eu.eudat.file.transformer.models.descriptiontemplate.definition.fielddata;
|
|
|
|
import jakarta.xml.bind.annotation.*;
|
|
|
|
import java.util.List;
|
|
|
|
|
|
@XmlAccessorType(XmlAccessType.FIELD)
|
|
public class ExternalSelectDataFileTransformerModel extends LabelAndMultiplicityDataFileTransformerModel {
|
|
public static class ExternalSelectAuthDataFileTransformerModel {
|
|
private String url;
|
|
private String method;
|
|
private String body;
|
|
private String path;
|
|
private String type;
|
|
|
|
public String getUrl() {
|
|
return url;
|
|
}
|
|
|
|
public void setUrl(String url) {
|
|
this.url = url;
|
|
}
|
|
|
|
public String getMethod() {
|
|
return method;
|
|
}
|
|
|
|
public void setMethod(String method) {
|
|
this.method = method;
|
|
}
|
|
|
|
public String getBody() {
|
|
return body;
|
|
}
|
|
|
|
public void setBody(String body) {
|
|
this.body = body;
|
|
}
|
|
|
|
public String getPath() {
|
|
return path;
|
|
}
|
|
|
|
public void setPath(String path) {
|
|
this.path = path;
|
|
}
|
|
|
|
public String getType() {
|
|
return type;
|
|
}
|
|
|
|
public void setType(String type) {
|
|
this.type = type;
|
|
}
|
|
}
|
|
|
|
public static class ExternalSelectSourceBindingFileTransformerModel {
|
|
private String label;
|
|
private String value;
|
|
private String source;
|
|
|
|
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 static class ExternalSelectSourceFileTransformerModel {
|
|
private String url;
|
|
private String method;
|
|
private String optionsRoot;
|
|
private ExternalSelectSourceBindingFileTransformerModel sourceBinding;
|
|
private Boolean hasAuth;
|
|
private ExternalSelectAuthDataFileTransformerModel auth;
|
|
|
|
public String getOptionsRoot() {
|
|
return optionsRoot;
|
|
}
|
|
public void setOptionsRoot(String optionsRoot) {
|
|
this.optionsRoot = optionsRoot;
|
|
}
|
|
|
|
public String getUrl() {
|
|
return url;
|
|
}
|
|
public void setUrl(String url) {
|
|
this.url = url;
|
|
}
|
|
|
|
public Boolean getHasAuth() {
|
|
return hasAuth;
|
|
}
|
|
|
|
public void setHasAuth(Boolean hasAuth) {
|
|
this.hasAuth = hasAuth;
|
|
}
|
|
|
|
public ExternalSelectAuthDataFileTransformerModel getAuth() {
|
|
return auth;
|
|
}
|
|
|
|
public void setAuth(ExternalSelectAuthDataFileTransformerModel auth) {
|
|
this.auth = auth;
|
|
}
|
|
|
|
public ExternalSelectSourceBindingFileTransformerModel getSourceBinding() {
|
|
return sourceBinding;
|
|
}
|
|
public void setSourceBinding(ExternalSelectSourceBindingFileTransformerModel sourceBinding) {
|
|
this.sourceBinding = sourceBinding;
|
|
}
|
|
|
|
public String getMethod() {
|
|
return method;
|
|
}
|
|
|
|
public void setMethod(String method) {
|
|
this.method = method;
|
|
}
|
|
}
|
|
|
|
private List<ExternalSelectSourceFileTransformerModel> sources;
|
|
|
|
public List<ExternalSelectSourceFileTransformerModel> getSources() {
|
|
return sources;
|
|
}
|
|
|
|
public void setSources(List<ExternalSelectSourceFileTransformerModel> externalSelectSourceFileTransformerModelList) {
|
|
this.sources = externalSelectSourceFileTransformerModelList;
|
|
}
|
|
}
|
|
|
|
|