Class Branch

java.lang.Object
org.openscada.opc.lib.da.browser.Branch

public class Branch extends Object
  • Constructor Details

    • Branch

      public Branch()
      Create a branch to the virtual root folder
    • Branch

      public Branch(Branch parent, String name)
      Create a branch with a parent branch and a name of this branch.
      Parameters:
      parent - The parent of this branch
      name - The name of this branch
  • Method Details

    • getBranches

      public Collection<Branch> getBranches()
      Get all branches.
      They must be filled first with a fill method from the TreeBrowser
      Returns:
      The list of branches
    • setBranches

      public void setBranches(Collection<Branch> branches)
    • getLeaves

      public Collection<Leaf> getLeaves()
      Get all leaves.
      They must be filled first with a fill method from the TreeBrowser
      Returns:
      The list of leaves
    • setLeaves

      public void setLeaves(Collection<Leaf> leaves)
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • getParent

      public Branch getParent()
    • getBranchStack

      public Collection<String> getBranchStack()
      Get the list of names from the parent up to this branch
      Returns:
      The stack of branch names from the parent up this one