How to set submitted values of inside into map, set or list

后端 未结 3 1320
再見小時候
再見小時候 2020-12-06 22:33

I would like to know if it possible to push a value from inside a to a map, a set or a list?

I would like to pass the value of the

3条回答
  •  天命终不由人
    2020-12-06 22:57

    Do you mean like this?

    
    

    in BackBean:

    public class Par implements Serializable {
    
    private String inputText;
    private String bezeichnung;
    
    public Par()
    {
    }
    
    public void setInput(String input)
    {
    this.inputText = input;
    }
    
    public String getInput()
    {
    return this.inputText
    }
    
    public void setBezeichnung(String bezeichnung)
    {
    this.bezeichnung = bezeichnung;
    }
    
    public String getBezeichnung()
    {
    return this.bezeichnung
    }
    
    }
    

提交回复
热议问题