Class RoomPoll
java.lang.Object
org.apache.openmeetings.db.entity.room.RoomPoll
- All Implemented Interfaces:
Serializable
,IDataProviderEntity
- See Also:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetId()
getName()
getRoom()
getType()
boolean
void
setAnswers
(List<RoomPollAnswer> answers) void
setArchived
(boolean archived) void
setCreated
(Date created) void
setCreator
(User creator) void
void
void
setQuestion
(String question) void
void
setType
(RoomPoll.Type type)
-
Field Details
-
YES_NO_TYPE_ID
public static final int YES_NO_TYPE_ID- See Also:
-
NUMERIC_TYPE_ID
public static final int NUMERIC_TYPE_ID- See Also:
-
-
Constructor Details
-
RoomPoll
public RoomPoll()
-
-
Method Details
-
getCreator
- Returns:
- the creator
-
setCreator
- Parameters:
creator
- the creator to set
-
getCreated
- Returns:
- the created
-
setCreated
- Parameters:
created
- the created to set
-
getQuestion
- Returns:
- the question
-
setQuestion
- Parameters:
question
- the question to set
-
getAnswers
- Returns:
- the answers
-
setAnswers
- Parameters:
answers
- the answers to set
-
getId
- Specified by:
getId
in interfaceIDataProviderEntity
- Returns:
- the id
-
setId
- Specified by:
setId
in interfaceIDataProviderEntity
- Parameters:
id
- the id to set
-
getType
- Returns:
- the type
-
setType
-
getRoom
-
setRoom
-
isArchived
public boolean isArchived()- Returns:
- the archived
-
setArchived
public void setArchived(boolean archived) - Parameters:
archived
- the archived to set
-
getName
- Returns:
- the name
-
setName
- Parameters:
name
- the name to set
-