Class DbTreeNode

java.lang.Object
org.jumpmind.vaadin.ui.sqlexplorer.DbTreeNode
All Implemented Interfaces:
Serializable

public class DbTreeNode extends Object implements Serializable
See Also:
  • Field Details

    • name

      protected String name
    • description

      protected String description
    • type

      protected String type
    • icon

      protected com.vaadin.flow.component.icon.VaadinIcon icon
    • properties

      protected TypedProperties properties
    • parent

      protected DbTreeNode parent
    • children

      protected List<DbTreeNode> children
    • dbTree

      protected DbTree dbTree
  • Constructor Details

    • DbTreeNode

      public DbTreeNode(DbTree dbTree, String name, String type, com.vaadin.flow.component.icon.VaadinIcon icon, DbTreeNode parent)
    • DbTreeNode

      public DbTreeNode(DbTree dbTree, String type, DbTreeNode parent)
    • DbTreeNode

      public DbTreeNode()
  • Method Details

    • setParent

      public void setParent(DbTreeNode parent)
    • getParent

      public DbTreeNode getParent()
    • setName

      public void setName(String name)
    • getName

      public String getName()
    • getType

      public String getType()
    • setType

      public void setType(String type)
    • hasChildren

      public boolean hasChildren()
    • getChildren

      public List<DbTreeNode> getChildren()
    • setChildren

      public void setChildren(List<DbTreeNode> children)
    • find

      public DbTreeNode find(DbTreeNode node)
    • getTableFor

      protected Table getTableFor()
    • delete

      public boolean delete(DbTreeNode node)
    • setDescription

      public void setDescription(String description)
    • getDescription

      public String getDescription()
    • setIcon

      public void setIcon(com.vaadin.flow.component.icon.VaadinIcon icon)
    • getIcon

      public com.vaadin.flow.component.icon.VaadinIcon getIcon()
    • findTreeNodeNamesOfType

      public List<String> findTreeNodeNamesOfType(String type)
    • findTreeNodeNamesOfType

      public void findTreeNodeNamesOfType(String type, List<DbTreeNode> treeNodes, List<String> names)
    • setProperties

      public void setProperties(TypedProperties properties)
    • getProperties

      public TypedProperties getProperties()
    • hashCode

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

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