cz.mmsparams.api.websocket.model.mmsc.MM7Address Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of MmsParamsAPI Show documentation
Show all versions of MmsParamsAPI Show documentation
Common library for MmsParams system
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