Class MapTagCategoryState

java.lang.Object
org.freeplane.api.MapTagCategoryState

public class MapTagCategoryState extends Object
Immutable map-level tag category structure at one revision.
Since:
1.13.3
  • Constructor Details

    • MapTagCategoryState

      public MapTagCategoryState(String revision, String categorySeparator, List<MapTagCategoryNode> categories, List<MapTagItem> uncategorizedTags)
      Parameters:
      revision - revision token for this structure
      categorySeparator - separator used in qualified category and tag names
      categories - top-level categorized tag nodes
      uncategorizedTags - tags that are not assigned to any category
  • Method Details

    • getRevision

      public String getRevision()
      Returns the revision token to use as baseRevision in the next edit request.
    • getCategorySeparator

      public String getCategorySeparator()
      Returns the separator used in qualified category and tag names.
    • getCategories

      public List<MapTagCategoryNode> getCategories()
      Returns the top-level categorized tag nodes.
    • getUncategorizedTags

      public List<MapTagItem> getUncategorizedTags()
      Returns the tags that are not assigned to any category.
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object