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 PrimaryKey

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

public class PrimaryKey
extends java.lang.Object

Representation of a Primary Key with name value and class details.

Author:
Abhay K Kumar <abhay.k.kumar&064;oracle.com>

Constructor Summary
PrimaryKey(java.lang.String name, java.lang.String columnNameForQuery, java.lang.Class classType, java.lang.String value)
          Constructor for Primary Key details bean.
 
Method Summary
 java.lang.Class getClassType()
          Gets the class type for this primary key attribute.
 java.lang.String getColumnNameForQuery()
          Gets the Column Name for Query.
 java.lang.String getName()
          Gets the Attribute name for primary key column.
static PrimaryKey getPrimaryKey(Attribute attr, java.lang.String val)
          Gets a handle of newly created for given atrtribute and value
 java.lang.String getValue()
          Gets the value for this primary key attribute.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrimaryKey

public PrimaryKey(java.lang.String name,
                  java.lang.String columnNameForQuery,
                  java.lang.Class classType,
                  java.lang.String value)
Constructor for Primary Key details bean.

Parameters:
name - Primary Key attribute Name
columnNameForQuery - Primary Key actual column name
classType - Actual Class Type of the Primary Key attribute
value - Value of the primary key as string
Method Detail

getPrimaryKey

public static PrimaryKey getPrimaryKey(Attribute attr,
                                       java.lang.String val)
Gets a handle of newly created for given atrtribute and value

Parameters:
attr - Attribute of this Primary Key
val - Value as string for this primary key
Returns:
New Primary key bean created for this pair of attribute and value
See Also:
Attribute

getName

public java.lang.String getName()
Gets the Attribute name for primary key column.

Returns:
the attribute name

getColumnNameForQuery

public java.lang.String getColumnNameForQuery()
Gets the Column Name for Query.

Returns:
Column Name for this primary key attribute

getClassType

public java.lang.Class getClassType()
Gets the class type for this primary key attribute.

Returns:
classType class type as Class

getValue

public java.lang.String getValue()
Gets the value for this primary key attribute.

Returns:
value as Value in string format

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

E22562-03

Copyright © 2012 Oracle. All Rights Reserved.