public final class PropertyAccessorFactory extends Object
| Modifier and Type | Method and Description |
|---|---|
static PropertyAccessor |
getDynamicMapPropertyAccessor() |
static PropertyAccessor |
getPropertyAccessor(AttributeBinding property,
EntityMode mode)
Retrieves a PropertyAccessor instance based on the given property definition and
entity mode.
|
static PropertyAccessor |
getPropertyAccessor(Class optionalClass,
String type) |
static PropertyAccessor |
getPropertyAccessor(Property property,
EntityMode mode)
Retrieves a PropertyAccessor instance based on the given property definition and
entity mode.
|
static PropertyAccessor |
getPropertyAccessor(String type) |
public static PropertyAccessor getPropertyAccessor(Property property, EntityMode mode) throws MappingException
property - The property for which to retrieve an accessor.mode - The mode for the resulting entity.MappingExceptionpublic static PropertyAccessor getPropertyAccessor(AttributeBinding property, EntityMode mode) throws MappingException
property - The property for which to retrieve an accessor.mode - The mode for the resulting entity.MappingExceptionpublic static PropertyAccessor getDynamicMapPropertyAccessor() throws MappingException
MappingExceptionpublic static PropertyAccessor getPropertyAccessor(Class optionalClass, String type) throws MappingException
MappingExceptionpublic static PropertyAccessor getPropertyAccessor(String type) throws MappingException
MappingExceptionCopyright © 2001-2015 Red Hat, Inc. All Rights Reserved.