Oracle Fusion Middleware extensions for Seed Data Framework
11g Release 1 (11.1.2)

E22564-02

oracle.apps.fnd.applseed.rt.common.objects
Class SDTableUsage

java.lang.Object
  extended by oracle.apps.fnd.applseed.rt.common.objects.SDTableUsage

public class SDTableUsage
extends java.lang.Object

Class provides table usage inforamtion. This inforamtion may be derived from the BC4J model, or may be user entered.


Constructor Summary
SDTableUsage(java.lang.String tableName, java.lang.String viewName, java.lang.String definedBy, boolean isUpdated)
          Constructor for TableUsage.
 
Method Summary
 boolean equals(java.lang.Object obj)
          
TableUsages are uniquely identified by table name.
 java.lang.String getDefinedBy()
          Method returns the source of the definition.
 java.lang.String getTableName()
          Name of the table that is affected by Seed Data operations.
static java.util.List<SDTableUsage> getTableUsageList(oracle.jbo.ApplicationModule am, SDViewNode root)
          Method returns the list of table usages for the selected root view.
static java.util.List<SDTableUsage> getTableUsageListForNode(oracle.jbo.ApplicationModule am, SDViewNode node)
          Method returns the list of table usages for the selected root view.
 java.lang.String getViewName()
          Name of the BC4J ViewObject that contains the definition.
 boolean isTableUpdated()
          Method returns true if the table is identified as updated during Seed Data Operations.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SDTableUsage

public SDTableUsage(java.lang.String tableName,
                    java.lang.String viewName,
                    java.lang.String definedBy,
                    boolean isUpdated)
Constructor for TableUsage.

Parameters:
tableName - table name
viewName - view name
definedBy - usage defined by
isUpdated - is table updated
Method Detail

getTableName

public java.lang.String getTableName()
Name of the table that is affected by Seed Data operations.

Returns:
table name

getViewName

public java.lang.String getViewName()
Name of the BC4J ViewObject that contains the definition. This may be an empty string if the usage is defined by the user.

Returns:
ViewName

getDefinedBy

public java.lang.String getDefinedBy()
Method returns the source of the definition. If the source is the BC4J model, "M" is returned. Else, the user may enter any string as the source.

Returns:
Definition source

isTableUpdated

public boolean isTableUpdated()
Method returns true if the table is identified as updated during Seed Data Operations.

Returns:
true if table is updated

getTableUsageList

public static java.util.List<SDTableUsage> getTableUsageList(oracle.jbo.ApplicationModule am,
                                                             SDViewNode root)
Method returns the list of table usages for the selected root view.

Parameters:
am - Application Module
root - ViewObject of the Seed extract.
Returns:
List of table usages

getTableUsageListForNode

public static java.util.List<SDTableUsage> getTableUsageListForNode(oracle.jbo.ApplicationModule am,
                                                                    SDViewNode node)
Method returns the list of table usages for the selected root view.

Parameters:
am - Application Module
node - ViewObject of the Seed extract.
Returns:
List of table usages

toString

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

equals

public boolean equals(java.lang.Object obj)

TableUsages are uniquely identified by table name.

Overrides:
equals in class java.lang.Object
Parameters:
obj - object to be compared
Returns:
true if the object is equal

Oracle Fusion Middleware extensions for Seed Data Framework
11g Release 1 (11.1.2)

E22564-02

Copyright © 2011 Oracle. All Rights Reserved.