blob: 6183a6f3e7c05b9fd3781131d57ef6e78a9215d1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
|
/*******************************************************************************
* Copyright (c) 2011 Tasktop Technologies.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Tasktop Technologies - initial API and implementation
*******************************************************************************/
package org.eclipse.mylyn.commons.identity.spi;
import java.io.Serializable;
import org.eclipse.mylyn.commons.identity.IIdentity;
import org.eclipse.mylyn.commons.identity.IProfile;
/**
* @author Steffen Pingel
* @since 0.8
*/
public final class Profile implements IProfile, Serializable {
private static final long serialVersionUID = -1079729573911113939L;
private String city;
private String country;
private String email;
private final IIdentity identity;
private String name;
private int timeZoneOffset;
public Profile(IIdentity identity) {
this.identity = identity;
}
public String getCity() {
return city;
}
public String getCountry() {
return country;
}
public String getEmail() {
return email;
}
public IIdentity getIdentity() {
return identity;
}
public String getName() {
return name;
}
public int getTimeZoneOffset() {
return timeZoneOffset;
}
public void setCity(String city) {
this.city = city;
}
public void setCountry(String country) {
this.country = country;
}
public void setEmail(String email) {
this.email = email;
}
public void setName(String name) {
this.name = name;
}
public void setTimeZoneOffset(int timeZoneOffset) {
this.timeZoneOffset = timeZoneOffset;
}
}
|