1 package net.sourceforge.phpdt.sql.view.bookmark;
3 public class SequenceNode implements TreeNode, Comparable {
4 private BookmarkNode parent;
7 public SequenceNode(BookmarkNode parent, String seqName) {
12 public Object[] getChildren() {
13 return Root.EMPTY_ARRAY;
16 public Object getParent() {
20 public boolean hasChildren() {
24 public String getName() {
28 public String toString() {
32 public int compareTo(Object o) {
33 if (o instanceof SequenceNode) {
34 SequenceNode node = (SequenceNode) o;
35 return name.compareTo(node.getName());
36 } else if (o instanceof TreeNode || o instanceof ViewNode) {