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.carrier.common.transfer; 018 019import com.echothree.model.control.selector.common.transfer.SelectorTransfer; 020import com.echothree.util.common.transfer.BaseTransfer; 021 022public class CarrierServiceTransfer 023 extends BaseTransfer { 024 025 private CarrierTransfer carrier; 026 private String carrierServiceName; 027 private SelectorTransfer geoCodeSelector; 028 private SelectorTransfer itemSelector; 029 private Boolean isDefault; 030 private Integer sortOrder; 031 private String description; 032 033 /** Creates a new instance of CarrierServiceTransfer */ 034 public CarrierServiceTransfer(CarrierTransfer carrier, String carrierServiceName, SelectorTransfer geoCodeSelector, SelectorTransfer itemSelector, 035 Boolean isDefault, Integer sortOrder, String description) { 036 this.carrier = carrier; 037 this.carrierServiceName = carrierServiceName; 038 this.geoCodeSelector = geoCodeSelector; 039 this.itemSelector = itemSelector; 040 this.isDefault = isDefault; 041 this.sortOrder = sortOrder; 042 this.description = description; 043 } 044 045 /** 046 * Returns the carrier. 047 * @return the carrier 048 */ 049 public CarrierTransfer getCarrier() { 050 return carrier; 051 } 052 053 /** 054 * Sets the carrier. 055 * @param carrier the carrier to set 056 */ 057 public void setCarrier(CarrierTransfer carrier) { 058 this.carrier = carrier; 059 } 060 061 /** 062 * Returns the carrierServiceName. 063 * @return the carrierServiceName 064 */ 065 public String getCarrierServiceName() { 066 return carrierServiceName; 067 } 068 069 /** 070 * Sets the carrierServiceName. 071 * @param carrierServiceName the carrierServiceName to set 072 */ 073 public void setCarrierServiceName(String carrierServiceName) { 074 this.carrierServiceName = carrierServiceName; 075 } 076 077 /** 078 * Returns the geoCodeSelector. 079 * @return the geoCodeSelector 080 */ 081 public SelectorTransfer getGeoCodeSelector() { 082 return geoCodeSelector; 083 } 084 085 /** 086 * Sets the geoCodeSelector. 087 * @param geoCodeSelector the geoCodeSelector to set 088 */ 089 public void setGeoCodeSelector(SelectorTransfer geoCodeSelector) { 090 this.geoCodeSelector = geoCodeSelector; 091 } 092 093 /** 094 * Returns the itemSelector. 095 * @return the itemSelector 096 */ 097 public SelectorTransfer getItemSelector() { 098 return itemSelector; 099 } 100 101 /** 102 * Sets the itemSelector. 103 * @param itemSelector the itemSelector to set 104 */ 105 public void setItemSelector(SelectorTransfer itemSelector) { 106 this.itemSelector = itemSelector; 107 } 108 109 /** 110 * Returns the isDefault. 111 * @return the isDefault 112 */ 113 public Boolean getIsDefault() { 114 return isDefault; 115 } 116 117 /** 118 * Sets the isDefault. 119 * @param isDefault the isDefault to set 120 */ 121 public void setIsDefault(Boolean isDefault) { 122 this.isDefault = isDefault; 123 } 124 125 /** 126 * Returns the sortOrder. 127 * @return the sortOrder 128 */ 129 public Integer getSortOrder() { 130 return sortOrder; 131 } 132 133 /** 134 * Sets the sortOrder. 135 * @param sortOrder the sortOrder to set 136 */ 137 public void setSortOrder(Integer sortOrder) { 138 this.sortOrder = sortOrder; 139 } 140 141 /** 142 * Returns the description. 143 * @return the description 144 */ 145 public String getDescription() { 146 return description; 147 } 148 149 /** 150 * Sets the description. 151 * @param description the description to set 152 */ 153 public void setDescription(String description) { 154 this.description = description; 155 } 156 157}