uk.co.mullsoft.jean
Class NodeIdentification

java.lang.Object
  extended by uk.co.mullsoft.jean.NodeIdentification
All Implemented Interfaces:
javax.swing.tree.MutableTreeNode, javax.swing.tree.TreeNode

public class NodeIdentification
extends java.lang.Object
implements javax.swing.tree.MutableTreeNode


Field Summary
 ACL acl
           
 java.lang.String applicationName
           
 java.util.Date creationDate
           
 boolean hidden
           
 long id
           
 boolean index
           
 java.lang.String name
           
 NodeType type
           
 
Constructor Summary
NodeIdentification(java.lang.String applicationName, java.lang.String name, long id, NodeType type, java.util.Date creationDate, ACL acl, boolean index, boolean hidden)
           
 
Method Summary
 void add(javax.swing.tree.MutableTreeNode newChild)
          Description of the Method
 java.util.Enumeration children()
          Description of the Method
 boolean getAllowsChildren()
          Gets the allowsChildren attribute of the Node object
 javax.swing.tree.TreeNode getChildAt(int param)
          Gets the childAt attribute of the Node object
 int getChildCount()
          Gets the childCount attribute of the Node object
 java.lang.Object getCompareValue()
           
 java.lang.String getDescriptor()
          Gets the descriptor attribute of the Node object
 int getIndex(javax.swing.tree.TreeNode treeNode)
          Gets the index attribute of the Node object
 Node getNode()
           
 javax.swing.tree.TreeNode getParent()
          Gets the parent attribute of the Node object
 void insert(javax.swing.tree.MutableTreeNode mutableTreeNode, int ordinal)
          Description of the Method
 boolean isEvery()
           
 boolean isLeaf()
          Gets the allowsChildren attribute of the Node object
 void remove(int param)
          Description of the Method
 void remove(javax.swing.tree.MutableTreeNode mutableTreeNode)
          Description of the Method
 void removeFromParent()
          Description of the Method
 void setCompareValue(java.lang.Object compareValue)
           
 void setParent(javax.swing.tree.MutableTreeNode mutableTreeNode)
          Sets the parent attribute of the Node object
 void setUserObject(java.lang.Object obj)
          Sets the userObject attribute of the Node object
 java.lang.String toDebugString()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

name

public final java.lang.String name

id

public final long id

type

public final NodeType type

creationDate

public final java.util.Date creationDate

acl

public final ACL acl

applicationName

public final java.lang.String applicationName

index

public final boolean index

hidden

public final boolean hidden
Constructor Detail

NodeIdentification

public NodeIdentification(java.lang.String applicationName,
                          java.lang.String name,
                          long id,
                          NodeType type,
                          java.util.Date creationDate,
                          ACL acl,
                          boolean index,
                          boolean hidden)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

toDebugString

public java.lang.String toDebugString()

getDescriptor

public java.lang.String getDescriptor()
Gets the descriptor attribute of the Node object

Returns:
The descriptor value

getNode

public Node getNode()

isEvery

public boolean isEvery()

add

public void add(javax.swing.tree.MutableTreeNode newChild)
Description of the Method

Parameters:
newChild - Description of the Parameter

getChildAt

public javax.swing.tree.TreeNode getChildAt(int param)
Gets the childAt attribute of the Node object

Specified by:
getChildAt in interface javax.swing.tree.TreeNode
Parameters:
param - Description of the Parameter
Returns:
The childAt value

getChildCount

public int getChildCount()
Gets the childCount attribute of the Node object

Specified by:
getChildCount in interface javax.swing.tree.TreeNode
Returns:
The childCount value

getIndex

public int getIndex(javax.swing.tree.TreeNode treeNode)
Gets the index attribute of the Node object

Specified by:
getIndex in interface javax.swing.tree.TreeNode
Parameters:
treeNode - Description of the Parameter
Returns:
The index value

getParent

public javax.swing.tree.TreeNode getParent()
Gets the parent attribute of the Node object

Specified by:
getParent in interface javax.swing.tree.TreeNode
Returns:
The parent value

insert

public void insert(javax.swing.tree.MutableTreeNode mutableTreeNode,
                   int ordinal)
Description of the Method

Specified by:
insert in interface javax.swing.tree.MutableTreeNode
Parameters:
mutableTreeNode - Description of the Parameter
param - Description of the Parameter

remove

public void remove(javax.swing.tree.MutableTreeNode mutableTreeNode)
Description of the Method

Specified by:
remove in interface javax.swing.tree.MutableTreeNode
Parameters:
mutableTreeNode - Description of the Parameter

remove

public void remove(int param)
Description of the Method

Specified by:
remove in interface javax.swing.tree.MutableTreeNode
Parameters:
param - Description of the Parameter

setParent

public void setParent(javax.swing.tree.MutableTreeNode mutableTreeNode)
Sets the parent attribute of the Node object

Specified by:
setParent in interface javax.swing.tree.MutableTreeNode
Parameters:
mutableTreeNode - The new parent value

getAllowsChildren

public boolean getAllowsChildren()
Gets the allowsChildren attribute of the Node object

Specified by:
getAllowsChildren in interface javax.swing.tree.TreeNode
Returns:
The allowsChildren value

isLeaf

public boolean isLeaf()
Gets the allowsChildren attribute of the Node object

Specified by:
isLeaf in interface javax.swing.tree.TreeNode
Returns:
The allowsChildren value

children

public java.util.Enumeration children()
Description of the Method

Specified by:
children in interface javax.swing.tree.TreeNode
Returns:
Description of the Return Value

setUserObject

public void setUserObject(java.lang.Object obj)
Sets the userObject attribute of the Node object

Specified by:
setUserObject in interface javax.swing.tree.MutableTreeNode
Parameters:
obj - The new userObject value

removeFromParent

public void removeFromParent()
Description of the Method

Specified by:
removeFromParent in interface javax.swing.tree.MutableTreeNode

setCompareValue

public void setCompareValue(java.lang.Object compareValue)

getCompareValue

public java.lang.Object getCompareValue()