Class 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 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 parameter userId.
        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 parameters userId, followedUserId and socialNetworkId.
        See Also:
        Constant Field Values
    • Constructor Detail

      • UserFollows

        public UserFollows()
        Constructor for JPA.
        Since:
        6.1.0
      • UserFollows

        public UserFollows​(String userId,
                           String followedUserId,
                           String socialNetworkId,
                           String serviceInstanceId)
        Class constructor
        Parameters:
        userId -
        followedUserId -
        socialNetworkId -
        serviceInstanceId -
        Since:
        6.1.0
    • 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