All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cz.mmsparams.api.websocket.model.mmsc.MM7Address Maven / Gradle / Ivy

The newest version!
package cz.mmsparams.api.websocket.model.mmsc;

import java.io.Serializable;

import cz.mmsparams.api.enums.AddressType;
import cz.mmsparams.api.enums.RecipientType;

public class MM7Address implements Serializable
{
    private String address;
    private AddressType addressType;
    private RecipientType recipientType;
    private boolean displayOnly;

    public MM7Address()
    {
    }

    public MM7Address(String address, AddressType addressType, RecipientType recipientType)
    {
        this(address, addressType, recipientType, false);
    }

    public MM7Address(String address, AddressType addressType, RecipientType recipientType, boolean displayOnly)
    {
        this.address = address;
        this.addressType = addressType;
        this.recipientType = recipientType;
        this.displayOnly = displayOnly;
    }

    public String getAddress()
    {
        return address;
    }

    public void setAddress(String address)
    {
        this.address = address;
    }

    public AddressType getAddressType()
    {
        return addressType;
    }

    public void setAddressType(AddressType addressType)
    {
        this.addressType = addressType;
    }

    public RecipientType getRecipientType()
    {
        return recipientType;
    }

    public void setRecipientType(RecipientType recipientType)
    {
        this.recipientType = recipientType;
    }

    public boolean getDisplayOnly()
    {
        return displayOnly;
    }

    public void setDisplayOnly(boolean displayOnly)
    {
        this.displayOnly = displayOnly;
    }

    @Override
    public String toString()
    {
        return "MM7Address{" +
                "address='" + address + '\'' +
                ", addressType=" + addressType +
                ", recipientType=" + recipientType +
                ", displayOnly=" + displayOnly +
                '}';
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy