-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathProfile.java
More file actions
129 lines (110 loc) · 1.92 KB
/
Profile.java
File metadata and controls
129 lines (110 loc) · 1.92 KB
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
package api.user;
/**
* The user profile.
*
* @author Tim
*/
public class Profile {
/**
* The avatar.
*/
private String avatar;
/**
* The community.
*/
private Community community;
/**
* The is friend.
*/
private boolean isFriend;
/**
* The personal.
*/
private Personal personal;
/**
* The ranks.
*/
private Ranks ranks;
/**
* The stats.
*/
private Stats stats;
/**
* The username.
*/
private String username;
/**
* The profile text.
*/
private String profileText;
/**
* Gets the avatar.
*
* @return the avatar
*/
public String getAvatar(){
return this.avatar;
}
/**
* Gets the community.
*
* @return the community
*/
public Community getCommunity(){
return this.community;
}
/**
* Checks if is friend.
*
* @return true, if successful
*/
public boolean isFriend(){
return this.isFriend;
}
/**
* Gets the personal.
*
* @return the personal
*/
public Personal getPersonal(){
return this.personal;
}
/**
* Gets the ranks.
*
* @return the ranks
*/
public Ranks getRanks(){
return this.ranks;
}
/**
* Gets the stats.
*
* @return the stats
*/
public Stats getStats(){
return this.stats;
}
/**
* Gets the username.
*
* @return the username
*/
public String getUsername(){
return this.username;
}
/**
* Gets the profile text.
*
* @return the profile text
*/
public String getProfileText(){
return this.profileText;
}
@Override
public String toString(){
return "Profile [getAvatar()=" + getAvatar() + ", getCommunity()=" + getCommunity() + ", isFriend()=" + isFriend()
+ ", getPersonal()=" + getPersonal() + ", getRanks()=" + getRanks() + ", getStats()=" + getStats()
+ ", getUsername()=" + getUsername() + ", getProfileText()=" + getProfileText() + "]";
}
}