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

E22562-05

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

java.lang.Object
  extended by oracle.apps.fnd.applcore.trees.uiModel.Attribute

public class Attribute
extends java.lang.Object

Run-time representation of an Attribute.

Author:
Abhay K Kumar <abhay.k.kumar@oracle.com>

Constructor Summary
Attribute(oracle.jbo.AttributeDef attrDef)
          Create the attribute with the provided AttributeDef.
 
Method Summary
 java.lang.Class getAttrClass()
          Gets the Java class of the attribute.
 java.lang.String getAttrName()
          Gets the name of the attribute.
 java.lang.String getColumnNameForQuery()
          Gets the column name for the attribute.
static java.lang.String getDataType(java.lang.Class attrClass)
          Gets the relevent datatype name depending on the attribute class.
 org.apache.commons.beanutils.DynaProperty getDynaProperty()
          Gets the DynaProperty representing this attribute.
 java.lang.String toString()
          Provides a String representation of the Tree Structure.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Attribute

public Attribute(oracle.jbo.AttributeDef attrDef)
Create the attribute with the provided AttributeDef.

Parameters:
attrDef - the ADF BC attribute def
Method Detail

getAttrClass

public java.lang.Class getAttrClass()
Gets the Java class of the attribute.

Returns:
the class of the attribute.

getAttrName

public java.lang.String getAttrName()
Gets the name of the attribute.

Returns:
the name of the attribute.

getColumnNameForQuery

public java.lang.String getColumnNameForQuery()
Gets the column name for the attribute.

Returns:
the column name of the attribute.

getDynaProperty

public org.apache.commons.beanutils.DynaProperty getDynaProperty()
Gets the DynaProperty representing this attribute.

Returns:
DynaProperty the DynaProperty representing this attribute

toString

public java.lang.String toString()
Provides a String representation of the Tree Structure.

Overrides:
toString in class java.lang.Object
Returns:
String the String representation

getDataType

public static java.lang.String getDataType(java.lang.Class attrClass)
Gets the relevent datatype name depending on the attribute class.

Parameters:
attrClass - input attribute Class
Returns:
datatype

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

E22562-05

Copyright © 2012 Oracle. All Rights Reserved.