Class UserFollows
- java.lang.Object
-
- lumis.service.socialnetworkservices.microblog.entity.UserFollows
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
UserFollowsDecorator
public class UserFollows extends Object implements Serializable
This entity class contains information about the User following process in the Microblog Service.- Since:
- 6.1.0
- Version:
- $Revision: 13752 $ $Date: 2011-10-13 14:10:51 -0300 (Thu, 13 Oct 2011) $
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
FIND_BY_USER_ID
Named Query that finds a UserFollows relationship based on a given userId specified by parameteruserId
.static String
FIND_BY_USER_SERVICE_INSTANCE_AND_SOCIAL_NETWORK
Named Query that finds a UserFollows relationship based on a given user and social network value, specified by parametersuserId
,followedUserId
andsocialNetworkId
.
-
Constructor Summary
Constructors Constructor Description UserFollows()
Constructor for JPA.UserFollows(String userId, String followedUserId, String socialNetworkId, String serviceInstanceId)
Class constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getFollowedUserId()
Returns the followedUserId.String
getId()
Returns the id.String
getServiceInstanceId()
Returns the serviceInstanceId.String
getSocialNetworkId()
Returns the socialNetworkId.String
getUserId()
Returns the userId.void
setFollowedUserId(String followedUserId)
Sets the followedUserId.void
setId(String id)
Sets the id.void
setServiceInstanceId(String serviceInstanceId)
Sets the serviceInstanceId.void
setSocialNetworkId(String socialNetworkId)
Sets the socialNetworkId.void
setUserId(String userId)
Sets the userId.
-
-
-
Field Detail
-
FIND_BY_USER_ID
public static final String FIND_BY_USER_ID
Named Query that finds a UserFollows relationship based on a given userId specified by parameteruserId
.- See Also:
- Constant Field Values
-
FIND_BY_USER_SERVICE_INSTANCE_AND_SOCIAL_NETWORK
public static final String FIND_BY_USER_SERVICE_INSTANCE_AND_SOCIAL_NETWORK
Named Query that finds a UserFollows relationship based on a given user and social network value, specified by parametersuserId
,followedUserId
andsocialNetworkId
.- See Also:
- Constant Field Values
-
-
Method Detail
-
getId
public String getId()
Returns the id.- Returns:
- the id
- Since:
- 6.1.0
-
setId
public void setId(String id)
Sets the id.- Parameters:
id
- the id value to set.- Since:
- 6.1.0
-
getUserId
public String getUserId()
Returns the userId.- Returns:
- the userId
- Since:
- 6.1.0
-
setUserId
public void setUserId(String userId)
Sets the userId.- Parameters:
userId
- the userId value to set.- Since:
- 6.1.0
-
getFollowedUserId
public String getFollowedUserId()
Returns the followedUserId.- Returns:
- the followedUserId
- Since:
- 6.1.0
-
setFollowedUserId
public void setFollowedUserId(String followedUserId)
Sets the followedUserId.- Parameters:
followedUserId
- the followedUserId value to set.- Since:
- 6.1.0
-
getSocialNetworkId
public String getSocialNetworkId()
Returns the socialNetworkId.- Returns:
- the socialNetworkId
- Since:
- 6.1.0
-
setSocialNetworkId
public void setSocialNetworkId(String socialNetworkId)
Sets the socialNetworkId.- Parameters:
socialNetworkId
- the socialNetworkId value to set.- Since:
- 6.1.0
-
getServiceInstanceId
public String getServiceInstanceId()
Returns the serviceInstanceId.- Returns:
- the serviceInstanceId
- Since:
- 6.1.0
-
setServiceInstanceId
public void setServiceInstanceId(String serviceInstanceId)
Sets the serviceInstanceId.- Parameters:
serviceInstanceId
- the serviceInstanceId value to set.- Since:
- 6.1.0
-
-