Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.1.6)

E22562-03

oracle.apps.fnd.applcore.trees.uiModel
Class TreeNode

java.lang.Object
  extended by org.apache.commons.beanutils.BasicDynaBean
      extended by oracle.apps.fnd.applcore.trees.uiModel.TreeNode
All Implemented Interfaces:
java.io.Serializable, org.apache.commons.beanutils.DynaBean

public class TreeNode
extends org.apache.commons.beanutils.BasicDynaBean

Dyna bean representing a tree node.

Author:
Arun K Viswanathan <arun.viswanathan&064;oracle.com>
See Also:
BasicDynaBean, Serialized Form

Field Summary
 
Fields inherited from class org.apache.commons.beanutils.BasicDynaBean
dynaClass, values
 
Constructor Summary
TreeNode(org.apache.commons.beanutils.DynaClass dynaClass)
          Construct a new DynaBean associated with the specified DynaClass instance.
 
Method Summary
 void copyProperties(oracle.jbo.Row treeNodeRow)
          Copies known properties from a JBO Row representing a tree node to this DynaBean.
 java.lang.Object get(java.lang.String string)
          Gets the value for given property.
 void initializeType()
          Initialize the type of the tree node.
 boolean isRangeNode()
          Checks whether the node is a range node.
 boolean isRefTreeNode()
          Checks whether the node is a referenced tree node.
 boolean isValueNode()
          Checks whether the node is a value node.
 void set(java.lang.String string, java.lang.Object object)
          Set the value of a simple property with the specified name.
 java.lang.String toString()
          Gets the String representation for the instance of this class.
 
Methods inherited from class org.apache.commons.beanutils.BasicDynaBean
contains, get, get, getDynaClass, getDynaProperty, isAssignable, remove, set, set
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TreeNode

public TreeNode(org.apache.commons.beanutils.DynaClass dynaClass)
Construct a new DynaBean associated with the specified DynaClass instance.

Parameters:
dynaClass - the class we are associated with
Method Detail

get

public java.lang.Object get(java.lang.String string)
Gets the value for given property.

Specified by:
get in interface org.apache.commons.beanutils.DynaBean
Overrides:
get in class org.apache.commons.beanutils.BasicDynaBean
Parameters:
string - Name of the Tree Node property
Returns:
Value for the Tree Node property

toString

public java.lang.String toString()
Gets the String representation for the instance of this class.

Overrides:
toString in class java.lang.Object
Returns:
the String represntation of the instance of this class

copyProperties

public void copyProperties(oracle.jbo.Row treeNodeRow)
Copies known properties from a JBO Row representing a tree node to this DynaBean.

Parameters:
treeNodeRow - the JBO row representing the tree node

initializeType

public void initializeType()
Initialize the type of the tree node.

See Also:
TreeNodeProperties.TreeNodeType

isValueNode

public boolean isValueNode()
Checks whether the node is a value node.

Returns:
boolean whether node is value node

isRangeNode

public boolean isRangeNode()
Checks whether the node is a range node.

Returns:
boolean whether node is range node

isRefTreeNode

public boolean isRefTreeNode()
Checks whether the node is a referenced tree node.

Returns:
boolean whether node is referenced tree node

set

public void set(java.lang.String string,
                java.lang.Object object)
Set the value of a simple property with the specified name.

Specified by:
set in interface org.apache.commons.beanutils.DynaBean
Overrides:
set in class org.apache.commons.beanutils.BasicDynaBean
Parameters:
string - Name of the property whose value is to be set
object - Value to which this property is to be set

Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.1.6)

E22562-03

Copyright © 2012 Oracle. All Rights Reserved.