ComparisonOperatorService

Name ComparisonOperator
Version
Included Services  
Java Package org.kuali.rice.krms.api.engine.expression

Interface for registering {@link EngineComparatorExtension} for use as a
{@link org.kuali.rice.krms.framework.engine.expression.ComparisonOperator} when comparing
{@link org.kuali.rice.krms.framework.engine.Proposition} {@link Term}s

Operations
Main Message Structures

Method canCoerce
Description Can this StringCoercionExtension coerce the given type and value into an Object?
Parameters String type of Object to coerce to.
String value value to use for coerced type
Return boolean boolean true if this StringCoercionExtension can coerce this type and value
Errors NONE No Errors

Back to Operations

Method coerce
Description Returns an Object of the given type populated with the given value.
Parameters String type to coerce Object to
String value to coerce
Return Object Object of given type with given value
Errors NONE No Errors

Back to Operations

Method getOperators
Description The {@link List} of {@link EngineComparatorExtension}s.
Parameters None None No Parameters
Return EngineComparatorExtensionList List of configured {@link EngineComparatorExtension}s.
Errors NONE No Errors

Back to Operations

Method setOperators
Description List to use.
Parameters EngineComparatorExtensionList operators ???
Return void ???
Errors NONE No Errors

Back to Operations

Method compare
Description Returns the int result of a compare between the lhs and rhs objects.
Parameters Object lhs left hand side object
Object rhs right hand side object
Return int int result of compare between lhs and rhs objects
Errors NONE No Errors

Back to Operations

Method canCompare
Description Does the service have an Extension that can compare the given objects?
Parameters Object leftHandSide left hand side Object
Object rightHandSide right hand side Object
Return boolean boolean true a configured {@link EngineComparatorExtension} can compare the lhs and rhs Objects.
Errors NONE No Errors

Back to Operations

Method findComparatorExtension
Description {@link EngineComparatorExtension} that canCompare the given Objects
Parameters Object leftHandSide left hand side Object
Object rightHandSide right hand side Object
Return EngineComparatorExtension the EngineComparatorExtension that can compare the given Objects.
Errors NONE No Errors

Back to Operations

Method getStringCoercionExtensions
Description ???
Parameters None None No Parameters
Return StringCoercionExtensionList List
Errors NONE No Errors

Back to Operations

Method setStringCoercionExtensions
Description The {@link List} of {@link StringCoercionExtension}s.
Parameters StringCoercionExtensionList stringCoercionExtensions ???
Return void ???
Errors NONE No Errors

Back to Operations

Method findStringCoercionExtension
Description ???
Parameters String type to coerce
String value to coerce
Return StringCoercionExtension {@link StringCoercionExtension} that can coerce the given type and value
Errors NONE No Errors

Back to Operations