com.flickrrecsys.model
Class UserGroups

java.lang.Object
  extended by com.flickrrecsys.model.UserGroups
All Implemented Interfaces:
java.io.Serializable

public class UserGroups
extends java.lang.Object
implements java.io.Serializable

Groups that users have joined in already

Author:
Hossein Ghodsi
See Also:
Serialized Form

Constructor Summary
UserGroups()
           
 
Method Summary
 java.lang.String getFreqUsed()
          Find the group is selected to be used
 int getGid()
          Get group id
 int getNsgid()
          Get nsid
 java.lang.String getNsid()
          Get nsid
 void setFreqUsed(java.lang.String freqUsed)
          Set either 1 (true) or 0 (false)
 void setGid(int gid)
          Set group id
 void setNsgid(int nsgid)
          Set group id from the flickr website
 void setNsid(java.lang.String nsid)
          Set nsid
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserGroups

public UserGroups()
Method Detail

getFreqUsed

public java.lang.String getFreqUsed()
Find the group is selected to be used

Returns:
1 (true) or 0 (false)

setFreqUsed

public void setFreqUsed(java.lang.String freqUsed)
Set either 1 (true) or 0 (false)

Parameters:
freqUsed - 1 (true) or 0 (false)

getGid

public int getGid()
Get group id

Returns:
group id

setGid

public void setGid(int gid)
Set group id

Parameters:
gid - group id

getNsgid

public int getNsgid()
Get nsid

Returns:
nsid of user from the Flickr website

setNsgid

public void setNsgid(int nsgid)
Set group id from the flickr website

Parameters:
nsgid - group id from the flickr website

getNsid

public java.lang.String getNsid()
Get nsid

Returns:
nsid

setNsid

public void setNsid(java.lang.String nsid)
Set nsid

Parameters:
nsid - user id from the flickr website.