public class UserFollows extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
UserFollows()
Constructor for JPA.
|
UserFollows(String userId,
String followedUserId,
String socialNetworkId,
String serviceInstanceId)
Class constructor
|
Modifier and Type | Method and 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.
|
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
.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.LumisXP 12.4.0.200625 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.