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.party.common.transfer; 018 019import com.echothree.model.control.core.common.transfer.MimeTypeTransfer; 020import com.echothree.model.control.icon.common.transfer.IconTransfer; 021import com.echothree.util.common.transfer.BaseTransfer; 022 023public class ProfileTransfer 024 extends BaseTransfer { 025 026 private String nickname; 027 private IconTransfer icon; 028 private String pronunciation; 029 private GenderTransfer gender; 030 private String pronouns; 031 private String birthday; 032 private Integer unformattedBirthday; 033 private BirthdayFormatTransfer birthdayFormat; 034 private String occupation; 035 private String hobbies; 036 private String location; 037 private MimeTypeTransfer bioMimeType; 038 private String bio; 039 private MimeTypeTransfer signatureMimeType; 040 private String signature; 041 042 /** Creates a new instance of ProfileTransfer */ 043 public ProfileTransfer(String nickname, IconTransfer icon, String pronunciation, GenderTransfer gender, String pronouns, 044 String birthday, Integer unformattedBirthday, BirthdayFormatTransfer birthdayFormat, String occupation, String hobbies, 045 String location, MimeTypeTransfer bioMimeType, String bio, MimeTypeTransfer signatureMimeType, String signature) { 046 this.nickname = nickname; 047 this.icon = icon; 048 this.pronunciation = pronunciation; 049 this.gender = gender; 050 this.pronouns = pronouns; 051 this.unformattedBirthday = unformattedBirthday; 052 this.birthday = birthday; 053 this.birthdayFormat = birthdayFormat; 054 this.occupation = occupation; 055 this.hobbies = hobbies; 056 this.location = location; 057 this.bioMimeType = bioMimeType; 058 this.bio = bio; 059 this.signatureMimeType = signatureMimeType; 060 this.signature = signature; 061 } 062 063 /** 064 * Returns the nickname. 065 * @return the nickname 066 */ 067 public String getNickname() { 068 return nickname; 069 } 070 071 /** 072 * Sets the nickname. 073 * @param nickname the nickname to set 074 */ 075 public void setNickname(String nickname) { 076 this.nickname = nickname; 077 } 078 079 /** 080 * Returns the icon. 081 * @return the icon 082 */ 083 public IconTransfer getIcon() { 084 return icon; 085 } 086 087 /** 088 * Sets the icon. 089 * @param icon the icon to set 090 */ 091 public void setIcon(IconTransfer icon) { 092 this.icon = icon; 093 } 094 095 /** 096 * Returns the pronunciation. 097 * @return the pronunciation 098 */ 099 public String getPronunciation() { 100 return pronunciation; 101 } 102 103 /** 104 * Sets the pronunciation. 105 * @param pronunciation the pronunciation to set 106 */ 107 public void setPronunciation(String pronunciation) { 108 this.pronunciation = pronunciation; 109 } 110 111 /** 112 * Returns the gender. 113 * @return the gender 114 */ 115 public GenderTransfer getGender() { 116 return gender; 117 } 118 119 /** 120 * Sets the gender. 121 * @param gender the gender to set 122 */ 123 public void setGender(GenderTransfer gender) { 124 this.gender = gender; 125 } 126 127 /** 128 * Returns the pronouns. 129 * @return the pronouns 130 */ 131 public String getPronouns() { 132 return pronouns; 133 } 134 135 /** 136 * Sets the pronouns. 137 * @param pronouns the pronouns to set 138 */ 139 public void setPronouns(String pronouns) { 140 this.pronouns = pronouns; 141 } 142 143 /** 144 * Returns the birthday. 145 * @return the birthday 146 */ 147 public String getBirthday() { 148 return birthday; 149 } 150 151 /** 152 * Sets the birthday. 153 * @param birthday the birthday to set 154 */ 155 public void setBirthday(String birthday) { 156 this.birthday = birthday; 157 } 158 159 /** 160 * Returns the unformattedBirthday. 161 * @return the unformattedBirthday 162 */ 163 public Integer getUnformattedBirthday() { 164 return unformattedBirthday; 165 } 166 167 /** 168 * Sets the unformattedBirthday. 169 * @param unformattedBirthday the unformattedBirthday to set 170 */ 171 public void setUnformattedBirthday(Integer unformattedBirthday) { 172 this.unformattedBirthday = unformattedBirthday; 173 } 174 175 /** 176 * Returns the birthdayFormat. 177 * @return the birthdayFormat 178 */ 179 public BirthdayFormatTransfer getBirthdayFormat() { 180 return birthdayFormat; 181 } 182 183 /** 184 * Sets the birthdayFormat. 185 * @param birthdayFormat the birthdayFormat to set 186 */ 187 public void setBirthdayFormat(BirthdayFormatTransfer birthdayFormat) { 188 this.birthdayFormat = birthdayFormat; 189 } 190 191 /** 192 * Returns the occupation. 193 * @return the occupation 194 */ 195 public String getOccupation() { 196 return occupation; 197 } 198 199 /** 200 * Sets the occupation. 201 * @param occupation the occupation to set 202 */ 203 public void setOccupation(String occupation) { 204 this.occupation = occupation; 205 } 206 207 /** 208 * Returns the hobbies. 209 * @return the hobbies 210 */ 211 public String getHobbies() { 212 return hobbies; 213 } 214 215 /** 216 * Sets the hobbies. 217 * @param hobbies the hobbies to set 218 */ 219 public void setHobbies(String hobbies) { 220 this.hobbies = hobbies; 221 } 222 223 /** 224 * Returns the location. 225 * @return the location 226 */ 227 public String getLocation() { 228 return location; 229 } 230 231 /** 232 * Sets the location. 233 * @param location the location to set 234 */ 235 public void setLocation(String location) { 236 this.location = location; 237 } 238 239 /** 240 * Returns the bioMimeType. 241 * @return the bioMimeType 242 */ 243 public MimeTypeTransfer getBioMimeType() { 244 return bioMimeType; 245 } 246 247 /** 248 * Sets the bioMimeType. 249 * @param bioMimeType the bioMimeType to set 250 */ 251 public void setBioMimeType(MimeTypeTransfer bioMimeType) { 252 this.bioMimeType = bioMimeType; 253 } 254 255 /** 256 * Returns the bio. 257 * @return the bio 258 */ 259 public String getBio() { 260 return bio; 261 } 262 263 /** 264 * Sets the bio. 265 * @param bio the bio to set 266 */ 267 public void setBio(String bio) { 268 this.bio = bio; 269 } 270 271 /** 272 * Returns the signatureMimeType. 273 * @return the signatureMimeType 274 */ 275 public MimeTypeTransfer getSignatureMimeType() { 276 return signatureMimeType; 277 } 278 279 /** 280 * Sets the signatureMimeType. 281 * @param signatureMimeType the signatureMimeType to set 282 */ 283 public void setSignatureMimeType(MimeTypeTransfer signatureMimeType) { 284 this.signatureMimeType = signatureMimeType; 285 } 286 287 /** 288 * Returns the signature. 289 * @return the signature 290 */ 291 public String getSignature() { 292 return signature; 293 } 294 295 /** 296 * Sets the signature. 297 * @param signature the signature to set 298 */ 299 public void setSignature(String signature) { 300 this.signature = signature; 301 } 302 303}