All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.etlunit.parser.ETLTestOperandImpl Maven / Gradle / Ivy

package org.etlunit.parser;

public class ETLTestOperandImpl extends ETLTestDebugTraceableImpl implements ETLTestOperand
{
	private final ETLTestValueObject value;

	private final ETLTestOperation operation;

	public ETLTestOperandImpl(ETLTestOperation pOperation, ETLTestValueObject op)
	{
		operation = pOperation;
		value = op;
	}

	public ETLTestOperandImpl(ETLTestOperation pOperation, ETLTestValueObject op, Token t)
	{
		super(t);
		operation = pOperation;
		value = op;
	}

	@Override
	public ETLTestValueObject getValue()
	{
		return value;
	}

	@Override
	public String getOperandAsString()
	{
		return value.getValueAsString();
	}

	@Override
	public ETLTestOperation getOperation()
	{
		return operation;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy