org.etlunit.feature.database.AssertOperation Maven / Gradle / Ivy
package org.etlunit.feature.database;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.util.HashMap;
public class AssertOperation
{
public static final String CONNECTIONID_JSON_NAME = "connection-id";
private String connectionId;
public String getConnectionId()
{
return connectionId;
}
public static final String SOURCETABLE_JSON_NAME = "source-table";
private String sourceTable;
public String getSourceTable()
{
return sourceTable;
}
public static final String DATAFILEROWDELIMITER_JSON_NAME = "data-file-row-delimiter";
private String dataFileRowDelimiter;
public String getDataFileRowDelimiter()
{
return dataFileRowDelimiter;
}
public static final String DATAFILENULLDELIMITER_JSON_NAME = "data-file-null-delimiter";
private String dataFileNullDelimiter;
public String getDataFileNullDelimiter()
{
return dataFileNullDelimiter;
}
public static final String REFERENCEFILETYPE_JSON_NAME = "reference-file-type";
private String referenceFileType;
public String getReferenceFileType()
{
return referenceFileType;
}
public static final String SOURCESCHEMA_JSON_NAME = "source-schema";
private String sourceSchema;
public String getSourceSchema()
{
return sourceSchema;
}
public static final String DEFAULTCONNECTIONID_JSON_NAME = "default-connection-id";
private String defaultConnectionId;
public String getDefaultConnectionId()
{
return defaultConnectionId;
}
public static final String COLUMNLIST_JSON_NAME = "column-list";
private List columnList;
public List getColumnList()
{
return columnList;
}
public static final String MODE_JSON_NAME = "mode";
private String mode;
public String getMode()
{
return mode;
}
public enum columnListMode_enum
{
include,
exclude
}
public static final String COLUMNLISTMODE_JSON_NAME = "column-list-mode";
private columnListMode_enum columnListMode;
public columnListMode_enum getColumnListMode()
{
return columnListMode;
}
public static final String SQLSCRIPT_JSON_NAME = "sql-script";
private String sqlScript;
public String getSqlScript()
{
return sqlScript;
}
public static final String DEFAULTIMPLEMENTATIONID_JSON_NAME = "default-implementation-id";
private String defaultImplementationId;
public String getDefaultImplementationId()
{
return defaultImplementationId;
}
public static final String FAILUREID_JSON_NAME = "failure-id";
private String failureId;
public String getFailureId()
{
return failureId;
}
public static final String SQL_JSON_NAME = "sql";
private String sql;
public String getSql()
{
return sql;
}
public enum assertionMode_enum
{
equals,
empty,
notEmpty
}
public static final String ASSERTIONMODE_JSON_NAME = "assertion-mode";
private assertionMode_enum assertionMode;
public assertionMode_enum getAssertionMode()
{
return assertionMode;
}
public static final String TARGET_JSON_NAME = "target";
private String target;
public String getTarget()
{
return target;
}
public static final String DATAFILECOLUMNDELIMITER_JSON_NAME = "data-file-column-delimiter";
private String dataFileColumnDelimiter;
public String getDataFileColumnDelimiter()
{
return dataFileColumnDelimiter;
}
public static final String TARGETFILE_JSON_NAME = "target-file";
private String targetFile;
public String getTargetFile()
{
return targetFile;
}
public static final String DATABASEDEFINITIONS_JSON_NAME = "database-definitions";
private Map databaseDefinitions;
public Map getDatabaseDefinitions()
{
return databaseDefinitions;
}
}