1
|
package eu.dnetlib.msro.workers.aggregation.collect.plugins;
|
2
|
|
3
|
import java.util.ArrayList;
|
4
|
import java.util.List;
|
5
|
import javax.xml.bind.annotation.XmlRootElement;
|
6
|
|
7
|
import org.springframework.beans.factory.annotation.Required;
|
8
|
|
9
|
@XmlRootElement
|
10
|
public class ProtocolDescriptor {
|
11
|
|
12
|
private String name;
|
13
|
private List<ProtocolParameter> params = new ArrayList<ProtocolParameter>();
|
14
|
|
15
|
public ProtocolDescriptor() {
|
16
|
}
|
17
|
|
18
|
public ProtocolDescriptor(final String name, final List<ProtocolParameter> params) {
|
19
|
this.name = name;
|
20
|
this.params = params;
|
21
|
}
|
22
|
|
23
|
public String getName() {
|
24
|
return name;
|
25
|
}
|
26
|
|
27
|
@Required
|
28
|
public void setName(final String name) {
|
29
|
this.name = name;
|
30
|
}
|
31
|
|
32
|
public List<ProtocolParameter> getParams() {
|
33
|
return params;
|
34
|
}
|
35
|
|
36
|
public void setParams(final List<ProtocolParameter> params) {
|
37
|
this.params = params;
|
38
|
}
|
39
|
}
|