com.im.df.api.support
Class RowSetData.RelatedData
java.lang.Object
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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RowSetData.RelatedData
public RowSetData.RelatedData(RowSetData rows,
String myFieldID,
String otherFieldID,
String relationshipID)
- Parameters:
rows - The set or rowsmyFieldID - The ID of the field which need the valueotherFieldID - The ID of the field that provides the value
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()