Class RoomPoll
java.lang.Object
org.apache.openmeetings.db.entity.room.RoomPoll
- All Implemented Interfaces:
Serializable,IDataProviderEntity
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetId()getName()getRoom()getType()booleanvoidsetAnswers(List<RoomPollAnswer> answers) voidsetArchived(boolean archived) voidsetCreated(Date created) voidsetCreator(User creator) voidvoidvoidsetQuestion(String question) voidvoidsetType(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:
getIdin interfaceIDataProviderEntity- Returns:
- the id
-
setId
- Specified by:
setIdin 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
-