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

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

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

public class EnumRestriction extends Restriction {

	private int enumBaseId;
	private String enumBase;
	private String enumName;

	@Override
	public RestrictionType getRestrictionType() {
		return RestrictionType.ENUM;
	}

	public int getEnumBaseId() {
		return enumBaseId;
	}

	public void setEnumBaseId(int enumBaseId) {
		this.enumBaseId = enumBaseId;
	}

	public String getEnumBase() {
		return enumBase;
	}

	public void setEnumBase(String enumBase) {
		this.enumBase = enumBase;
	}

	public String getEnumName() {
		return enumName;
	}

	public void setEnumName(String enumName) {
		this.enumName = enumName;
	}

	@Override
	public String toString() {
		return "QualifiedIdentifierRestrictionDescr enum: " + enumBase + "."
				+ enumName;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy