mirror of
https://github.com/moparisthebest/k-9
synced 2024-10-31 23:55:08 -04:00
67 lines
1.6 KiB
Java
67 lines
1.6 KiB
Java
package com.fsck.k9;
|
|
|
|
import java.io.Serializable;
|
|
|
|
public class Identity implements Serializable {
|
|
private static final long serialVersionUID = -1666669071480985760L;
|
|
private String mDescription;
|
|
private String mName;
|
|
private String mEmail;
|
|
private String mSignature;
|
|
private boolean mSignatureUse;
|
|
private String replyTo;
|
|
|
|
public synchronized String getName() {
|
|
return mName;
|
|
}
|
|
|
|
public synchronized void setName(String name) {
|
|
mName = name;
|
|
}
|
|
|
|
public synchronized String getEmail() {
|
|
return mEmail;
|
|
}
|
|
|
|
public synchronized void setEmail(String email) {
|
|
mEmail = email;
|
|
}
|
|
|
|
public synchronized boolean getSignatureUse() {
|
|
return mSignatureUse;
|
|
}
|
|
|
|
public synchronized void setSignatureUse(boolean signatureUse) {
|
|
mSignatureUse = signatureUse;
|
|
}
|
|
|
|
public synchronized String getSignature() {
|
|
return mSignature;
|
|
}
|
|
|
|
public synchronized void setSignature(String signature) {
|
|
mSignature = signature;
|
|
}
|
|
|
|
public synchronized String getDescription() {
|
|
return mDescription;
|
|
}
|
|
|
|
public synchronized void setDescription(String description) {
|
|
mDescription = description;
|
|
}
|
|
|
|
public synchronized String getReplyTo() {
|
|
return replyTo;
|
|
}
|
|
|
|
public synchronized void setReplyTo(String replyTo) {
|
|
this.replyTo = replyTo;
|
|
}
|
|
|
|
@Override
|
|
public synchronized String toString() {
|
|
return "Account.Identity(description=" + mDescription + ", name=" + mName + ", email=" + mEmail + ", replyTo=" + replyTo + ", signature=" + mSignature;
|
|
}
|
|
}
|