mirror of
https://github.com/Kingsrook/qqq.git
synced 2025-07-18 13:10:44 +00:00
CE-1955 Add version field to the built BulkLoadProfile
This commit is contained in:
@ -125,6 +125,7 @@ public class BulkInsertStepUtils
|
|||||||
}
|
}
|
||||||
|
|
||||||
BulkLoadProfile bulkLoadProfile = new BulkLoadProfile()
|
BulkLoadProfile bulkLoadProfile = new BulkLoadProfile()
|
||||||
|
.withVersion(version)
|
||||||
.withFieldList(fieldList)
|
.withFieldList(fieldList)
|
||||||
.withHasHeaderRow(hasHeaderRow)
|
.withHasHeaderRow(hasHeaderRow)
|
||||||
.withLayout(layout);
|
.withLayout(layout);
|
||||||
|
@ -33,8 +33,10 @@ import java.util.ArrayList;
|
|||||||
public class BulkLoadProfile implements Serializable
|
public class BulkLoadProfile implements Serializable
|
||||||
{
|
{
|
||||||
private ArrayList<BulkLoadProfileField> fieldList;
|
private ArrayList<BulkLoadProfileField> fieldList;
|
||||||
private Boolean hasHeaderRow;
|
|
||||||
private String layout;
|
private Boolean hasHeaderRow;
|
||||||
|
private String layout;
|
||||||
|
private String version;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -48,7 +50,6 @@ public class BulkLoadProfile implements Serializable
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
** Getter for hasHeaderRow
|
** Getter for hasHeaderRow
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
@ -110,6 +111,7 @@ public class BulkLoadProfile implements Serializable
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
** Setter for fieldList
|
** Setter for fieldList
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
@ -130,4 +132,34 @@ public class BulkLoadProfile implements Serializable
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************************************************************
|
||||||
|
** Getter for version
|
||||||
|
*******************************************************************************/
|
||||||
|
public String getVersion()
|
||||||
|
{
|
||||||
|
return (this.version);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************************************************************
|
||||||
|
** Setter for version
|
||||||
|
*******************************************************************************/
|
||||||
|
public void setVersion(String version)
|
||||||
|
{
|
||||||
|
this.version = version;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************************************************************
|
||||||
|
** Fluent setter for version
|
||||||
|
*******************************************************************************/
|
||||||
|
public BulkLoadProfile withVersion(String version)
|
||||||
|
{
|
||||||
|
this.version = version;
|
||||||
|
return (this);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user