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.associate.common.transfer; 018 019import com.echothree.model.control.core.common.transfer.MimeTypeTransfer; 020import com.echothree.model.control.party.common.transfer.PartyTransfer; 021import com.echothree.util.common.transfer.BaseTransfer; 022 023public class AssociateTransfer 024 extends BaseTransfer { 025 026 private AssociateProgramTransfer associateProgram; 027 private String associateName; 028 private PartyTransfer party; 029 private String description; 030 private MimeTypeTransfer summaryMimeType; 031 private String summary; 032 033 /** Creates a new instance of AssociateTransfer */ 034 public AssociateTransfer(AssociateProgramTransfer associateProgram, String associateName, PartyTransfer party, 035 String description, MimeTypeTransfer summaryMimeType, String summary) { 036 this.associateProgram = associateProgram; 037 this.associateName = associateName; 038 this.party = party; 039 this.description = description; 040 this.summaryMimeType = summaryMimeType; 041 this.summary = summary; 042 } 043 044 public AssociateProgramTransfer getAssociateProgram() { 045 return associateProgram; 046 } 047 048 public void setAssociateProgram(AssociateProgramTransfer associateProgram) { 049 this.associateProgram = associateProgram; 050 } 051 052 public String getAssociateName() { 053 return associateName; 054 } 055 056 public void setAssociateName(String associateName) { 057 this.associateName = associateName; 058 } 059 060 public PartyTransfer getParty() { 061 return party; 062 } 063 064 public void setParty(PartyTransfer party) { 065 this.party = party; 066 } 067 068 public String getDescription() { 069 return description; 070 } 071 072 public void setDescription(String description) { 073 this.description = description; 074 } 075 076 public MimeTypeTransfer getSummaryMimeType() { 077 return summaryMimeType; 078 } 079 080 public void setSummaryMimeType(MimeTypeTransfer summaryMimeType) { 081 this.summaryMimeType = summaryMimeType; 082 } 083 084 public String getSummary() { 085 return summary; 086 } 087 088 public void setSummary(String summary) { 089 this.summary = summary; 090 } 091 092}