2010-07-13 17:49:28 -04:00
|
|
|
package com.fsck.k9;
|
|
|
|
|
|
|
|
import java.io.Serializable;
|
|
|
|
|
2011-02-06 17:09:48 -05:00
|
|
|
public class Identity implements Serializable {
|
2011-01-31 18:45:14 -05:00
|
|
|
private static final long serialVersionUID = -1666669071480985760L;
|
2010-07-13 17:49:28 -04:00
|
|
|
private String mDescription;
|
|
|
|
private String mName;
|
|
|
|
private String mEmail;
|
|
|
|
private String mSignature;
|
|
|
|
private boolean mSignatureUse;
|
|
|
|
private String replyTo;
|
|
|
|
|
2011-02-06 17:09:48 -05:00
|
|
|
public synchronized String getName() {
|
2010-07-13 17:49:28 -04:00
|
|
|
return mName;
|
|
|
|
}
|
|
|
|
|
2011-02-06 17:09:48 -05:00
|
|
|
public synchronized void setName(String name) {
|
2010-07-13 17:49:28 -04:00
|
|
|
mName = name;
|
|
|
|
}
|
|
|
|
|
2011-02-06 17:09:48 -05:00
|
|
|
public synchronized String getEmail() {
|
2010-07-13 17:49:28 -04:00
|
|
|
return mEmail;
|
|
|
|
}
|
|
|
|
|
2011-02-06 17:09:48 -05:00
|
|
|
public synchronized void setEmail(String email) {
|
2010-07-13 17:49:28 -04:00
|
|
|
mEmail = email;
|
|
|
|
}
|
|
|
|
|
2011-02-06 17:09:48 -05:00
|
|
|
public synchronized boolean getSignatureUse() {
|
2010-07-13 17:49:28 -04:00
|
|
|
return mSignatureUse;
|
|
|
|
}
|
|
|
|
|
2011-02-06 17:09:48 -05:00
|
|
|
public synchronized void setSignatureUse(boolean signatureUse) {
|
2010-07-13 17:49:28 -04:00
|
|
|
mSignatureUse = signatureUse;
|
|
|
|
}
|
|
|
|
|
2011-02-06 17:09:48 -05:00
|
|
|
public synchronized String getSignature() {
|
2010-07-13 17:49:28 -04:00
|
|
|
return mSignature;
|
|
|
|
}
|
|
|
|
|
2011-02-06 17:09:48 -05:00
|
|
|
public synchronized void setSignature(String signature) {
|
2010-07-13 17:49:28 -04:00
|
|
|
mSignature = signature;
|
|
|
|
}
|
|
|
|
|
2011-02-06 17:09:48 -05:00
|
|
|
public synchronized String getDescription() {
|
2010-07-13 17:49:28 -04:00
|
|
|
return mDescription;
|
|
|
|
}
|
|
|
|
|
2011-02-06 17:09:48 -05:00
|
|
|
public synchronized void setDescription(String description) {
|
2010-07-13 17:49:28 -04:00
|
|
|
mDescription = description;
|
|
|
|
}
|
|
|
|
|
2011-02-06 17:09:48 -05:00
|
|
|
public synchronized String getReplyTo() {
|
2010-07-13 17:49:28 -04:00
|
|
|
return replyTo;
|
|
|
|
}
|
|
|
|
|
2011-02-06 17:09:48 -05:00
|
|
|
public synchronized void setReplyTo(String replyTo) {
|
2010-07-13 17:49:28 -04:00
|
|
|
this.replyTo = replyTo;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
2011-02-06 17:09:48 -05:00
|
|
|
public synchronized String toString() {
|
2010-07-13 17:49:28 -04:00
|
|
|
return "Account.Identity(description=" + mDescription + ", name=" + mName + ", email=" + mEmail + ", replyTo=" + replyTo + ", signature=" + mSignature;
|
|
|
|
}
|
|
|
|
}
|