org.drools.analytics.components
Class LiteralRestriction
java.lang.Object
org.drools.analytics.components.AnalyticsComponent
org.drools.analytics.components.Restriction
org.drools.analytics.components.LiteralRestriction
- All Implemented Interfaces:
- Cause
public class LiteralRestriction
- extends Restriction
- implements Cause
- Author:
- Toni Rikkola
Nested classes/interfaces inherited from interface org.drools.analytics.result.Cause |
Cause.CauseType |
Methods inherited from class org.drools.analytics.components.Restriction |
getCauseType, getComponentType, getConstraintId, getEvaluator, getFieldId, getPatternId, getRuleId, isPatternIsNot, setConstraintId, setEvaluator, setFieldId, setPatternId, setPatternIsNot, setRuleId |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
LiteralRestriction
public LiteralRestriction()
getRestrictionType
public Restriction.RestrictionType getRestrictionType()
- Specified by:
getRestrictionType
in class Restriction
getValueAsObject
public java.lang.Object getValueAsObject()
getValueAsString
public java.lang.String getValueAsString()
getDoubleValue
public double getDoubleValue()
getIntValue
public int getIntValue()
getValueType
public Field.FieldType getValueType()
getDateValue
public java.util.Date getDateValue()
setValue
public void setValue(java.lang.String value)
isBooleanValue
public boolean isBooleanValue()
setBooleanValue
public void setBooleanValue(boolean booleanValue)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object