Class RoomPoll
- java.lang.Object
-
- org.apache.openmeetings.db.entity.room.RoomPoll
-
- All Implemented Interfaces:
Serializable,IDataProviderEntity
@Entity public class RoomPoll extends Object implements IDataProviderEntity
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRoomPoll.Type
-
Field Summary
Fields Modifier and Type Field Description static intNUMERIC_TYPE_IDstatic intYES_NO_TYPE_ID
-
Constructor Summary
Constructors Constructor Description RoomPoll()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<RoomPollAnswer>getAnswers()DategetCreated()UsergetCreator()LonggetId()StringgetName()StringgetQuestion()RoomgetRoom()RoomPoll.TypegetType()booleanisArchived()voidsetAnswers(List<RoomPollAnswer> answers)voidsetArchived(boolean archived)voidsetCreated(Date created)voidsetCreator(User creator)voidsetId(Long id)voidsetName(String name)voidsetQuestion(String question)voidsetRoom(Room room)voidsetType(RoomPoll.Type type)
-
-
-
Field Detail
-
YES_NO_TYPE_ID
public static final int YES_NO_TYPE_ID
- See Also:
- Constant Field Values
-
NUMERIC_TYPE_ID
public static final int NUMERIC_TYPE_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
getCreator
public User getCreator()
- Returns:
- the creator
-
setCreator
public void setCreator(User creator)
- Parameters:
creator- the creator to set
-
getCreated
public Date getCreated()
- Returns:
- the created
-
setCreated
public void setCreated(Date created)
- Parameters:
created- the created to set
-
getQuestion
public String getQuestion()
- Returns:
- the question
-
setQuestion
public void setQuestion(String question)
- Parameters:
question- the question to set
-
getAnswers
public List<RoomPollAnswer> getAnswers()
- Returns:
- the answers
-
setAnswers
public void setAnswers(List<RoomPollAnswer> answers)
- Parameters:
answers- the answers to set
-
getId
public Long getId()
- Specified by:
getIdin interfaceIDataProviderEntity- Returns:
- the id
-
setId
public void setId(Long id)
- Specified by:
setIdin interfaceIDataProviderEntity- Parameters:
id- the id to set
-
getType
public RoomPoll.Type getType()
- Returns:
- the type
-
setType
public void setType(RoomPoll.Type type)
-
getRoom
public Room getRoom()
-
setRoom
public void setRoom(Room room)
-
isArchived
public boolean isArchived()
- Returns:
- the archived
-
setArchived
public void setArchived(boolean archived)
- Parameters:
archived- the archived to set
-
getName
public String getName()
- Returns:
- the name
-
setName
public void setName(String name)
- Parameters:
name- the name to set
-
-