Class UserFollows

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    UserFollowsDecorator

    public class UserFollows
    extends java.lang.Object
    implements java.io.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 java.lang.String FIND_BY_USER_ID
      Named Query that finds a UserFollows relationship based on a given userId specified by parameter userId.
      static java.lang.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

      Constructors 
      Constructor Description
      UserFollows()
      Constructor for JPA.
      UserFollows​(java.lang.String userId, java.lang.String followedUserId, java.lang.String socialNetworkId, java.lang.String serviceInstanceId)
      Class constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getFollowedUserId()
      Returns the followedUserId.
      java.lang.String getId()
      Returns the id.
      java.lang.String getServiceInstanceId()
      Returns the serviceInstanceId.
      java.lang.String getSocialNetworkId()
      Returns the socialNetworkId.
      java.lang.String getUserId()
      Returns the userId.
      void setFollowedUserId​(java.lang.String followedUserId)
      Sets the followedUserId.
      void setId​(java.lang.String id)
      Sets the id.
      void setServiceInstanceId​(java.lang.String serviceInstanceId)
      Sets the serviceInstanceId.
      void setSocialNetworkId​(java.lang.String socialNetworkId)
      Sets the socialNetworkId.
      void setUserId​(java.lang.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

      • FIND_BY_USER_ID

        public static final java.lang.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 java.lang.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​(java.lang.String userId,
                           java.lang.String followedUserId,
                           java.lang.String socialNetworkId,
                           java.lang.String serviceInstanceId)
        Class constructor
        Parameters:
        userId -
        followedUserId -
        socialNetworkId -
        serviceInstanceId -
        Since:
        6.1.0
    • Method Detail

      • getId

        public java.lang.String getId()
        Returns the id.
        Returns:
        the id
        Since:
        6.1.0
      • setId

        public void setId​(java.lang.String id)
        Sets the id.
        Parameters:
        id - the id value to set.
        Since:
        6.1.0
      • getUserId

        public java.lang.String getUserId()
        Returns the userId.
        Returns:
        the userId
        Since:
        6.1.0
      • setUserId

        public void setUserId​(java.lang.String userId)
        Sets the userId.
        Parameters:
        userId - the userId value to set.
        Since:
        6.1.0
      • getFollowedUserId

        public java.lang.String getFollowedUserId()
        Returns the followedUserId.
        Returns:
        the followedUserId
        Since:
        6.1.0
      • setFollowedUserId

        public void setFollowedUserId​(java.lang.String followedUserId)
        Sets the followedUserId.
        Parameters:
        followedUserId - the followedUserId value to set.
        Since:
        6.1.0
      • getSocialNetworkId

        public java.lang.String getSocialNetworkId()
        Returns the socialNetworkId.
        Returns:
        the socialNetworkId
        Since:
        6.1.0
      • setSocialNetworkId

        public void setSocialNetworkId​(java.lang.String socialNetworkId)
        Sets the socialNetworkId.
        Parameters:
        socialNetworkId - the socialNetworkId value to set.
        Since:
        6.1.0
      • getServiceInstanceId

        public java.lang.String getServiceInstanceId()
        Returns the serviceInstanceId.
        Returns:
        the serviceInstanceId
        Since:
        6.1.0
      • setServiceInstanceId

        public void setServiceInstanceId​(java.lang.String serviceInstanceId)
        Sets the serviceInstanceId.
        Parameters:
        serviceInstanceId - the serviceInstanceId value to set.
        Since:
        6.1.0