com.im.df.api 5.9

com.im.df.api.support
Class RowSetData.RelatedData

java.lang.Object
  extended by com.im.df.api.support.RowSetData.RelatedData
Enclosing class:
RowSetData

public static class RowSetData.RelatedData
extends Object

Data whose insertion has a dependency on some other data, either needing to be inserted prior to or subsequent to the data. Typically the pkFieldID will identify the field whose value is needed to insert these rows, and the value for this field will be set for the fkFieldID for all rows of this data. The referred field does not have to be primary key from that table but usually is.


Constructor Summary
RowSetData.RelatedData(RowSetData rows, String myFieldID, String otherFieldID, String relationshipID)
           
 
Method Summary
 String getMyFieldID()
           
 String getOtherFieldID()
           
 String getRelationshipID()
           
 RowSetData getRows()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RowSetData.RelatedData

public RowSetData.RelatedData(RowSetData rows,
                              String myFieldID,
                              String otherFieldID,
                              String relationshipID)
Parameters:
rows - The set or rows
myFieldID - The ID of the field which need the value
otherFieldID - The ID of the field that provides the value
Method Detail

getRows

public RowSetData getRows()
Returns:
The row that need inserting

getOtherFieldID

public String getOtherFieldID()
Returns:
The ID of the field that provides the value

getMyFieldID

public String getMyFieldID()
Returns:
The ID of the field which need the value

getRelationshipID

public String getRelationshipID()

com.im.df.api 5.9