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

org.drools.verifier.components.VariableRestriction Maven / Gradle / Ivy

There is a newer version: 9.44.0.Final
Show newest version
package org.drools.verifier.components;

import org.drools.verifier.report.components.Cause;

/**
 * 
 * @author Toni Rikkola
 */
public class VariableRestriction extends Restriction implements Cause {

	protected Variable variable;

	public Variable getVariable() {
		return variable;
	}

	public void setVariable(Variable variable) {
		this.variable = variable;
	}

	public RestrictionType getRestrictionType() {
		return Restriction.RestrictionType.VARIABLE;
	}

	@Override
	public String toString() {
		return "VariableRestriction from rule '" + ruleName + "' variable '"
				+ variable + "'";
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy