Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
14792 manas 1
/**
2
 * Copyright 2010-present Facebook.
3
 *
4
 * Licensed under the Apache License, Version 2.0 (the "License");
5
 * you may not use this file except in compliance with the License.
6
 * You may obtain a copy of the License at
7
 *
8
 *    http://www.apache.org/licenses/LICENSE-2.0
9
 *
10
 * Unless required by applicable law or agreed to in writing, software
11
 * distributed under the License is distributed on an "AS IS" BASIS,
12
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
 * See the License for the specific language governing permissions and
14
 * limitations under the License.
15
 */
16
 
17
package com.facebook.model;
18
 
19
/**
20
 * Provides a strongly-typed representation of a User as defined by the Graph API.
21
 *
22
 * Note that this interface is intended to be used with GraphObject.Factory
23
 * and not implemented directly.
24
 */
25
public interface GraphUser extends GraphObject {
26
    /**
27
     * Returns the ID of the user.
28
     * @return the ID of the user
29
     */
30
    public String getId();
31
    /**
32
     * Sets the ID of the user.
33
     * @param id the ID of the user
34
     */
35
    public void setId(String id);
36
 
37
    /**
38
     * Returns the name of the user.
39
     * @return the name of the user
40
     */
41
    public String getName();
42
    /**
43
     * Sets the name of the user.
44
     * @param name the name of the user
45
     */
46
    public void setName(String name);
47
 
48
    /**
49
     * Returns the first name of the user.
50
     * @return the first name of the user
51
     */
52
    public String getFirstName();
53
    /**
54
     * Sets the first name of the user.
55
     * @param firstName the first name of the user
56
     */
57
    public void setFirstName(String firstName);
58
 
59
    /**
60
     * Returns the middle name of the user.
61
     * @return the middle name of the user
62
     */
63
    public String getMiddleName();
64
    /**
65
     * Sets the middle name of the user.
66
     * @param middleName the middle name of the user
67
     */
68
    public void setMiddleName(String middleName);
69
 
70
    /**
71
     * Returns the last name of the user.
72
     * @return the last name of the user
73
     */
74
    public String getLastName();
75
    /**
76
     * Sets the last name of the user.
77
     * @param lastName the last name of the user
78
     */
79
    public void setLastName(String lastName);
80
 
81
    /**
82
     * Returns the Facebook URL of the user.
83
     * @return the Facebook URL of the user
84
     */
85
    public String getLink();
86
    /**
87
     * Sets the Facebook URL of the user.
88
     * @param link the Facebook URL of the user
89
     */
90
    public void setLink(String link);
91
 
92
    /**
93
     * Returns the Facebook username of the user.
94
     * @return the Facebook username of the user
95
     */
96
    public String getUsername();
97
    /**
98
     * Sets the Facebook username of the user.
99
     * @param username the Facebook username of the user
100
     */
101
    public void setUsername(String username);
102
 
103
    /**
104
     * Returns the birthday of the user.
105
     * @return the birthday of the user
106
     */
107
    public String getBirthday();
108
    /**
109
     * Sets the birthday of the user.
110
     * @param birthday the birthday of the user
111
     */
112
    public void setBirthday(String birthday);
113
 
114
    /**
115
     * Returns the current place of the user.
116
     * @return the current place of the user
117
     */
118
    public GraphPlace getLocation();
119
 
120
    /**
121
     * Sets the current place of the user.
122
     * @param location the current place of the user
123
     */
124
    public void setLocation(GraphPlace location);
125
}