mirror of
https://github.com/Kingsrook/qqq.git
synced 2025-07-18 05:01:07 +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()
|
||||
.withVersion(version)
|
||||
.withFieldList(fieldList)
|
||||
.withHasHeaderRow(hasHeaderRow)
|
||||
.withLayout(layout);
|
||||
|
@ -33,8 +33,10 @@ import java.util.ArrayList;
|
||||
public class BulkLoadProfile implements Serializable
|
||||
{
|
||||
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
|
||||
*******************************************************************************/
|
||||
@ -110,6 +111,7 @@ public class BulkLoadProfile implements Serializable
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** 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