|
Oracle Data-aware Controls Reference | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.dacf.dataset.MasterLink
oracle.dacf.dataset.DynamicViewLinkInfo
Describes the link between two dynamically defined queries (View Objects). The DynamicViewLinkInfo class defines the link for two read-only query views. It also works for any combination of dynamic, predefined and read-only query views. The syntax to define such a link is:
rowsetinfo.setMasterLinkInfo(new DynamicViewLinkInfo (RowSetInfo master_rowset, String [] masterJoinColumns, String [] detailJoinColumns))
Where masterJoinColumns is the list of columns in the master rowset that link the master to the detail rowset and detailJoinColumns is the list of columns in the detail rowset that link to the master rowset.
Field Summary |
Fields inherited from class oracle.dacf.dataset.MasterLink |
_master |
Constructor Summary | |
DynamicViewLinkInfo()
Default constructor. |
|
DynamicViewLinkInfo(RowSetInfo master,
java.lang.String[] srcCols,
java.lang.String[] dstCols)
Parameterized constuctor. |
Method Summary | |
java.lang.Object |
clone()
Creates and returns a field-for-field copy of this object. |
void |
createViewLink(oracle.jbo.ApplicationModule appMod,
oracle.jbo.ViewObject detail)
Internal: Application should not use this method. |
java.lang.String[] |
getDetailJoinColumns()
Returns the list of the detail RowSetInfo's columns used to construct the join. |
java.lang.String[] |
getMasterJoinColumns()
Returns the list of columns in the master rowset used to construct the join. |
Methods inherited from class oracle.dacf.dataset.MasterLink |
_makeUniqueName, getInstanceName, getMaster, removeViewLink, setInstanceName, setMaster |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DynamicViewLinkInfo()
public DynamicViewLinkInfo(RowSetInfo master, java.lang.String[] srcCols, java.lang.String[] dstCols)
master
- a reference to the RowSetInfo that will serve as the
master rowset.srcCols
- the list of columns in the master rowset that link the
master to this rowset.dstCols
- the list of columns in the rowset that link to the
master rowset.Method Detail |
public java.lang.String[] getMasterJoinColumns()
public java.lang.String[] getDetailJoinColumns()
public void createViewLink(oracle.jbo.ApplicationModule appMod, oracle.jbo.ViewObject detail)
This method is internal to the DAC framework and should be used only by the framework.
Creates the link between the master RowSetInfo and the detail RowSetInfo within the context of the specified ApplicationModule.
createViewLink
in class MasterLink
appMod
- the name of the Application Module that contains the View
Link.detail
- the detail View Object that should be linked to the master
View Link.public java.lang.Object clone()
clone
in class MasterLink
|
Oracle Data-aware Controls Reference | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2003, Oracle. All rights reserved.