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.contact.common.transfer; 018 019import com.echothree.model.control.geo.common.transfer.CountryTransfer; 020import com.echothree.model.control.workflow.common.transfer.WorkflowEntityStatusTransfer; 021import com.echothree.util.common.transfer.BaseTransfer; 022 023public class ContactTelephoneTransfer 024 extends BaseTransfer { 025 026 public WorkflowEntityStatusTransfer getTelephoneStatus() { 027 return telephoneStatus; 028 } 029 030 public void setTelephoneStatus(WorkflowEntityStatusTransfer telephoneStatus) { 031 this.telephoneStatus = telephoneStatus; 032 } 033 034 private CountryTransfer countryGeoCode; 035 private String areaCode; 036 private String telephoneNumber; 037 private String telephoneExtension; 038 private WorkflowEntityStatusTransfer telephoneStatus; 039 040 /** Creates a new instance of ContactTelephoneTransfer */ 041 public ContactTelephoneTransfer(CountryTransfer countryGeoCode, String areaCode, String telephoneNumber, 042 String telephoneExtension, WorkflowEntityStatusTransfer telephoneStatus) { 043 this.countryGeoCode = countryGeoCode; 044 this.areaCode = areaCode; 045 this.telephoneNumber = telephoneNumber; 046 this.telephoneExtension = telephoneExtension; 047 this.telephoneStatus = telephoneStatus; 048 } 049 050 public CountryTransfer getCountryGeoCode() { 051 return countryGeoCode; 052 } 053 054 public void setCountryGeoCode(CountryTransfer countryGeoCode) { 055 this.countryGeoCode = countryGeoCode; 056 } 057 058 public String getAreaCode() { 059 return areaCode; 060 } 061 062 public void setAreaCode(String areaCode) { 063 this.areaCode = areaCode; 064 } 065 066 public String getTelephoneNumber() { 067 return telephoneNumber; 068 } 069 070 public void setTelephoneNumber(String telephoneNumber) { 071 this.telephoneNumber = telephoneNumber; 072 } 073 074 public String getTelephoneExtension() { 075 return telephoneExtension; 076 } 077 078 public void setTelephoneExtension(String telephoneExtension) { 079 this.telephoneExtension = telephoneExtension; 080 } 081 082}