001// -------------------------------------------------------------------------------- 002// Copyright 2002-2024 Echo Three, LLC 003// 004// Licensed under the Apache License, Version 2.0 (the "License"); 005// you may not use this file except in compliance with the License. 006// You may obtain a copy of the License at 007// 008// http://www.apache.org/licenses/LICENSE-2.0 009// 010// Unless required by applicable law or agreed to in writing, software 011// distributed under the License is distributed on an "AS IS" BASIS, 012// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 013// See the License for the specific language governing permissions and 014// limitations under the License. 015// -------------------------------------------------------------------------------- 016 017package com.echothree.model.control.forum.common.transfer; 018 019import com.echothree.model.control.core.common.transfer.MimeTypeTransfer; 020import com.echothree.model.control.party.common.transfer.LanguageTransfer; 021import com.echothree.util.common.persistence.type.ByteArray; 022import com.echothree.util.common.transfer.BaseTransfer; 023 024public class ForumMessagePartTransfer 025 extends BaseTransfer { 026 027 private ForumMessageTransfer forumMessage; 028 private ForumMessagePartTypeTransfer forumMessagePartType; 029 private LanguageTransfer language; 030 private MimeTypeTransfer mimeType; 031 private ByteArray blob; 032 private String clob; 033 private String string; 034 035 /** Creates a new instance of ForumMessagePartTransfer */ 036 public ForumMessagePartTransfer(ForumMessageTransfer forumMessage, ForumMessagePartTypeTransfer forumMessagePartType, 037 LanguageTransfer language, MimeTypeTransfer mimeType, ByteArray blob, String clob, String string) { 038 this.forumMessage = forumMessage; 039 this.forumMessagePartType = forumMessagePartType; 040 this.language = language; 041 this.mimeType = mimeType; 042 this.blob = blob; 043 this.clob = clob; 044 this.string = string; 045 } 046 047 public ForumMessageTransfer getForumMessage() { 048 return forumMessage; 049 } 050 051 public void setForumMessage(ForumMessageTransfer forumMessage) { 052 this.forumMessage = forumMessage; 053 } 054 055 public ForumMessagePartTypeTransfer getForumMessagePartType() { 056 return forumMessagePartType; 057 } 058 059 public void setForumMessagePartType(ForumMessagePartTypeTransfer forumMessagePartType) { 060 this.forumMessagePartType = forumMessagePartType; 061 } 062 063 public LanguageTransfer getLanguage() { 064 return language; 065 } 066 067 public void setLanguage(LanguageTransfer language) { 068 this.language = language; 069 } 070 071 public MimeTypeTransfer getMimeType() { 072 return mimeType; 073 } 074 075 public void setMimeType(MimeTypeTransfer mimeType) { 076 this.mimeType = mimeType; 077 } 078 079 public ByteArray getBlob() { 080 return blob; 081 } 082 083 public void setBlob(ByteArray blob) { 084 this.blob = blob; 085 } 086 087 public String getClob() { 088 return clob; 089 } 090 091 public void setClob(String clob) { 092 this.clob = clob; 093 } 094 095 public String getString() { 096 return string; 097 } 098 099 public void setString(String string) { 100 this.string = string; 101 } 102 103}