📄 receivebean.java
字号:
package bean;
/**
* @author diaoyifei
*
* 参数接收JavaBean
*/
public class ReceiveBean
{
/** 数字 */
private int num;
/** 文本 */
private String txt;
/** 布尔 */
private boolean bool;
/**
* JavaBean规范要求要有1个空参数的构造方法
*
*/
public ReceiveBean()
{
}
/**
* @return Returns the bool.
*/
public boolean isBool()
{
return bool;
}
/**
* @param bool The bool to set.
*/
public void setBool(boolean bool)
{
this.bool = bool;
}
/**
* @return Returns the num.
*/
public int getNum()
{
return num;
}
/**
* @param num The num to set.
*/
public void setNum(int num)
{
this.num = num;
}
/**
* @return Returns the txt.
*/
public String getTxt()
{
return txt;
}
/**
* @param txt The txt to set.
*/
public void setTxt(String txt)
{
this.txt = txt;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -