@Entity public class RoomPoll extends Object implements IDataProviderEntity
Modifier and Type | Class and Description |
---|---|
static class |
RoomPoll.Type |
Modifier and Type | Field and Description |
---|---|
static int |
NUMERIC_TYPE_ID |
static int |
YES_NO_TYPE_ID |
Constructor and Description |
---|
RoomPoll() |
Modifier and Type | Method and Description |
---|---|
List<RoomPollAnswer> |
getAnswers() |
Date |
getCreated() |
User |
getCreator() |
Long |
getId() |
String |
getName() |
String |
getQuestion() |
Room |
getRoom() |
RoomPoll.Type |
getType() |
boolean |
isArchived() |
void |
setAnswers(List<RoomPollAnswer> answers) |
void |
setArchived(boolean archived) |
void |
setCreated(Date created) |
void |
setCreator(User creator) |
void |
setId(Long id) |
void |
setName(String name) |
void |
setQuestion(String question) |
void |
setRoom(Room room) |
void |
setType(RoomPoll.Type type) |
public static final int YES_NO_TYPE_ID
public static final int NUMERIC_TYPE_ID
public User getCreator()
public void setCreator(User creator)
creator
- the creator to setpublic Date getCreated()
public void setCreated(Date created)
created
- the created to setpublic String getQuestion()
public void setQuestion(String question)
question
- the question to setpublic List<RoomPollAnswer> getAnswers()
public void setAnswers(List<RoomPollAnswer> answers)
answers
- the answers to setpublic Long getId()
getId
in interface IDataProviderEntity
public void setId(Long id)
setId
in interface IDataProviderEntity
id
- the id to setpublic RoomPoll.Type getType()
public void setType(RoomPoll.Type type)
public Room getRoom()
public void setRoom(Room room)
public boolean isArchived()
public void setArchived(boolean archived)
archived
- the archived to setpublic String getName()
public void setName(String name)
name
- the name to setCopyright © 2012–2016 Apache Software Foundation. All rights reserved.