public enum CriteriaMethods
Enum representing the supported methods in HibernateCriteriaBuilder.
| Type Params | Return Type | Name and description |
|---|---|---|
|
public static CriteriaMethods |
fromName(java.lang.String name, java.lang.Class<?> targetClass, java.lang.Object args)Factory method to convert a string method name to a CriteriaMethods enum. |
|
public static CriteriaMethods |
fromName(java.lang.String name)Internal factory method to convert a string method name to a CriteriaMethods enum without throwing an exception. |
|
public java.lang.String |
getName() |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#equals(java.lang.Object), java.lang.Object#getClass(), java.lang.Object#hashCode(), java.lang.Object#notify(), java.lang.Object#notifyAll(), java.lang.Object#toString(), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int) |
Factory method to convert a string method name to a CriteriaMethods enum.
name - The method nametargetClass - The class where the method was invoked (for exception reporting)args - The arguments passed to the method (for exception reporting)Internal factory method to convert a string method name to a CriteriaMethods enum without throwing an exception. Useful for logic that checks if a method is a known criteria method before deciding how to handle it.
name - The method name