?? vote.java
字號:
package cn.hxex.vote.model;
import java.util.Set;
/**
* 投票類,表示一個投票
*
* @author galaxy
*
*/
public class Vote
{
/**
* 主鍵值
*/
private String id;
/**
* 英文標識
*/
private String name;
/**
* 投票的名稱
*/
private String title;
/**
* 投票類型:單選還是多選
*/
private String votetype;
/**
* 圖形的類型:無,柱狀圖,餅圖等
*/
private String pictype;
/**
* 投票的選項
*/
private Set voteitems;
/**
* @return Returns the fullname.
*/
public String getTitle()
{
return title;
}
/**
* @param fullname The fullname to set.
*/
public void setTitle(String fullname)
{
this.title = fullname;
}
/**
* @return Returns the id.
*/
public String getId()
{
return id;
}
/**
* @param id The id to set.
*/
public void setId(String id)
{
this.id = id;
}
/**
* @return Returns the name.
*/
public String getName()
{
return name;
}
/**
* @param name The name to set.
*/
public void setName(String name)
{
this.name = name;
}
/**
* @return Returns the pictype.
*/
public String getPictype()
{
return pictype;
}
/**
* @param pictype The pictype to set.
*/
public void setPictype(String pictype)
{
this.pictype = pictype;
}
/**
* @return Returns the votetype.
*/
public String getVotetype()
{
return votetype;
}
/**
* @param votetype The votetype to set.
*/
public void setVotetype(String type)
{
this.votetype = type;
}
/**
* @return Returns the voteitems.
*/
public Set getVoteitems()
{
return voteitems;
}
/**
* @param voteitems The voteitems to set.
*/
public void setVoteitems(Set voteitems)
{
this.voteitems = voteitems;
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -