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:
  • Field Details

  • Constructor Details

    • RoomPoll

      public RoomPoll()
  • Method Details

    • 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:
      getId in interface IDataProviderEntity
      Returns:
      the id
    • setId

      public void setId(Long id)
      Specified by:
      setId in interface IDataProviderEntity
      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