|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object lumis.service.socialnetworkservices.microblog.entity.UserFollows
public class UserFollows
This entity class contains information about the User following process in the Microblog Service.
Field Summary | |
---|---|
static String |
FIND_BY_USER_ID
Named Query that finds a UserFollows relationship based on a given userId specified by parameter userId . |
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 parameters userId ,
followedUserId and socialNetworkId . |
Constructor Summary | |
---|---|
UserFollows()
Constructor for JPA. |
|
UserFollows(String userId,
String followedUserId,
String socialNetworkId,
String serviceInstanceId)
Class constructor |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String FIND_BY_USER_ID
userId
.
public static final String FIND_BY_USER_SERVICE_INSTANCE_AND_SOCIAL_NETWORK
userId
,
followedUserId
and socialNetworkId
.
Constructor Detail |
---|
public UserFollows()
public UserFollows(String userId, String followedUserId, String socialNetworkId, String serviceInstanceId)
userId
- followedUserId
- socialNetworkId
- serviceInstanceId
- Method Detail |
---|
public String getId()
public void setId(String id)
id
- the id value to set.public String getUserId()
public void setUserId(String userId)
userId
- the userId value to set.public String getFollowedUserId()
public void setFollowedUserId(String followedUserId)
followedUserId
- the followedUserId value to set.public String getSocialNetworkId()
public void setSocialNetworkId(String socialNetworkId)
socialNetworkId
- the socialNetworkId value to set.public String getServiceInstanceId()
public void setServiceInstanceId(String serviceInstanceId)
serviceInstanceId
- the serviceInstanceId value to set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |