org.drools.verifier.components.EnumRestriction Maven / Gradle / Ivy
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