001// -------------------------------------------------------------------------------- 002// Copyright 2002-2025 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.ApplicationEditorTransfer; 020import com.echothree.model.control.core.common.transfer.ApplicationEditorUseTransfer; 021import com.echothree.util.common.transfer.BaseTransfer; 022 023public class PartyApplicationEditorUseTransfer 024 extends BaseTransfer { 025 026 private PartyTransfer party; 027 private ApplicationEditorUseTransfer applicationEditorUse; 028 private ApplicationEditorTransfer applicationEditor; 029 private Integer preferredHeight; 030 private Integer preferredWidth; 031 032 /** Creates a new instance of PartyApplicationEditorUseTransfer */ 033 public PartyApplicationEditorUseTransfer(PartyTransfer party, ApplicationEditorUseTransfer applicationEditorUse, 034 ApplicationEditorTransfer applicationEditor, Integer preferredHeight, Integer preferredWidth) { 035 this.party = party; 036 this.applicationEditorUse = applicationEditorUse; 037 this.applicationEditor = applicationEditor; 038 this.preferredHeight = preferredHeight; 039 this.preferredWidth = preferredWidth; 040 } 041 042 /** 043 * Returns the party. 044 * @return the party 045 */ 046 public PartyTransfer getParty() { 047 return party; 048 } 049 050 /** 051 * Sets the party. 052 * @param party the party to set 053 */ 054 public void setParty(PartyTransfer party) { 055 this.party = party; 056 } 057 058 /** 059 * Returns the applicationEditorUse. 060 * @return the applicationEditorUse 061 */ 062 public ApplicationEditorUseTransfer getApplicationEditorUse() { 063 return applicationEditorUse; 064 } 065 066 /** 067 * Sets the applicationEditorUse. 068 * @param applicationEditorUse the applicationEditorUse to set 069 */ 070 public void setApplicationEditorUse(ApplicationEditorUseTransfer applicationEditorUse) { 071 this.applicationEditorUse = applicationEditorUse; 072 } 073 074 /** 075 * Returns the applicationEditor. 076 * @return the applicationEditor 077 */ 078 public ApplicationEditorTransfer getApplicationEditor() { 079 return applicationEditor; 080 } 081 082 /** 083 * Sets the applicationEditor. 084 * @param applicationEditor the applicationEditor to set 085 */ 086 public void setApplicationEditor(ApplicationEditorTransfer applicationEditor) { 087 this.applicationEditor = applicationEditor; 088 } 089 090 /** 091 * Returns the preferredHeight. 092 * @return the preferredHeight 093 */ 094 public Integer getPreferredHeight() { 095 return preferredHeight; 096 } 097 098 /** 099 * Sets the preferredHeight. 100 * @param preferredHeight the preferredHeight to set 101 */ 102 public void setPreferredHeight(Integer preferredHeight) { 103 this.preferredHeight = preferredHeight; 104 } 105 106 /** 107 * Returns the preferredWidth. 108 * @return the preferredWidth 109 */ 110 public Integer getPreferredWidth() { 111 return preferredWidth; 112 } 113 114 /** 115 * Sets the preferredWidth. 116 * @param preferredWidth the preferredWidth to set 117 */ 118 public void setPreferredWidth(Integer preferredWidth) { 119 this.preferredWidth = preferredWidth; 120 } 121 122}