com.carlosbcruz.account.control
Class AccountTreeNodeObject

java.lang.Object
  extended by com.carlosbcruz.account.control.AccountTreeNodeObject

public class AccountTreeNodeObject
extends java.lang.Object

Represents a node in a tree and contains information of the note type

Author:
Carlos Fernando Bella Cruz - pessoal@carlosbcruz.com

Field Summary
static int ACCOUNT_ID
           
static int ACCOUNT_LEAF
           
static int ACCOUNT_NODE
           
static int CHECK_LEAF
           
static int CHECK_NODE
           
static int COMMENT_LEAF
           
static int COMMENT_NODE
           
static int ROOT_NODE
           
 
Method Summary
 java.lang.String getNodeIdentification()
          Inform the node identification
 int getNoteType()
          Inform the node type
 void setNodeIdentification(java.lang.String nodeIdentification)
          Set the node identification
 void setNoteType(int noteType)
          Set the node type
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ROOT_NODE

public static final int ROOT_NODE
See Also:
Constant Field Values

ACCOUNT_NODE

public static final int ACCOUNT_NODE
See Also:
Constant Field Values

ACCOUNT_ID

public static final int ACCOUNT_ID
See Also:
Constant Field Values

ACCOUNT_LEAF

public static final int ACCOUNT_LEAF
See Also:
Constant Field Values

CHECK_NODE

public static final int CHECK_NODE
See Also:
Constant Field Values

CHECK_LEAF

public static final int CHECK_LEAF
See Also:
Constant Field Values

COMMENT_NODE

public static final int COMMENT_NODE
See Also:
Constant Field Values

COMMENT_LEAF

public static final int COMMENT_LEAF
See Also:
Constant Field Values
Method Detail

getNodeIdentification

public java.lang.String getNodeIdentification()
Inform the node identification

Returns:
The node identification

setNodeIdentification

public void setNodeIdentification(java.lang.String nodeIdentification)
Set the node identification

Parameters:
nodeIdentification - The Node Identification

getNoteType

public int getNoteType()
Inform the node type

Returns:
The node type

setNoteType

public void setNoteType(int noteType)
Set the node type

Parameters:
noteType - The Note Type

toString

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