public class GrailsPropertyResolver extends java.lang.Object
Utility class for resolving Grails properties from PersistentClass.
| Type Params | Return Type | Name and description |
|---|---|---|
|
public Property |
getProperty(PersistentClass associatedClass, java.lang.String propertyName)Retrieves a property from a PersistentClass, with a fallback for composite primary keys. |
| 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) |
Retrieves a property from a PersistentClass, with a fallback for composite primary keys.
associatedClass - The PersistentClass to get the property from.propertyName - The name of the property to retrieve.