01: package org.claros.chat.models;
02:
03: public class Avatar {
04: private String user;
05: private byte[] data;
06: private String hash;
07:
08: public Avatar(String user, byte[] data, String hash) {
09: this .user = user;
10: this .data = data;
11: this .hash = hash;
12: }
13:
14: public byte[] getData() {
15: return data;
16: }
17:
18: public void setData(byte[] data) {
19: this .data = data;
20: }
21:
22: public String getHash() {
23: return hash;
24: }
25:
26: public void setHash(String hash) {
27: this .hash = hash;
28: }
29:
30: public String getUser() {
31: return user;
32: }
33:
34: public void setUser(String user) {
35: this.user = user;
36: }
37:
38: }
|