org.openpermis.editor.policy.view
Class TermNode

java.lang.Object
  extended by org.openpermis.editor.policy.view.TermNode
All Implemented Interfaces:
TreeNode

 class TermNode
extends Object
implements TreeNode

Since:
0.3.0

Field Summary
private  List<TermNode> children
           
private  TermNode parent
           
private  Object rootTerm
           
private  StringBuffer stringBuffer
           
private  Object term
           
 
Constructor Summary
TermNode(Object rootTerm, Object term, TermNode parent)
           
 
Method Summary
 Enumeration<TermNode> children()
           
 boolean getAllowsChildren()
           
 TreeNode getChildAt(int childIndex)
           
 int getChildCount()
           
 int getIndex(TreeNode node)
           
 TreeNode getParent()
           
 Object getTerm()
           
 boolean isLeaf()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

parent

private TermNode parent
Since:
0.3.0

term

private Object term
Since:
0.3.0

children

private List<TermNode> children
Since:
0.3.0

rootTerm

private Object rootTerm
Since:
0.3.0

stringBuffer

private StringBuffer stringBuffer
Since:
0.3.0
Constructor Detail

TermNode

public TermNode(Object rootTerm,
                Object term,
                TermNode parent)
Since:
0.3.0
Method Detail

children

public Enumeration<TermNode> children()
Specified by:
children in interface TreeNode
Since:
0.3.0

getAllowsChildren

public boolean getAllowsChildren()
Specified by:
getAllowsChildren in interface TreeNode
Since:
0.3.0

getChildAt

public TreeNode getChildAt(int childIndex)
Specified by:
getChildAt in interface TreeNode
Since:
0.3.0

getChildCount

public int getChildCount()
Specified by:
getChildCount in interface TreeNode
Since:
0.3.0

getIndex

public int getIndex(TreeNode node)
Specified by:
getIndex in interface TreeNode
Since:
0.3.0

getParent

public TreeNode getParent()
Specified by:
getParent in interface TreeNode
Since:
0.3.0

isLeaf

public boolean isLeaf()
Specified by:
isLeaf in interface TreeNode
Since:
0.3.0

getTerm

public Object getTerm()
Since:
0.3.0

toString

public String toString()
Overrides:
toString in class Object
Since:
0.3.0


PERMIS Role Based Access Control 0.3.0 (Build 14)
2009/05/08 09:06:48
Copyright (c) 2002-2007 Ergon Informatik AG