|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.ObjectEDataGraphImpl
com.progress.open4gl.ProDataGraph
Maps to either a 4GL DataSet, DataSet-Handle, Temp-Table, or Table-Handle parameter in a Java client. It implements the Java SDO DataGraph interface.
| Constructor Summary | |
ProDataGraph()
|
|
ProDataGraph(DataGraph dg,
java.lang.String dgName,
ProDataRelationMetaData[] dataRelList)
Converts the specified DataGraph object into a ProDataGraph object. |
|
ProDataGraph(ProDataGraph dg)
Creates a copy of the specified ProDataGraph object. |
|
ProDataGraph(ProDataGraphMetaData dgmd)
Creates a ProDataGraph object based on the specified metadata. |
|
| Method Summary | |
void |
acceptChanges()
Clears out the change list in the ProChangeSummary. |
void |
addProDataObject(int index,
ProDataObject dataObj)
Adds ProDataObject instance at specified index in its ProDataObject collection within ProDataGraph. |
void |
addProDataObject(ProDataObject dataObj)
Adds ProDataObject instance to end of its ProDataObject collection within ProDataGraph. |
ProDataObject |
createProDataObject(java.lang.String tableName)
Returns a new ProDataObject |
ProDataGraphMetaData |
getMetaData()
|
int |
getNumTables()
|
ProChangeSummary |
getProChangeSummary()
|
java.lang.String |
getProDataGraphName()
|
java.util.List |
getProDataObjects(int tableIdx)
|
java.util.List |
getProDataObjects(java.lang.String tableName)
|
DataObject |
getRootObject()
|
int |
getTableIndex(java.lang.String tableName)
|
java.lang.String[] |
getTableNames()
|
boolean |
hasError()
|
void |
setChildTableReferences()
Use this to build ProDataGraph object with data relations. |
void |
setChildTableReferences(int parentIx)
Use this to build ProDataGraph object with data relations. |
void |
setChildTableReferences(java.lang.String tableName)
Use this to build ProDataGraph object with data relations. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ProDataGraph()
public ProDataGraph(DataGraph dg,
java.lang.String dgName,
ProDataRelationMetaData[] dataRelList)
throws java.lang.Exception,
ProDataException,
Open4GLException
dg - Input DataGraph objectdgName - Name for newly created ProDataGraphdataRelList - List of parent-child relationships
java.lang.Exception
ProDataException
Open4GLException
public ProDataGraph(ProDataGraph dg)
throws ProDataException,
java.lang.Exception,
Open4GLException
dg - ProDataGraph object to copy
ProDataException
java.lang.Exception
Open4GLException
public ProDataGraph(ProDataGraphMetaData dgmd)
throws ProDataException,
java.lang.Exception
dgmd - metadata used to create ProDataGraph
ProDataException
java.lang.Exception| Method Detail |
public void acceptChanges()
public void addProDataObject(int index,
ProDataObject dataObj)
throws Open4GLException
index - 0-based locationdataObj - ProDataObject to add
Open4GLException
public void addProDataObject(ProDataObject dataObj)
throws Open4GLException
dataObj - ProDataObject to add
Open4GLException
public ProDataObject createProDataObject(java.lang.String tableName)
throws Open4GLException
tableName - Specified table within the ProDataGraph
Open4GLExceptionpublic ProDataGraphMetaData getMetaData()
public int getNumTables()
public ProChangeSummary getProChangeSummary()
public java.lang.String getProDataGraphName()
public java.util.List getProDataObjects(int tableIdx)
throws java.lang.Exception
tableIdx - 0-based table index within ProDataGraph
java.lang.Exception
public java.util.List getProDataObjects(java.lang.String tableName)
throws java.lang.Exception,
Open4GLException
tableName -
java.lang.Exception
Open4GLExceptionpublic DataObject getRootObject()
public int getTableIndex(java.lang.String tableName)
throws Open4GLException
Open4GLException
public java.lang.String[] getTableNames()
throws Open4GLException
Open4GLExceptionpublic boolean hasError()
public void setChildTableReferences()
throws java.lang.Exception
java.lang.Exception
public void setChildTableReferences(int parentIx)
throws Open4GLException,
java.lang.Exception
parentIx - 0-based parent table index
Open4GLException
java.lang.Exception
public void setChildTableReferences(java.lang.String tableName)
throws Open4GLException,
java.lang.Exception
tableName - the parent's table name
Open4GLException
java.lang.Exception
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||