package net.sourceforge.phpdt.sql.view.bookmark; public class MetaDataNode implements TreeNode { TreeNode parent; String name; String type; public MetaDataNode(TableNode node, String name, String type) { this.parent = node; this.name = name; this.type = type; } public MetaDataNode(ViewNode node, String name, String type) { this.parent = node; this.name = name; this.type = type; } public String getName() { return name; } public String getType() { return type; } public void setName(String name) { this.name = name; } public void setType(String type) { this.type = type; } public Object[] getChildren() { return Root.EMPTY_ARRAY; } public Object getParent() { return parent; } public boolean hasChildren() { return false; } public String toString() { return name + " " + type; } }