com.samsung.android.penup.model

Class ArtistResource

  • java.lang.Object
    • com.samsung.android.penup.model.ArtistResource
  • All Implemented Interfaces:
    Resource, java.lang.Cloneable


    public final class ArtistResource
    extends java.lang.Object
    implements Resource
    This class contains meta data of the artist like a name, a description, and etc.
    Since:
    PEN.UP 1.0
    • Constructor Summary

      Constructors 
      Constructor and Description
      ArtistResource()
      Constructs an ArtistResource instance.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      ArtistResource clone()
      Clones this object.
      java.lang.String getDescription()
      Gets the description of the artist.
      int getFavoritedCount()
      Gets the number of the artist's artworks which the other users have added to their favorites.
      int getFollowerCount()
      Gets the number of users who follow the artist.
      int getFollowingCount()
      Gets the number of users, tags, and collections that the artist follows.
      java.lang.String getId()
      Gets the artist ID.
      java.lang.String getImageUrl()
      Gets the profile image URL of the artist.
      java.lang.String getName()
      Gets the artist name.
      int getPostCount()
      Gets the number of artworks which the artist has posted.
      int getRepostCount()
      Gets the number of artworks which the artist has reposted.
      int getRepostedCount()
      Gets the number of the artist's artworks which the other users have reposted.
    • Constructor Detail

      • ArtistResource

        public ArtistResource()
        Constructs an ArtistResource instance.
        Since:
        PEN.UP 1.0
    • Method Detail

      • clone

        public ArtistResource clone()
        Clones this object.
        Specified by:
        clone in interface Resource
        Overrides:
        clone in class java.lang.Object
        Returns:
        The cloned object
        Since:
        PEN.UP 1.0
      • getId

        public java.lang.String getId()
        Gets the artist ID.
        Specified by:
        getId in interface Resource
        Returns:
        The artist ID
        Since:
        PEN.UP 1.0
      • getName

        public java.lang.String getName()
        Gets the artist name.
        Returns:
        The artist name
        Since:
        PEN.UP 1.0
      • getDescription

        public java.lang.String getDescription()
        Gets the description of the artist.
        Returns:
        The description of the artist
        Since:
        PEN.UP 1.0
      • getImageUrl

        public java.lang.String getImageUrl()
        Gets the profile image URL of the artist.
        Returns:
        The profile image URL of the artist
        Since:
        PEN.UP 1.0
      • getPostCount

        public int getPostCount()
        Gets the number of artworks which the artist has posted.
        Returns:
        The number of artworks which the artist has posted
        Since:
        PEN.UP 1.0
      • getRepostCount

        public int getRepostCount()
        Gets the number of artworks which the artist has reposted.
        Returns:
        The number of artworks which the artist has reposted
        Since:
        PEN.UP 1.0
      • getRepostedCount

        public int getRepostedCount()
        Gets the number of the artist's artworks which the other users have reposted.
        Returns:
        The number of the artist's artworks which the other users have reposted
        Since:
        PEN.UP 1.0
      • getFavoritedCount

        public int getFavoritedCount()
        Gets the number of the artist's artworks which the other users have added to their favorites.
        Returns:
        The number of the artist's artworks which the other users have added to their favorites
        Since:
        PEN.UP 1.0
      • getFollowerCount

        public int getFollowerCount()
        Gets the number of users who follow the artist.
        Returns:
        The number of users who follow the artist
        Since:
        PEN.UP 1.0
      • getFollowingCount

        public int getFollowingCount()
        Gets the number of users, tags, and collections that the artist follows.
        Returns:
        The number of users, tags, and collections that the artist follows
        Since:
        PEN.UP 1.0