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.contact.common.transfer.PartyContactMechanismTransfer; 020import com.echothree.util.common.transfer.BaseTransfer; 021 022public class AssociatePartyContactMechanismTransfer 023 extends BaseTransfer { 024 025 private AssociateTransfer associate; 026 private String associatePartyContactMechanismName; 027 private PartyContactMechanismTransfer partyContactMechanism; 028 private Boolean isDefault; 029 private Integer sortOrder; 030 031 /** Creates a new instance of AssociatePartyContactMechanismTransfer */ 032 public AssociatePartyContactMechanismTransfer(AssociateTransfer associate, String associatePartyContactMechanismName, 033 PartyContactMechanismTransfer partyContactMechanism, Boolean isDefault, Integer sortOrder) { 034 this.associate = associate; 035 this.associatePartyContactMechanismName = associatePartyContactMechanismName; 036 this.partyContactMechanism = partyContactMechanism; 037 this.isDefault = isDefault; 038 this.sortOrder = sortOrder; 039 } 040 041 public AssociateTransfer getAssociate() { 042 return associate; 043 } 044 045 public void setAssociate(AssociateTransfer associate) { 046 this.associate = associate; 047 } 048 049 public String getAssociatePartyContactMechanismName() { 050 return associatePartyContactMechanismName; 051 } 052 053 public void setAssociatePartyContactMechanismName(String associatePartyContactMechanismName) { 054 this.associatePartyContactMechanismName = associatePartyContactMechanismName; 055 } 056 057 public PartyContactMechanismTransfer getPartyContactMechanism() { 058 return partyContactMechanism; 059 } 060 061 public void setPartyContactMechanism(PartyContactMechanismTransfer partyContactMechanism) { 062 this.partyContactMechanism = partyContactMechanism; 063 } 064 065 public Boolean getIsDefault() { 066 return isDefault; 067 } 068 069 public void setIsDefault(Boolean isDefault) { 070 this.isDefault = isDefault; 071 } 072 073 public Integer getSortOrder() { 074 return sortOrder; 075 } 076 077 public void setSortOrder(Integer sortOrder) { 078 this.sortOrder = sortOrder; 079 } 080 081}