recover the edit

recover the edit
This commit is contained in:
coderfengyun 2014-04-16 15:27:14 +08:00
parent 46fee631f3
commit 136ad41b89
1 changed files with 3 additions and 9 deletions

View File

@ -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;
}
}