sg.edu.nus.gui.dbview
Class GlobalDBTreeNode

java.lang.Object
  extended by javax.swing.tree.DefaultMutableTreeNode
      extended by sg.edu.nus.gui.dbview.GlobalDBTreeNode
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, javax.swing.tree.MutableTreeNode, javax.swing.tree.TreeNode

public class GlobalDBTreeNode
extends javax.swing.tree.DefaultMutableTreeNode

Implement node in the DBTree for global schema

See Also:
Serialized Form

Field Summary
static int SHARESTATUS_SHARE
           
static int SHARESTATUS_TEMPSHARE
           
static int SHARESTATUS_TEMPUNSHARE
           
static int SHARESTATUS_UNSHARE
           
 
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
EMPTY_ENUMERATION
 
Constructor Summary
GlobalDBTreeNode(java.lang.String name)
          Constructor
 
Method Summary
 java.lang.String getNodeType()
           
 int getShareStatus()
           
 java.lang.String getSourceSchemaName()
           
 java.lang.String getTargetSchemaName()
           
 void setNodeType(java.lang.String nodeType)
           
 void setShareStatus(int shareStatus)
           
 void setSourceSchemaName(java.lang.String sourceSchemaName)
           
 void setTargetSchemaName(java.lang.String targetSchemaName)
           
 
Methods inherited from class javax.swing.tree.DefaultMutableTreeNode
add, breadthFirstEnumeration, children, clone, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildAt, getChildBefore, getChildCount, getDepth, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getParent, getPath, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, insert, isLeaf, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

SHARESTATUS_SHARE

public static int SHARESTATUS_SHARE

SHARESTATUS_UNSHARE

public static int SHARESTATUS_UNSHARE

SHARESTATUS_TEMPSHARE

public static int SHARESTATUS_TEMPSHARE

SHARESTATUS_TEMPUNSHARE

public static int SHARESTATUS_TEMPUNSHARE
Constructor Detail

GlobalDBTreeNode

public GlobalDBTreeNode(java.lang.String name)
Constructor

Parameters:
columnName - - the name of the column
Method Detail

getNodeType

public java.lang.String getNodeType()
Returns:
the nodeType

setNodeType

public void setNodeType(java.lang.String nodeType)
Parameters:
nodeType - the nodeType to set

getShareStatus

public int getShareStatus()
Returns:
the shareStatus

setShareStatus

public void setShareStatus(int shareStatus)
Parameters:
shareStatus - the shareStatus to set

getSourceSchemaName

public java.lang.String getSourceSchemaName()
Returns:
the sourceSchemaName

setSourceSchemaName

public void setSourceSchemaName(java.lang.String sourceSchemaName)
Parameters:
sourceSchemaName - the sourceSchemaName to set

getTargetSchemaName

public java.lang.String getTargetSchemaName()
Returns:
the targetSchemaName

setTargetSchemaName

public void setTargetSchemaName(java.lang.String targetSchemaName)
Parameters:
targetSchemaName - the targetSchemaName to set