Class TemplateTreeItem


  • public class TemplateTreeItem
    extends Object
    Templates deserializer
    • Constructor Detail

      • TemplateTreeItem

        public TemplateTreeItem()
    • Method Detail

      • getName

        public String getName()
        Get element name
        Returns:
        element name, never null
      • getGroup

        public int getGroup()
        Is element group?
        Returns:
        if group return true, else - false
      • getAppendToMenu

        public int getAppendToMenu()
        Menu item number
        Returns:
        menu item number
      • getSourceStr

        public String getSourceStr()
        Get source string
        Returns:
        source
      • getDestStr

        public String getDestStr()
        The string to replace the source string
        Returns:
        destination
      • setName

        public void setName​(String name)
        Sets element name
        Parameters:
        name - name of the element, cannot be null
      • setIsGroup

        public void setIsGroup​(boolean value)
        Sets propery group
        Parameters:
        value - true if item is group, false otherwise
      • setAppendToMenu

        public void setAppendToMenu​(boolean value)
        Sets that item should be in menu
        Parameters:
        value - true if item should be in menu, false otherwise
      • setSourceStr

        public void setSourceStr​(String sourceStr)
        Sets source string presentation
        Parameters:
        sourceStr - source presentation, cannot be null
      • setDestStr

        public void setDestStr​(String destStr)
        Sets dest string presentation
        Parameters:
        destStr - dest presentation, cannot be null