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 Place 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 GraphPlace extends GraphObject {
26
    /**
27
     * Returns the ID of the place.
28
     * @return the ID of the place
29
     */
30
    public String getId();
31
    /**
32
     * Sets the ID of the place.
33
     * @param id the ID of the place
34
     */
35
    public void setId(String id);
36
 
37
    /**
38
     * Returns the name of the place.
39
     * @return the name of the place
40
     */
41
    public String getName();
42
    /**
43
     * Sets the name of the place.
44
     * @param name the name of the place
45
     */
46
    public void setName(String name);
47
 
48
    /**
49
     * Returns the category of the place.
50
     * @return the category of the place
51
     */
52
    public String getCategory();
53
    /**
54
     * Sets the category of the place.
55
     * @param category the category of the place
56
     */
57
    public void setCategory(String category);
58
 
59
    /**
60
     * Returns the location of the place.
61
     * @return the location of the place
62
     */
63
    public GraphLocation getLocation();
64
    /**
65
     * Sets the location of the place.
66
     * @param location the location of the place
67
     */
68
    public void setLocation(GraphLocation location);
69
}