View Javadoc

1   package org.springframework.security.oauth.examples.sparklr;
2   
3   /**
4    * Photo information.
5    *
6    * @author Ryan Heaton
7    */
8   public class PhotoInfo {
9   
10    private String id;
11    private String resourceURL;
12    private String name;
13    private String userId;
14  
15    /**
16     * Id of the photo.
17     *
18     * @return Id of the photo.
19     */
20    public String getId() {
21      return id;
22    }
23  
24    /**
25     * Id of the photo.
26     *
27     * @param id Id of the photo.
28     */
29    public void setId(String id) {
30      this.id = id;
31    }
32  
33    /**
34     * The resource URL.
35     *
36     * @return The resource URL.
37     */
38    public String getResourceURL() {
39      return resourceURL;
40    }
41  
42    /**
43     * The resource URL.
44     *
45     * @param resourceURL The resource URL
46     */
47    public void setResourceURL(String resourceURL) {
48      this.resourceURL = resourceURL;
49    }
50  
51    /**
52     * Name of the photo.
53     *
54     * @return Name of the photo.
55     */
56    public String getName() {
57      return name;
58    }
59  
60    /**
61     * Name of the photo.
62     *
63     * @param name Name of the photo.
64     */
65    public void setName(String name) {
66      this.name = name;
67    }
68  
69    /**
70     * The id of the user to whom the photo belongs.
71     *
72     * @return The id of the user to whom the photo belongs.
73     */
74    public String getUserId() {
75      return userId;
76    }
77  
78    /**
79     * The id of the user to whom the photo belongs.
80     *
81     * @param userId The id of the user to whom the photo belongs.
82     */
83    public void setUserId(String userId) {
84      this.userId = userId;
85    }
86  }