	public void check(ArrayList remarks, StepMeta stepMeta, Row prev, String input[], String output[], Row info)
	{
		CheckResult cr;
		if (useDatabase)
		{
			Database db = new Database(database);
			try
			{
				db.connect();
				Value last = db.checkSequence(sequenceName);
				if (last!=null)
				{
					cr = new CheckResult(CheckResult.TYPE_RESULT_OK, "Sequence is at value "+last, stepMeta);
				}
				else
				{
					cr = new CheckResult(CheckResult.TYPE_RESULT_ERROR, "Last value of sequence couldn't be found", stepMeta);
				}
			}
			catch(KettleException e)
			{
				cr = new CheckResult(CheckResult.TYPE_RESULT_ERROR, "Unable to connect to database to verify sequence because of an error: "+Const.CR+e.getMessage(), stepMeta);
			}
			finally
			{
				db.disconnect();
			}
			remarks.add(cr);
		}
		if (input.length>0)
		{
			cr = new CheckResult(CheckResult.TYPE_RESULT_OK, "Step is receiving info from other steps.", stepMeta);
			remarks.add(cr);
		}
		else
		{
			cr = new CheckResult(CheckResult.TYPE_RESULT_ERROR, "No input received from other steps!", stepMeta);
			remarks.add(cr);
		}
	}

	public void check(ArrayList remarks, StepMeta stepMeta, Row prev, String input[], String output[], Row info)
	{
		CheckResult cr;
		if (useDatabase)
		{
			Database db = new Database(database);
			try
			{
				db.connect();
				if (db.checkSequenceExists(sequenceName))
				{
					cr = new CheckResult(CheckResult.TYPE_RESULT_OK, "Sequence exits.", stepMeta);
				}
				else
				{
					cr = new CheckResult(CheckResult.TYPE_RESULT_ERROR, "The sequence ["+sequenceName+"] couldn't be found", stepMeta);
				}
			}
			catch(KettleException e)
			{
				cr = new CheckResult(CheckResult.TYPE_RESULT_ERROR, "Unable to connect to database to verify sequence because of an error: "+Const.CR+e.getMessage(), stepMeta);
			}
			finally
			{
				db.disconnect();
			}
			remarks.add(cr);
		}
		if (input.length>0)
		{
			cr = new CheckResult(CheckResult.TYPE_RESULT_OK, "Step is receiving info from other steps.", stepMeta);
			remarks.add(cr);
		}
		else
		{
			cr = new CheckResult(CheckResult.TYPE_RESULT_ERROR, "No input received from other steps!", stepMeta);
			remarks.add(cr);
		}
	}
