parent
46fee631f3
commit
136ad41b89
|
@ -6,13 +6,10 @@ import javax.xml.bind.annotation.XmlElement;
|
|||
import javax.xml.bind.annotation.XmlElementWrapper;
|
||||
import javax.xml.bind.annotation.XmlRootElement;
|
||||
|
||||
import org.bench4q.share.models.master.plugin.ParamInfoModel;
|
||||
|
||||
@XmlRootElement(name = "behaviorInfo")
|
||||
public class BehaviorInfoModel {
|
||||
private String name;
|
||||
@SuppressWarnings("rawtypes")
|
||||
private List<ParamInfoModel> parameters;
|
||||
private List<ParameterInfoModel> parameters;
|
||||
|
||||
@XmlElement
|
||||
public String getName() {
|
||||
|
@ -23,16 +20,13 @@ public class BehaviorInfoModel {
|
|||
this.name = name;
|
||||
}
|
||||
|
||||
|
||||
@SuppressWarnings("rawtypes")
|
||||
@XmlElementWrapper(name = "parameters")
|
||||
@XmlElement(name = "parameter")
|
||||
public List<ParamInfoModel> getParameters() {
|
||||
public List<ParameterInfoModel> getParameters() {
|
||||
return parameters;
|
||||
}
|
||||
|
||||
public void setParameters(@SuppressWarnings("rawtypes") List<ParamInfoModel> parameters) {
|
||||
public void setParameters(List<ParameterInfoModel> parameters) {
|
||||
this.parameters = parameters;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue