1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-27 11:42:16 -05:00
k-9/src/com/fsck/k9/Identity.java
2011-02-26 18:39:06 -06:00

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;
}
}