Class Tag


  • public final class Tag
    extends Object
    The Tag model.
    • Constructor Detail

      • Tag

        public Tag()
    • Method Detail

      • getId

        public int getId()
        Get the id property: Uniquely identify a tag.
        Returns:
        the id value.
      • setId

        public Tag setId​(int id)
        Set the id property: Uniquely identify a tag.
        Parameters:
        id - the id value to set.
        Returns:
        the Tag object itself.
      • getName

        public String getName()
        Get the name property: The name property.
        Returns:
        the name value.
      • setName

        public Tag setName​(String name)
        Set the name property: The name property.
        Parameters:
        name - the name value to set.
        Returns:
        the Tag object itself.
      • getWorkspace

        public String getWorkspace()
        Get the workspace property: Uniquely identify a workspace.
        Returns:
        the workspace value.
      • setWorkspace

        public Tag setWorkspace​(String workspace)
        Set the workspace property: Uniquely identify a workspace.
        Parameters:
        workspace - the workspace value to set.
        Returns:
        the Tag object itself.
      • getDocumentCount

        public int getDocumentCount()
        Get the documentCount property: Number of documents tagged with this.
        Returns:
        the documentCount value.
      • setDocumentCount

        public Tag setDocumentCount​(int documentCount)
        Set the documentCount property: Number of documents tagged with this.
        Parameters:
        documentCount - the documentCount value to set.
        Returns:
        the Tag object itself.