|
com.im.df.api 5.9 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.im.df.api.dml.DFInsertDescription.InsertRow
public final class DFInsertDescription.InsertRow
Description of the row to be inserted. Contains data of the row and connection(s) to other rows. The connections are established in both directions.
Other entity's data can be connected either as:
| Method Summary | |
|---|---|
void |
connectRow(DFRelationship.Direction dir,
DFInsertDescription.InsertRow otherRow)
Connects this row to an already existing row ID in another entity. |
void |
connectRow(DFRelationship.Direction dir,
Object rowID)
Connects this row to an already existing row ID in another entity. |
Map<DFRelationship.Direction,Object> |
getConnectedRows()
Returns connections to existing entity rows |
DFInsertDescription |
getInsertion()
|
Map<DFRelationship.Direction,Set<DFInsertDescription.InsertRow>> |
getRelatedRows()
|
Object |
getRowID()
The RowID is set after the insertion takes place. |
DFUpdateInfo |
getUpdateInfo()
|
Map<String,Object> |
getValues()
|
boolean |
isInserted()
|
void |
setRowID(Object rowID)
Sets this insertion's row ID. |
void |
setUpdateInfo(DFUpdateInfo updateInfo)
Sets the UpdateInfo after the row is inserted. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public Object getRowID()
DFSchemaDataProvider.insert(com.im.df.api.dml.DFInsertDescription, com.im.commons.progress.DFEnvironmentRO) completes as a result value.
public void setRowID(Object rowID)
public DFUpdateInfo getUpdateInfo()
public void setUpdateInfo(DFUpdateInfo updateInfo)
updateInfo - The update info.public Map<String,Object> getValues()
public DFInsertDescription getInsertion()
public void connectRow(DFRelationship.Direction dir,
Object rowID)
DFInsertDescription.getTargetEntity() to the
other entity/row.
dir - The r elation going from DFInsertDescription.getTargetEntity()rowID - ID of the related row
public void connectRow(DFRelationship.Direction dir,
DFInsertDescription.InsertRow otherRow)
DFInsertDescription.getTargetEntity() to the
other entity/row.
dir - The r elation going from DFInsertDescription.getTargetEntity()otherRow - The other rowpublic Map<DFRelationship.Direction,Object> getConnectedRows()
public Map<DFRelationship.Direction,Set<DFInsertDescription.InsertRow>> getRelatedRows()
public String toString()
toString in class Objectpublic boolean isInserted()
|
com.im.df.api 5.9 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||