Package 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 java.lang.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
Constructors Constructor Description RelatedData(RowSetData rows, java.lang.String myFieldID, java.lang.String otherFieldID, java.lang.String relationshipID)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getMyFieldID()
java.lang.String
getOtherFieldID()
java.lang.String
getRelationshipID()
RowSetData
getRows()
-
-
-
Constructor Detail
-
RelatedData
public RelatedData(RowSetData rows, java.lang.String myFieldID, java.lang.String otherFieldID, java.lang.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
-
-
Method Detail
-
getRows
public RowSetData getRows()
- Returns:
- The row that need inserting
-
getOtherFieldID
public java.lang.String getOtherFieldID()
- Returns:
- The ID of the field that provides the value
-
getMyFieldID
public java.lang.String getMyFieldID()
- Returns:
- The ID of the field which need the value
-
getRelationshipID
public java.lang.String getRelationshipID()
-
-