Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
ExpressionFunctions |
|
| 1.0;1 |
1 | package org.kuali.rice.kns.uif.util; | |
2 | ||
3 | /** | |
4 | * Defines functions that can be used in el expressions within | |
5 | * the UIF dictionary files | |
6 | * | |
7 | * @author Kuali Rice Team (rice.collab@kuali.org) | |
8 | */ | |
9 | 0 | public class ExpressionFunctions { |
10 | ||
11 | /** | |
12 | * Checks whether the given class parameter is assignable from the given object class | |
13 | * parameter | |
14 | * | |
15 | * @param assignableClass - class to use for assignable to | |
16 | * @param objectClass - class to use for assignable from | |
17 | * @return boolean true if the object class is of type assignable class, false if not | |
18 | */ | |
19 | public static boolean isAssignableFrom(Class<?> assignableClass, Class<?> objectClass) { | |
20 | 0 | return assignableClass.isAssignableFrom(objectClass); |
21 | } | |
22 | } |