com.samsung.android.penup.model

Class TagResource

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


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

      Constructors 
      Constructor and Description
      TagResource()
      Constructs a TagResource instance.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      TagResource clone()
      Clones this object.
      int getArtworkCount()
      Gets the number of artworks that have been posted to this tag.
      java.lang.String getId()
      Gets the tag ID.
      java.lang.String getName()
      Gets the tag name.
    • Constructor Detail

      • TagResource

        public TagResource()
        Constructs a TagResource instance.
        Since:
        PEN.UP 1.0
    • Method Detail

      • clone

        public TagResource 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 tag ID.
        Specified by:
        getId in interface Resource
        Returns:
        The tag ID
        Since:
        PEN.UP 1.0
      • getName

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

        public int getArtworkCount()
        Gets the number of artworks that have been posted to this tag.
        Returns:
        The number of artworks
        Since:
        PEN.UP 1.0