public final class ComparisonOperatorServiceUtils extends Object
| Modifier and Type | Method and Description | 
|---|---|
| static Object | coerceIfNeeded(Object value,
              String expectedType,
              ComparisonOperatorService comparisonOperatorService)checks if the value needs to be coerced from a String to another type, and if so it looks for an
 applicable StringCoercionExtension. | 
public static Object coerceIfNeeded(Object value, String expectedType, ComparisonOperatorService comparisonOperatorService)
checks if the value needs to be coerced from a String to another type, and if so it looks for an applicable StringCoercionExtension.
value - the value of the argument that may or may not need coercionexpectedType - the name of the type that the function is expecting for the argumentcomparisonOperatorService - the ComparisonOperatorService instance to use (if needed) for finding a StringCoercionExtensionCopyright © 2005–2016 The Kuali Foundation. All rights reserved.