public enum CriteriaMethods extends java.lang.Enum
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.Enum |
java.lang.Enum#compareTo(java.lang.Enum), java.lang.Enum#compareTo(java.lang.Object), java.lang.Enum#describeConstable(), java.lang.Enum#equals(java.lang.Object), java.lang.Enum#getClass(), java.lang.Enum#getDeclaringClass(), java.lang.Enum#hashCode(), java.lang.Enum#name(), java.lang.Enum#notify(), java.lang.Enum#notifyAll(), java.lang.Enum#ordinal(), java.lang.Enum#toString(), java.lang.Enum#valueOf(java.lang.Class, java.lang.String), java.lang.Enum#wait(), java.lang.Enum#wait(long), java.lang.Enum#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