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.contactlist.common.transfer; 018 019import com.echothree.model.control.contact.common.transfer.ContactMechanismPurposeTransfer; 020import com.echothree.util.common.transfer.BaseTransfer; 021 022public final class ContactListContactMechanismPurposeTransfer 023 extends BaseTransfer { 024 025 private final ContactListTransfer contactList; 026 private final ContactMechanismPurposeTransfer contactMechanismPurpose; 027 private final Boolean isDefault; 028 private final Integer sortOrder; 029 030 /** Creates a new instance of ContactListContactMechanismPurposeTransfer */ 031 public ContactListContactMechanismPurposeTransfer(final ContactListTransfer contactList, final ContactMechanismPurposeTransfer contactMechanismPurpose, 032 final Boolean isDefault, final Integer sortOrder) { 033 this.contactList = contactList; 034 this.contactMechanismPurpose = contactMechanismPurpose; 035 this.isDefault = isDefault; 036 this.sortOrder = sortOrder; 037 } 038 039 /** 040 * Returns the contactList. 041 * @return the contactList 042 */ 043 public final ContactListTransfer getContactList() { 044 return contactList; 045 } 046 047 /** 048 * Returns the contactMechanismPurpose. 049 * @return the contactMechanismPurpose 050 */ 051 public final ContactMechanismPurposeTransfer getContactMechanismPurpose() { 052 return contactMechanismPurpose; 053 } 054 055 /** 056 * Returns the isDefault. 057 * @return the isDefault 058 */ 059 public final Boolean getIsDefault() { 060 return isDefault; 061 } 062 063 /** 064 * Returns the sortOrder. 065 * @return the sortOrder 066 */ 067 public final Integer getSortOrder() { 068 return sortOrder; 069 } 070 071}