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.util.common.transfer.BaseTransfer;
020
021public class ContactMechanismTransfer
022        extends BaseTransfer {
023    
024    private String contactMechanismName;
025    private ContactMechanismTypeTransfer contactMechanismType;
026    private Boolean allowSolicitation;
027    
028    private ContactEmailAddressTransfer contactEmailAddress;
029    private ContactPostalAddressTransfer contactPostalAddress;
030    private ContactTelephoneTransfer contactTelephone;
031    private ContactWebAddressTransfer contactWebAddress;
032    private ContactInet4AddressTransfer contactInet4Address;
033    
034    /** Creates a new instance of ContactMechanismTransfer */
035    public ContactMechanismTransfer(String contactMechanismName, ContactMechanismTypeTransfer contactMechanismType,
036            Boolean allowSolicitation) {
037        this.contactMechanismName = contactMechanismName;
038        this.contactMechanismType = contactMechanismType;
039        this.allowSolicitation = allowSolicitation;
040    }
041
042    /**
043     * Returns the contactMechanismName.
044     * @return the contactMechanismName
045     */
046    public String getContactMechanismName() {
047        return contactMechanismName;
048    }
049
050    /**
051     * Sets the contactMechanismName.
052     * @param contactMechanismName the contactMechanismName to set
053     */
054    public void setContactMechanismName(String contactMechanismName) {
055        this.contactMechanismName = contactMechanismName;
056    }
057
058    /**
059     * Returns the contactMechanismType.
060     * @return the contactMechanismType
061     */
062    public ContactMechanismTypeTransfer getContactMechanismType() {
063        return contactMechanismType;
064    }
065
066    /**
067     * Sets the contactMechanismType.
068     * @param contactMechanismType the contactMechanismType to set
069     */
070    public void setContactMechanismType(ContactMechanismTypeTransfer contactMechanismType) {
071        this.contactMechanismType = contactMechanismType;
072    }
073
074    /**
075     * Returns the allowSolicitation.
076     * @return the allowSolicitation
077     */
078    public Boolean getAllowSolicitation() {
079        return allowSolicitation;
080    }
081
082    /**
083     * Sets the allowSolicitation.
084     * @param allowSolicitation the allowSolicitation to set
085     */
086    public void setAllowSolicitation(Boolean allowSolicitation) {
087        this.allowSolicitation = allowSolicitation;
088    }
089
090    /**
091     * Returns the contactEmailAddress.
092     * @return the contactEmailAddress
093     */
094    public ContactEmailAddressTransfer getContactEmailAddress() {
095        return contactEmailAddress;
096    }
097
098    /**
099     * Sets the contactEmailAddress.
100     * @param contactEmailAddress the contactEmailAddress to set
101     */
102    public void setContactEmailAddress(ContactEmailAddressTransfer contactEmailAddress) {
103        this.contactEmailAddress = contactEmailAddress;
104    }
105
106    /**
107     * Returns the contactPostalAddress.
108     * @return the contactPostalAddress
109     */
110    public ContactPostalAddressTransfer getContactPostalAddress() {
111        return contactPostalAddress;
112    }
113
114    /**
115     * Sets the contactPostalAddress.
116     * @param contactPostalAddress the contactPostalAddress to set
117     */
118    public void setContactPostalAddress(ContactPostalAddressTransfer contactPostalAddress) {
119        this.contactPostalAddress = contactPostalAddress;
120    }
121
122    /**
123     * Returns the contactTelephone.
124     * @return the contactTelephone
125     */
126    public ContactTelephoneTransfer getContactTelephone() {
127        return contactTelephone;
128    }
129
130    /**
131     * Sets the contactTelephone.
132     * @param contactTelephone the contactTelephone to set
133     */
134    public void setContactTelephone(ContactTelephoneTransfer contactTelephone) {
135        this.contactTelephone = contactTelephone;
136    }
137
138    /**
139     * Returns the contactWebAddress.
140     * @return the contactWebAddress
141     */
142    public ContactWebAddressTransfer getContactWebAddress() {
143        return contactWebAddress;
144    }
145
146    /**
147     * Sets the contactWebAddress.
148     * @param contactWebAddress the contactWebAddress to set
149     */
150    public void setContactWebAddress(ContactWebAddressTransfer contactWebAddress) {
151        this.contactWebAddress = contactWebAddress;
152    }
153
154    /**
155     * Returns the contactInet4Address.
156     * @return the contactInet4Address
157     */
158    public ContactInet4AddressTransfer getContactInet4Address() {
159        return contactInet4Address;
160    }
161
162    /**
163     * Sets the contactInet4Address.
164     * @param contactInet4Address the contactInet4Address to set
165     */
166    public void setContactInet4Address(ContactInet4AddressTransfer contactInet4Address) {
167        this.contactInet4Address = contactInet4Address;
168    }
169    
170}