package net.sourceforge.fenixedu.dataTransferObject.messaging; import java.io.Serializable; import net.sourceforge.fenixedu.domain.DomainReference; import net.sourceforge.fenixedu.domain.Person; import net.sourceforge.fenixedu.domain.messaging.ConversationThread; import pt.utl.ist.fenix.tools.util.i18n.MultiLanguageString; public class CreateConversationMessageBean implements Serializable { private MultiLanguageString body; private DomainReference creatorReference; private DomainReference conversationThreadReference; public CreateConversationMessageBean() { super(); creatorReference = new DomainReference(null); conversationThreadReference = new DomainReference(null); } public MultiLanguageString getBody() { return body; } public void setBody(MultiLanguageString body) { this.body = body; } public Person getCreator() { return this.creatorReference.getObject(); } public void setCreator(Person creator) { this.creatorReference = new DomainReference(creator); } public ConversationThread getConversationThread() { return this.conversationThreadReference.getObject(); } public void setConversationThread(ConversationThread conversationThread) { this.conversationThreadReference = new DomainReference(conversationThread); } }