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.content.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 ContentPageAreaTransfer 025 extends BaseTransfer { 026 027 private ContentPageTransfer contentPage; 028 private ContentPageLayoutAreaTransfer contentPageLayoutArea; 029 private LanguageTransfer language; 030 private MimeTypeTransfer mimeType; 031 private ByteArray blob; 032 private String clob; 033 private String string; 034 private String url; 035 036 /** Creates a new instance of ContentPageAreaTransfer */ 037 public ContentPageAreaTransfer(ContentPageTransfer contentPage, ContentPageLayoutAreaTransfer contentPageLayoutArea, LanguageTransfer language, 038 MimeTypeTransfer mimeType, ByteArray blob, String clob, String string, String url) { 039 this.contentPage = contentPage; 040 this.contentPageLayoutArea = contentPageLayoutArea; 041 this.language = language; 042 this.mimeType = mimeType; 043 this.blob = blob; 044 this.clob = clob; 045 this.string = string; 046 this.url = url; 047 } 048 049 /** 050 * Returns the contentPage. 051 * @return the contentPage 052 */ 053 public ContentPageTransfer getContentPage() { 054 return contentPage; 055 } 056 057 /** 058 * Sets the contentPage. 059 * @param contentPage the contentPage to set 060 */ 061 public void setContentPage(ContentPageTransfer contentPage) { 062 this.contentPage = contentPage; 063 } 064 065 /** 066 * Returns the contentPageLayoutArea. 067 * @return the contentPageLayoutArea 068 */ 069 public ContentPageLayoutAreaTransfer getContentPageLayoutArea() { 070 return contentPageLayoutArea; 071 } 072 073 /** 074 * Sets the contentPageLayoutArea. 075 * @param contentPageLayoutArea the contentPageLayoutArea to set 076 */ 077 public void setContentPageLayoutArea(ContentPageLayoutAreaTransfer contentPageLayoutArea) { 078 this.contentPageLayoutArea = contentPageLayoutArea; 079 } 080 081 /** 082 * Returns the language. 083 * @return the language 084 */ 085 public LanguageTransfer getLanguage() { 086 return language; 087 } 088 089 /** 090 * Sets the language. 091 * @param language the language to set 092 */ 093 public void setLanguage(LanguageTransfer language) { 094 this.language = language; 095 } 096 097 /** 098 * Returns the mimeType. 099 * @return the mimeType 100 */ 101 public MimeTypeTransfer getMimeType() { 102 return mimeType; 103 } 104 105 /** 106 * Sets the mimeType. 107 * @param mimeType the mimeType to set 108 */ 109 public void setMimeType(MimeTypeTransfer mimeType) { 110 this.mimeType = mimeType; 111 } 112 113 /** 114 * Returns the blob. 115 * @return the blob 116 */ 117 public ByteArray getBlob() { 118 return blob; 119 } 120 121 /** 122 * Sets the blob. 123 * @param blob the blob to set 124 */ 125 public void setBlob(ByteArray blob) { 126 this.blob = blob; 127 } 128 129 /** 130 * Returns the clob. 131 * @return the clob 132 */ 133 public String getClob() { 134 return clob; 135 } 136 137 /** 138 * Sets the clob. 139 * @param clob the clob to set 140 */ 141 public void setClob(String clob) { 142 this.clob = clob; 143 } 144 145 /** 146 * Returns the string. 147 * @return the string 148 */ 149 public String getString() { 150 return string; 151 } 152 153 /** 154 * Sets the string. 155 * @param string the string to set 156 */ 157 public void setString(String string) { 158 this.string = string; 159 } 160 161 /** 162 * Returns the url. 163 * @return the url 164 */ 165 public String getUrl() { 166 return url; 167 } 168 169 /** 170 * Sets the url. 171 * @param url the url to set 172 */ 173 public void setUrl(String url) { 174 this.url = url; 175 } 176 177}